Hacker News new | ask | show | jobs
by jolmg 2811 days ago
> For my log I use Evernote because the log needs to have one characteristic: No save, No filenames, Nothing more than typing something.

I got emacs configured with a keybinding to open org files by date name (e.g. 2018-10-08.org), with the current date selected by default, creating them if they don't exist. I use `(org-read-date)` so I can, for example, get yesterday's notes with syntax like "-1d" or select it from a 3 month calendar. It frees me from having to think of a name for the notes I want to take and simply make a log of notes. It also autosaves.

    (defun find-diary-file ()
      (interactive)
      (find-file (concat "~/org/diary/" (org-read-date) ".org")))

    (global-set-key (kbd "C-c d") 'find-diary-file)