From 0481fac64a261738031e6b38254c62effc803e5d Mon Sep 17 00:00:00 2001 From: Leo Vivier Date: Sat, 24 Sep 2022 22:54:16 +0200 Subject: Add kmacro for extracting comments from pad --- 2022/organizers-notebook.md | 29 +++++++++++++++++++++++++---- 2022/organizers-notebook.org | 19 +++++++++++++++++++ 2 files changed, 44 insertions(+), 4 deletions(-) (limited to '2022') diff --git a/2022/organizers-notebook.md b/2022/organizers-notebook.md index acd71b75..dd51e683 100644 --- a/2022/organizers-notebook.md +++ b/2022/organizers-notebook.md @@ -104,7 +104,7 @@ Planned dates and phases: Current phase: No prerecs to process yet, so it's a good time to focus on infrastructure -## TODO Review the submissions in the pad (see emacsconf-org-private or conf.org for the link) and add any objections or comments by Sept 26 for possible [early speaker notification](#org19f7b3a), Oct 7 for everything :organizers: +## TODO Review the submissions in the pad (see emacsconf-org-private or conf.org for the link) and add any objections or comments by Sept 26 for possible [early speaker notification](#org9611788), Oct 7 for everything :organizers: - zaeph: will start reviewing on Sep 21 @@ -529,7 +529,7 @@ We tried using q56 before, but it was a little too aggressive. Q=32 is the defau ### Test stream setup -[Stream](#org809fc19) +[Stream](#org7797048) ### Set up MPV for captions @@ -846,7 +846,7 @@ Exceptions: ### Send thanks -[Thank you, next steps](#org98e8339) +[Thank you, next steps](#org5f7fa1b) ### Extract the opening and closing remarks @@ -997,7 +997,7 @@ Probably focus on grabbing the audio first and seeing what's worth keeping Make a table of the form - +
@@ -1965,6 +1965,27 @@ chatter in the other lists Cc'd on this message. Thank you. (message "Hook is no longer active")) +## 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) + + (defalias 'emacsconf-pad-comments + (kmacro "C-s C-s C-a C-SPC C-n C-M-s M-p C-b M-w s-k C-y s-j")) + + # Lessons learned 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 C-a C-SPC C-n C-M-s M-p C-b M-w s-k C-y s-j")) +#+end_src + * Lessons learned :PROPERTIES: :CUSTOM_ID: lessons -- cgit v1.2.3