Re: [O] Adding Easy Templates

2012-05-23 Thread Daniel E . Doherty
Gentlemen: For the record, I combined Carsten and Nick's suggestion, so here is what I now have in my init file, and it works: #+begin_src emacs-lisp (eval-after-load 'org '(progn (add-to-list 'org-structure-template-alist '("m" "#+begin_src emacs-lisp\n?\n#+end_sr

Re: [O] Adding Easy Templates

2012-05-23 Thread Carsten Dominik
On May 23, 2012, at 3:28 PM, Carsten Dominik wrote: > Hi Daniel, > > you need to quote the entire form, i.e. the progn; > > (eval-after-load 'org > '(progn > (add-to-list 'org-structure-template-alist > '("m" "#+begin_src emacs-lisp\n?\n#+end_src")) > (add-to-list 'or

Re: [O] Adding Easy Templates

2012-05-23 Thread Nick Dokos
Daniel E. Doherty wrote: > I have also tried this: > = > (eval-after-load 'org > (progn > (add-to-list 'org-structure-template-alist >'("m" "#+begin_src emacs-lisp\n?\n#+end_src")) > (add-to-list 'org-structure-template-alist >

Re: [O] Adding Easy Templates

2012-05-23 Thread Carsten Dominik
Hi Daniel, you need to quote the entire form, i.e. the progn; (eval-after-load 'org '(progn (add-to-list 'org-structure-template-alist '("m" "#+begin_src emacs-lisp\n?\n#+end_src")) (add-to-list 'org-structure-template-alist '("j" "#+begin_quote\

[O] Adding Easy Templates

2012-05-23 Thread Daniel E . Doherty
All, I really like the Easy Template facility, and would like to add some of my own. However, I am having trouble with the elisp syntax. I would like to add a couple in my init file, but am having no luck. Here is what I have now: = (eval-after-load 'org (progn