[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: org-tempo and <q TAB with babel headers
From: |
Kyle Meyer |
Subject: |
Re: org-tempo and <q TAB with babel headers |
Date: |
Mon, 29 Jun 2020 19:37:07 -0400 |
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")