Add food to the announcements

This commit is contained in:
Correl Roush 2015-06-12 16:29:33 -04:00 committed by Correl Roush
parent ff51710879
commit d3505dad70

View file

@ -31,7 +31,11 @@
"#+LATEX: \\small\\color{trek@midblue}" "#+LATEX: \\small\\color{trek@midblue}"
"#+BEGIN_CENTER" "#+BEGIN_CENTER"
"pragprog.com/book/btlang\\\\" "pragprog.com/book/btlang\\\\"
"COUPON CODE: ExtremeTech7" "COUPON CODE: ExtremeTech7\\\\"
"#+END_CENTER"
"#+LATEX: \\footnotesize\\color{trek@darkpurple}"
"#+BEGIN_CENTER"
"FOOD WILL BE PROVIDED"
"#+END_CENTER") "#+END_CENTER")
"\n"))) "\n")))
#+end_src #+end_src
@ -54,6 +58,19 @@ SCHEDULED: <2015-06-24 Wed 18:00-20:00>
(xts-announcement "Franklin Training Room" (xts-announcement "Franklin Training Room"
"The logic programming language, \"Prolog\"") "The logic programming language, \"Prolog\"")
#+end_src #+end_src
#+begin_src emacs-lisp :results code
(let ((scheduled (concat "<" (org-entry-get (point) "SCHEDULED") ">")))
(string-match org-ts-regexp1 scheduled)
(match-string 20 scheduled)
(s-match-strings-all org-ts-regexp1 scheduled)
;;(org-parse-time-string (match-string 2))
)
#+end_src
#+RESULTS:
#+BEGIN_SRC emacs-lisp
(("2015-06-24 Wed 18:00" "2015-06-24 Wed 18:00" "2015" "06" "24" "Wed" " 18:00" "18" "00"))
#+END_SRC
* Scala * Scala
SCHEDULED: <2015-07-08 Wed 18:00-20:00> SCHEDULED: <2015-07-08 Wed 18:00-20:00>
#+begin_src emacs-lisp :exports results :results raw #+begin_src emacs-lisp :exports results :results raw