From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: Make Org-Babel keyword lowercase Date: Thu, 06 Feb 2014 13:17:52 -1000 Message-ID: References: <87mwi3x3qr.fsf@gmail.com> <87ha8bu9j6.fsf@med.uni-goettingen.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57624) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBYDx-0007CJ-Hq for emacs-orgmode@gnu.org; Thu, 06 Feb 2014 18:19:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WBYDr-0003Qw-Ch for emacs-orgmode@gnu.org; Thu, 06 Feb 2014 18:19:13 -0500 Received: from alt-proxy3.mail.unifiedlayer.com ([74.220.205.131]:49202) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1WBYDr-0003Qj-6D for emacs-orgmode@gnu.org; Thu, 06 Feb 2014 18:19:07 -0500 In-Reply-To: <87ha8bu9j6.fsf@med.uni-goettingen.de> (Andreas Leha's message of "Fri, 07 Feb 2014 00:05:33 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Andreas Leha Cc: emacs-orgmode@gnu.org Andreas Leha writes: > Hi Thorsten, > > Thorsten Jolitz writes: > >> Hi List, >> >> I have this in my init-file: >> >> ,------------------------------------------- >> | ;; Make babel results blocks lowercase >> | (setq org-babel-results-keyword "results") >> `------------------------------------------- >> >> and would like to insert _all_ babel block-keywords in lowercase >> (#+begin_src instead of #+BEGIN_SRC etc.), and I even remember that I >> had this configuration in the past, but I can't find the related >> customizations anymore. >> >> Any hints? > > > I guess you are looking for org-structure-template-alist > > Regards, > Andreas This is from Bernt Hansen: #+BEGIN_SRC emacs-lisp :tangle yes (setq org-babel-results-keyword "results") (setq org-structure-template-alist (quote (("s" "#+begin_src ?\n\n#+end_src" "\n\n") ("e" "#+begin_example\n?\n#+end_example" "\n?\n") ("q" "#+begin_quote\n?\n#+end_quote" "\n?\n") ("v" "#+begin_verse\n?\n#+end_verse" "\n?\n") ("c" "#+begin_center\n?\n#+end_center" "
\n?\n
") ("l" "#+begin_latex\n?\n#+end_latex" "\n?\n") ("L" "#+latex: " "?") ("h" "#+begin_html\n?\n#+end_html" "\n?\n") ("H" "#+html: " "?") ("a" "#+begin_ascii\n?\n#+end_ascii") ("A" "#+ascii: ") ("i" "#+index: ?" "#+index: ?") ("I" "#+include %file ?" "")))) #+END_SRC hth, Tom -- Thomas S. Dye http://www.tsdye.com