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 | |
parent | e21278712fddcb9ad6d714ee0a8630db3fa5561b (diff) | |
download | emacsconf-wiki-0481fac64a261738031e6b38254c62effc803e5d.tar.xz emacsconf-wiki-0481fac64a261738031e6b38254c62effc803e5d.zip |
Add kmacro for extracting comments from pad
Diffstat (limited to '2022')
-rw-r--r-- | 2022/organizers-notebook.md | 29 | ||||
-rw-r--r-- | 2022/organizers-notebook.org | 19 |
2 files changed, 44 insertions, 4 deletions
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 -<table id="org01017fe" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides"> +<table id="org1ffe9e3" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides"> <colgroup> @@ -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 <return> C-a C-SPC C-n C-M-s M-p <return> <return> C-b M-w s-k C-y s-j")) + + <a id="lessons"></a> # 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 <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 |