From: Vladimir Nikishkin <lockywolf@gmail.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Question mark not supported in structured templates?
Date: Tue, 29 Oct 2019 16:59:42 +0800 [thread overview]
Message-ID: <CA+A2iZY=zLid3JjaoaGCVaKMzEfvS2whjzKV+Mgrdca6RC8uZQ@mail.gmail.com> (raw)
In-Reply-To: <87a79k6jum.fsf@ucl.ac.uk>
In the version 8 of org-mode you could indicate where to put the point
after the template is expanded. In the template
(list "p" "#begin_src plantuml :file ? :export both \n#end_src"),
after the template is expanded, the point would be located after
:file, whereas in the template (list "SO" "#begin_src scheme :export
both \n?\n#end_src") the point would be located on the frist line
after the header.
At the moment, `org-insert-structure-template' just inserts the
question mark verbatim. I would consider this a regression, but maybe
there is some replacement mechanism?
вт, 29 окт. 2019 г. в 16:23, Fraga, Eric <e.fraga@ucl.ac.uk>:
>
> On Tuesday, 29 Oct 2019 at 15:57, Vladimir Nikishkin wrote:
> > The problem is that for ob-plantuml I need the value of point be right
> > after the :file header parameter, because plantuml always requires a
> > file name.
>
> I don't see this in my configuration. But it could be that I do not
> understand what you are saying. Maybe explain a bit further and/or give
> a small example?
>
> --
> Eric S Fraga via Emacs 27.0.50, Org release_9.2.6-552-g8c5a78
--
Yours sincerely, Vladimir Nikishkin
next prev parent reply other threads:[~2019-10-29 8:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-29 7:57 Question mark not supported in structured templates? Vladimir Nikishkin
2019-10-29 8:23 ` Fraga, Eric
2019-10-29 8:59 ` Vladimir Nikishkin [this message]
2019-10-29 16:42 ` Berry, Charles
2019-10-30 2:23 ` Vladimir Nikishkin
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CA+A2iZY=zLid3JjaoaGCVaKMzEfvS2whjzKV+Mgrdca6RC8uZQ@mail.gmail.com' \
--to=lockywolf@gmail.com \
--cc=emacs-orgmode@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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.