Leo Alekseyev <dnqu...@gmail.com> writes: >> A long time ago all capitals was the only way these keywords were >> supported. Since then they have become case insensitive and I use all >> lowercase for most of my keywords now (#+begin_src:, #+begin_example: >> etc) >> >> With fontification these stand out enough now and the capitalization can >> be removed. > > So I'm kind of late to this party, but like Bernt, I've been favoring > lowercase #+ keywords; I believe it looks cleaner and easier on the > eyes. However, if functions that autogenerate keywords (e.g. > #+results from code blocks and easy templates) default to a particular > case, forcing a different case as a user becomes unappealing > (consistency trumps aesthetics). > > If we want to keep org truly keyword-case-agnostic, then there should > be a user-customized variable that easy templates and org-babel result > blocks would follow.
I added the following to my .emacs to keep lowercase. (setq org-babel-results-keyword "results") (setq org-structure-template-alist (quote (("s" "#+begin_src ?\n\n#+end_src" "<src lang=\"?\">\n\n</src>") ("e" "#+begin_example\n?\n#+end_example" "<example>\n?\n</example>") ("q" "#+begin_quote\n?\n#+end_quote" "<quote>\n?\n</quote>") ("v" "#+begin_verse\n?\n#+end_verse" "<verse>\n?\n/verse>") ("c" "#+begin_center\n?\n#+end_center" "<center>\n?\n/center>") ("l" "#+begin_latex\n?\n#+end_latex" "<literal style=\"latex\">\n?\n</literal>") ("L" "#+latex: " "<literal style=\"latex\">?</literal>") ("h" "#+begin_html\n?\n#+end_html" "<literal style=\"html\">\n?\n</literal>") ("H" "#+html: " "<literal style=\"html\">?</literal>") ("a" "#+begin_ascii\n?\n#+end_ascii") ("A" "#+ascii: ") ("i" "#+index: ?" "#+index: ?") ("I" "#+include %file ?" "<include file=%file markup=\"?\">")))) -Bernt