diff options
Diffstat (limited to '')
-rw-r--r-- | 2022/organizers-notebook.org | 51 |
1 files changed, 46 insertions, 5 deletions
diff --git a/2022/organizers-notebook.org b/2022/organizers-notebook.org index 2213648e..84726b01 100644 --- a/2022/organizers-notebook.org +++ b/2022/organizers-notebook.org @@ -8,11 +8,46 @@ #+TOC: headlines 4 -* COMMENT How to export this file :noexport: +* How to export this file :noexport: +You can open these links (~C-c C-o~) to run their associated actions: - [[elisp:(progn (org-md-export-to-markdown) (org-babel-tangle))][Export and tangle]] - [[elisp:(emacsconf-org-publish-this-page)][Export, tangle, commit, push]] - [[elisp:(org-babel-execute-buffer)][Execute buffer]] +- [[elisp:(org-babel-ref-resolve "md-export-on-save-toggle-on()")][Export on save]] +- [[elisp:(org-babel-ref-resolve "md-export-on-save-toggle-off()")][Stop exporting on save]] + +** Code +#+name: md-export-on-save-setup +#+begin_src emacs-lisp :eval query +(defun emacsconf-export-md-on-save () + "Export markdown on save. +Meant to be used with `after-save-hook'." + (org-md-export-to-markdown) + (org-babel-tangle)) + +(defvar emacsconf-export-md-on-save-configured t + "Non-nil when the setup code-block has been executed.") +#+end_src + +#+name: md-export-on-save-toggle-on +#+BEGIN_SRC emacs-lisp :eval query +(unless (bound-and-true-p emacsconf-export-md-on-save-configured) + (org-babel-ref-resolve "md-export-on-save-setup()")) + +(add-hook 'after-save-hook #'emacsconf-export-md-on-save nil t) + +(when (memq #'emacsconf-export-md-on-save after-save-hook) + (message "Hook is active")) +#+END_SRC + +#+name: md-export-on-save-toggle-off +#+begin_src emacs-lisp :eval query :outputs none +(remove-hook 'after-save-hook #'emacsconf-export-md-on-save t) + +(unless (memq #'emacsconf-export-md-on-save after-save-hook) + (message "Hook is no longer active")) +#+end_src * Current tasks / status Planned dates and phases: @@ -59,7 +94,7 @@ DEADLINE: <2022-11-20 Sun> ** TODO corwn, zaeph: Work on the OBS scenes :zaeph:corwin: DEADLINE: <2022-11-11 Fri> - [ ] corwin is out from Nov 11-20, and we should start working on them before then. -** TODO ???: Figure out web-based file upload :needsowner: +** TODO ???: Figure out web-based file upload :needsowner: Lesson learned from last year: "Since people kept running into ftp problems, we might want to set up a web-frontend next year to minimise problems." Maybe we could ask some of the volunteers who wanted to help us with the infra? It shouldn’t be complicated to deploy a ready-made solution. ** DONE sacha: Prepare to export talk information to wiki :sacha: @@ -69,6 +104,8 @@ DEADLINE: <2022-10-15 Sat> Tested code in a fork, can publish talk information once talks are approved. ** DONE zaeph: Give access to emacsconf-2022-private to dto :zaeph: CLOSED: [2022-09-21 Wed 01:17] +** TODO dto: create Org heading for scheduling caption team's live IRC duty shifts :dto: +DEADLINE: <2022-09-30 Fri> * Other tasks and processes ** DONE Sacha: Organize volunteer information :sacha: @@ -273,7 +310,7 @@ Each role comprises different responsibilities. A person may have multiple role - #emacsconf-org and #emacsconf channels - (?) Join organizer room S -**** Start streaming :stream: +**** Start streaming :stream: :PROPERTIES: :CUSTOM_ID: start-streaming :END: @@ -534,7 +571,7 @@ Exceptions: - Update Toobnix and Youtube captions with =conf-video-share=. - Update Toobnix and Youtube descriptions with chapters. - Update ${conf-year}/${captions}/${slug}.md in the wiki. To make this from scratch, use =M-x conf-prepare-transcript-directives= from the talk heading in the conference Org file. -*** BLOCKED Downsize the server :bandali: +*** BLOCKED Downsize the server :bandali: ** In case of :PROPERTIES: :CUSTOM_ID: exceptions @@ -624,7 +661,7 @@ Exceptions: command to be the audio monitor, so you get system output as well. - OR: - - [? splitting audio] [[#sound][Set up sinks for sound]] + - [? splitting audio] (look for “Set up sinks for sound” under 2021/) - [? same audio] - Set up audio monitor as the input for FFMPEG - MPV goes to MPV sink, browser goes to recording sink, FFMPEG takes in recording monitor @@ -1366,3 +1403,7 @@ chatter in the other lists Cc'd on this message. Thank you. A copy of these two licenses is available on the EmacsConf wiki, in the [[https://emacsconf.org/COPYING.CC-BY-SA][COPYING.CC-BY-SA]] and [[https://emacsconf.org/COPYING.GPL][COPYING.GPL]] files. + +* COMMENT Local variables +# local variables: +# |