emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* 'org-structure-template-alist' is only partially working...
@ 2020-04-01 10:22 Sharon Kimble
  2020-04-01 11:06 ` Marco Wahl
  0 siblings, 1 reply; 2+ messages in thread
From: Sharon Kimble @ 2020-04-01 10:22 UTC (permalink / raw)
  To: emacs-orgmode

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" "<src lang=\"latex-mode\">\n?\n</src>")
        ;("t" "#+latex: " "<literal style=\"latex\">?</literal>")
        ;("x" "#+BEGIN_SRC latex\n?\n#+END_SRC" "<src lang=\"latex\">\n?\n</src>")
        ;("h" "#+begin_html\n?\n#+end_html" "<literal style=\"html\">\n?\n</literal>")
        ;("a" "#+begin_ascii\n?\n#+end_ascii")
        ;("s" "#+BEGIN_SRC sh\n?+\n#+END_SRC" "<src lang=\"shell\">\n?\n</src>")
        '("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" "<comment>\n?\n</comment>")
        '("f" . "src file")))
--8<---------------cut here---------------end--------------->8---

<s works

but <q, <v, <C, <b, <l, <i, and <f do *not* work!

So how can I get it to actually work please?

A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.2, fluxbox 1.3.7, emacs 27.0.90, org 9.3.6

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-01 11:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-01 10:22 'org-structure-template-alist' is only partially working Sharon Kimble
2020-04-01 11:06 ` Marco Wahl

Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).