There are reasons I’m still using Emacs after 40 years. After all that time, I still discover things on a daily basis that make me exclaim “Oh, that’s cool”. It’s useful. If’s fun. It is an end as well as a means.
Github has buil-in rendering for basic org mode text. Like this file.
[2020-08-14 Fri 07:13] In Xah fly mode “SPC i l” calls xah-new-empty-buffer. coo.
[2020-08-14 Fri 07:25] Capture Templates So, org-capture “note” template allows me to capture notes/journals/tweets. My config has:
(setq org-capture-templates (quote (... ("n" "note" entry (file "~/Org/refile.org") "* %? :NOTE:\n%U\n%a\n")
I commented out the old entry because I don’t use clocking for time tracking
[2020-08-16 Sun 08:17] In org mode, you can add notes to a TODO item when it transitions to the DONE (or other) states.
Just define org-todo-keywords as follows (here being after the “|” means it is a “done” (red) state, the “d” means to use “d” as the shortcut key and “@”) means to add a note with a timestamp. “!” means “add a timestamp”. ”” means allows separate actions for transitions into the state (left of ””) and out of the state “/”
(setq org-todo-keywords '((sequence "TODO(t)" "IN-PROGRESS(i!)" "WAITING(w@/!)" "|" "DONE(d@)" "REFILED(r!)" "DELEGATED(g@)" "CANCELED(c@)" "OBE(o@)")))
[2020-08-19 Wed 07:14] I use helm for emacs command auotocompletion (M-x foo..). I kept typing “ms” to get my “magit-status” but instead kept getting “gnus-ms-mail”. It turns out helm maintains an LRU stack of commands used that match the substring typed (e.g. “ms”). You can use the arrow keys to pick one that is not on top of the stack. Then it will be on top of the stack next time and you can just type, e.g. “ms”. Cool !
[2020-08-22 Sat 08:26] Not sure if this is new behavior or not, but hitting RETURN on top of a URL in an .org file now opens the URL in the default browser. Of source, M-x eww still opens it in eww for the text-only view of the world.....