emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: [Radio tables???]
Date: Tue, 10 Apr 2018 23:57:42 +0200	[thread overview]
Message-ID: <87604y67xl.fsf@gmx.us> (raw)
In-Reply-To: <873703jr8z.fsf@mat.ucm.es>

Uwe Brauer <oub@mat.ucm.es> writes:

>>>> "Rasmus" == Rasmus  <rasmus@gmx.us> writes:
>
>    > Hi Uwe,
>    > Uwe Brauer <oub@mat.ucm.es> writes:
>
>    >> Templates are another example of this philosophy. I still can't use the
>    >> actual git master version of orgmode since the old templates have been
>    >> removed and the new syntax is not really explained.
>
>    > Please let me know what you are missing in terms of documentation.
>
>    > For all of the annoyance of losing the old template system, the data
>    > structure of the new system is surely simpler.
>
> Thanks, I will send my problems in the next days. Right now I am
> sticking to an old git version from July.
>
> I asked a while ago that I could not insert any template with the new
> system but nobody answered.
>
> Do I understand that correctly I have to rewrite my templates or can I
> use the old ones?

You can’t have very complicated templates (unless writing them in the
Tempo syntax).

Basically, you control the first line of the block.
So if you want "Rb" to expand to an src R :key val block you’d do something
like

    (push ’("Rb" . "src R :key val") ’org-structure-template-alist)

Before the element would be something like

    ("R" . "#+begin_src R :key val\n?\n\#+end_src")

If you used to have "complicated" templates with e.g. headers, that’s not
possible ATM, but it could be added if there’s a need for it.

If you have a typical example of something you are missing, we could
either enrich the manual with how to add such a block directly with tempo.
Or we could perhaps find a way to define them.

Rasmus

-- 
Spil noget med Slayer!

      reply	other threads:[~2018-04-10 21:57 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-31 12:02 [ANN] OrgStruct is dead. Long live Orgalist Nicolas Goaziou
2017-12-31 14:46 ` Eric S Fraga
2017-12-31 15:40   ` Nicolas Goaziou
2017-12-31 16:05     ` Eric S Fraga
2017-12-31 16:57       ` Nicolas Goaziou
2017-12-31 18:50         ` Eric S Fraga
2018-01-01 10:15           ` Nicolas Goaziou
2018-01-01 16:58             ` Eric S Fraga
2018-01-01 18:06             ` Eric Abrahamsen
2018-04-08 12:58             ` Rasmus
2018-04-08 13:23               ` Nicolas Goaziou
2018-04-08 19:16                 ` Samuel Wales
2018-04-08 20:18                   ` Nicolas Goaziou
2018-04-09  2:47                     ` stardiviner
2018-04-12  1:42                       ` stardiviner
2018-04-09 12:10                     ` Eric S Fraga
2018-04-09 12:18                       ` Kaushal Modi
2018-04-09 12:25                         ` Eric S Fraga
2018-04-09 12:45                           ` Kaushal Modi
2018-04-09 14:14                             ` Eric S Fraga
2018-04-09 14:19                               ` Kaushal Modi
2018-04-09 16:33                                 ` Eric S Fraga
2018-04-09 21:51                                   ` Tim Cross
2018-04-10  5:20                                     ` Eric S Fraga
2018-04-10  5:51                                       ` Tim Cross
2018-04-10  5:57                                         ` Eric S Fraga
2018-04-26 23:34                     ` Bastien
2018-04-27 14:15                       ` Nicolas Goaziou
2018-04-27 16:13                         ` Bastien
2018-04-09  8:25 ` [Radio tables???] (was: [ANN] OrgStruct is dead. Long live Orgalist.) Uwe Brauer
2018-04-09 12:11   ` [Radio tables???] Nicolas Goaziou
2018-04-09 16:03     ` Uwe Brauer
2018-04-09 21:30   ` Rasmus
2018-04-10  2:20     ` Nick Dokos
2018-04-10 21:47       ` Rasmus
2018-04-10 22:39         ` Nick Dokos
2018-04-10 10:22     ` Uwe Brauer
2018-04-10 21:57       ` Rasmus [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.orgmode.org/

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

  git send-email \
    --in-reply-to=87604y67xl.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: [Radio tables???]' \
    /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

Code repositories for project(s) associated with this 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).