unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: org-tempo and org-structure-template-alist
Date: Mon, 25 Jan 2021 14:04:53 -0500	[thread overview]
Message-ID: <87k0s0zvl6.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: trinity-4b492a18-c739-49d0-8cd1-5250827e4690-1611237631600@3c-app-mailcom-bs11

wael-zwaiter@gmx.com writes:

> Do I require org-tempo to use org-structure-template-alist?
>
>
> ----- code ------
> (require 'org-tempo)
> (add-to-list 'org-structure-template-alist '("sh" . "src shell"))
>
>
>

No: if loaded, org-tempo will use org-structure-template-alist, but
the main user of it is `org-insert-structure-template` (bound to C-c
C-, by default).

-- 
Nick

"There are only two hard problems in computer science: cache
invalidation, naming things, and off-by-one errors." -Martin Fowler




      reply	other threads:[~2021-01-25 19:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-21 14:00 org-tempo and org-structure-template-alist wael-zwaiter
2021-01-25 19:04 ` Nick Dokos [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k0s0zvl6.fsf@alphaville.usersys.redhat.com \
    --to=ndokos@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).