From fd507da44a491bfdc8d87139c4c366a3f1f1b83b Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Thu, 24 Nov 2022 10:31:45 -0500 Subject: add title to schedule --- emacsconf-pad.el | 55 +++++++++++++++++++++++++++++++++---------------------- 1 file changed, 33 insertions(+), 22 deletions(-) (limited to 'emacsconf-pad.el') diff --git a/emacsconf-pad.el b/emacsconf-pad.el index afd734b..5f53d7f 100644 --- a/emacsconf-pad.el +++ b/emacsconf-pad.el @@ -323,14 +323,17 @@ ${next-talk-list} (let* ((prefixed (list :start (plist-get shift :start) :end (plist-get shift :end) + :base-url emacsconf-base-url :year emacsconf-year - :host (emacsconf-surround "HOST-" (plist-get shift :host) "" "HOST") - :stream (emacsconf-surround "STREAM-" (plist-get shift :streamer) "" "STREAM") - :irc-volunteer (emacsconf-surround "IRC-" (plist-get shift :irc) "" "IRC") + :host (format "%s" + (emacsconf-surround "HOST-" (plist-get shift :host) "" "HOST")) + :stream (format "%s" + (emacsconf-surround "STREAM-" (plist-get shift :streamer) "" "STREAM")) + :irc-volunteer (format "%s" (emacsconf-surround "IRC-" (plist-get shift :irc) "" "IRC")) :track-id (plist-get (emacsconf-get-track (plist-get shift :track)) :id) - :checkin (emacsconf-surround "CHECKIN-" (plist-get shift :checkin) "" "CHECKIN") - :pad (emacsconf-surround "PAD-" (plist-get shift :pad) "" "PAD") - :coord (emacsconf-surround "COORD-" (plist-get shift :coord) "" "COORD") + :checkin (format "%s" (emacsconf-surround "CHECKIN-" (plist-get shift :checkin) "" "CHECKIN")) + :pad (format "%s" (emacsconf-surround "PAD-" (plist-get shift :pad) "" "PAD")) + :coord (format "%s" (emacsconf-surround "COORD-" (plist-get shift :coord) "" "COORD")) :checkin-pad (concat emacsconf-pad-base "checkin-" (downcase (format-time-string "%a" (date-to-time (plist-get shift :start))))))) (shift-talks (mapcar (lambda (o) (append prefixed o)) @@ -352,12 +355,14 @@ ${next-talk-list} prefixed (concat " +

Ctrl-5 is the shortcut for striking through on Etherpad.

+ Setup " "Teardown ")) ))) @@ -405,11 +416,11 @@ ${next-talk-list} talk) (pcase (or (plist-get talk :q-and-a) "") ((rx "live") - "
  • [ ] ${time} ${checkin}: ${speakers} should be checked into ${bbb-backstage} and set as moderator(s) for talk time of ${start}
  • ") + "
  • [ ] ${time} ${checkin}: ${speakers} should be checked into ${bbb-backstage} and set as moderator(s) for talk time of ${start}
  • ") ((rx "IRC") - "
  • [ ] ${time} ${checkin}: ${speakers} should be in #${channel} (${irc-nick}) for talk time of ${start}
  • ") + "
  • [ ] ${time} ${checkin}: ${speakers} should be in #${channel} (${irc-nick}) for talk time of ${start}
  • ") ((rx "Mumble") - "
  • [ ] ${time} ${checkin}: ${speakers} should be Mumble for talk time of ${start}
  • ") + "
  • [ ] ${time} ${checkin}: ${speakers} should be Mumble for talk time of ${start}
  • ") (_ "")))) (defun emacsconf-pad-prepopulate-checkins (&optional info) -- cgit v1.2.3