emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How do I add #+name: to a structured template?
@ 2020-01-09  5:26 Vladimir Nikishkin
  0 siblings, 0 replies; only message in thread
From: Vladimir Nikishkin @ 2020-01-09  5:26 UTC (permalink / raw)
  To: emacs-orgmode

I have the following in the .emacs:
(add-to-list 'org-structure-template-alist
         '("SO" . "src scheme :exports both :results output\n?\n"))

A structured template block is automatically prepended with #+start_ ,
but I actually need it to insert
#+name: <cursor>
#+start_srt ... etc.

How can I do that with the new template expansion mechanism?

-- 
Yours sincerely, Vladimir Nikishkin

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-09  5:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-09  5:26 How do I add #+name: to a structured template? Vladimir Nikishkin

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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).