diff options
author | Leo Vivier <zaeph@zaeph.net> | 2022-09-24 22:54:16 +0200 |
---|---|---|
committer | Leo Vivier <zaeph@zaeph.net> | 2022-09-24 22:54:16 +0200 |
commit | 0481fac64a261738031e6b38254c62effc803e5d (patch) | |
tree | 51ae982fb43d92c4635e3bc5d77057d2d82293a5 /2022/organizers-notebook.org | |
parent | e21278712fddcb9ad6d714ee0a8630db3fa5561b (diff) | |
download | emacsconf-wiki-0481fac64a261738031e6b38254c62effc803e5d.tar.xz emacsconf-wiki-0481fac64a261738031e6b38254c62effc803e5d.zip |
Add kmacro for extracting comments from pad
Diffstat (limited to '2022/organizers-notebook.org')
-rw-r--r-- | 2022/organizers-notebook.org | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/2022/organizers-notebook.org b/2022/organizers-notebook.org index 967e7e3e..788d5829 100644 --- a/2022/organizers-notebook.org +++ b/2022/organizers-notebook.org @@ -1884,6 +1884,25 @@ Meant to be used with `after-save-hook'." (unless (memq #'emacsconf-export-md-on-save after-save-hook) (message "Hook is no longer active")) #+end_src +** Process review comments from pad +1. ~curl https://etherpad.wikimedia.org/p/[REDACTED]/export/html~ +2. Open curl’d html into browser +3. Copy just the text from the page (i.e. not the html) +4. Paste in Emacs buffer + +Inside emacs: +1. C-s Comments for +2. C-M-s ^[a-z0-9] +3. M-< +4. C-x 3 +5. C-x b comments.org (new buffer) +6. C-x o +7. Run following kmacro (eval then M-x pad-comments, then C-x e until completion) +#+begin_src emacs-lisp +(defalias 'emacsconf-pad-comments + (kmacro "C-s C-s <return> C-a C-SPC C-n C-M-s M-p <return> <return> C-b M-w s-k C-y s-j")) +#+end_src + * Lessons learned :PROPERTIES: :CUSTOM_ID: lessons |