emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kyle Meyer <kyle@kyleam.com>
To: Samuel Wales <samologist@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-tempo and <q TAB with babel headers
Date: Mon, 29 Jun 2020 19:37:07 -0400	[thread overview]
Message-ID: <87lfk5cul8.fsf@kyleam.com> (raw)
In-Reply-To: <CAJcAo8vhOwnRbN6omRcGNJD0uFoV9L1xwWeOoXsVxuq=1zDTRg@mail.gmail.com>

Samuel Wales writes:

> i tried what is intended to now be on c-c ,.  this brought up a warning:
>   Please update the entries of `org-structure-template-alist'.
> it tells me to update a bunch of entries includign this one:
> ("b" "#+begin_src sh :results verbatim output\n?#+end_src" "")
> but it is not clear what to do to update it.  the extra header stuff
> is not documented anywhere i looked, including the warning, the
> docstring it referred to, the manual, and the org-tempo commentary.

Here's the example given in that warning:

    In Org 9.2 the format was changed from something like
        ("s" "#+BEGIN_SRC ?\\n#+END_SRC")
    to something like
        ("s" . "src")
    Please refer to the documentation of `org-structure-template-alist'.
So the entry you show

    ("b" "#+begin_src sh :results verbatim output\n?#+end_src" "")

would map to this (untested):

    ("b" . "src sh :results verbatim output")

  parent reply	other threads:[~2020-06-29 23:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-29 20:15 org-tempo and <q TAB with babel headers Samuel Wales
2020-06-29 20:22 ` tomas
2020-06-29 21:40   ` Samuel Wales
2020-06-29 21:41     ` Samuel Wales
2020-06-29 23:37 ` Kyle Meyer [this message]
2020-06-29 23:52   ` Samuel Wales
2020-06-30  0:06     ` Kyle Meyer
2020-06-30  0:40       ` Samuel Wales

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:

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=87lfk5cul8.fsf@kyleam.com \
    --to=kyle@kyleam.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=samologist@gmail.com \


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