;; Here's a command to insert a new log entry in the format I made up (defun start-new-log-entry () "Insert a row of hash marks and then the date in swain format" (interactive) (goto-char (point-max)) (insert "\n\n\n#########################################################################\n") (insert (format-time-string "%y%m%d\n\n" (current-time))))