From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sharon Kimble Subject: 'org-structure-template-alist' is only partially working... Date: Wed, 01 Apr 2020 11:22:07 +0100 Message-ID: <875zeja4kw.fsf@skimble.plus.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:48618) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJaVs-00041v-3y for emacs-orgmode@gnu.org; Wed, 01 Apr 2020 06:22:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJaVq-0007J3-TQ for emacs-orgmode@gnu.org; Wed, 01 Apr 2020 06:22:23 -0400 Received: from avasout03.plus.net ([84.93.230.244]:44332) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jJaVq-0007Gl-FY for emacs-orgmode@gnu.org; Wed, 01 Apr 2020 06:22:22 -0400 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org I'm having great difficulty in getting 'org-structure-template-alist' to work properly. This is what I'm using - --8<---------------cut here---------------start------------->8--- #+BEGIN_SRC emacs-lisp ;(require 'org-tempo) (setq org-structure-template-alist '('("s" . "src emacs-lisp") ;("e" . "example") '("q" . "quote") '("v" . "verse") '("C" . "comment") '("b" . "src latex") ;("m" "#+begin_src latex-mode\n?\n#+end_src" "\n?\n") ;("t" "#+latex: " "?") ;("x" "#+BEGIN_SRC latex\n?\n#+END_SRC" "\n?\n") ;("h" "#+begin_html\n?\n#+end_html" "\n?\n") ;("a" "#+begin_ascii\n?\n#+end_ascii") ;("s" "#+BEGIN_SRC sh\n?+\n#+END_SRC" "\n?\n") '("l" . "emacs-lisp") ;("u" "#+begin_src emacs-lisp\n\(use-package %0\n\:ensure t)\n\#+end_src") '("i" . "index") ;("p" "#+BEGIN_COMMENT\n?\n#+END_COMMENT" "\n?\n") '("f" . "src file"))) #+END_SRC --8<---------------cut here---------------end--------------->8---