emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Karl Eichwalder <ke@gnu.franken.de>
To: emacs-orgmode@gnu.org
Subject: 9.1.3.2 Template expansion: documentation issue
Date: Mon, 16 Jan 2017 19:20:11 +0100	[thread overview]
Message-ID: <54129f99a63355eb324a3191e4001d1d@mail-n.franken.de> (raw)

In 9.1.3.2 Template expansion, you say:

      %\n         Insert the text entered at the nth %^{PROMPT}, where 
‘n’ is

but in my 25.1.1, you must use "%\\n".

Maybe, it is also worth noting that

      %^{PROP}p   Prompt the user for a value for property PROP.

will get inserted at the end of a list of properties, but white-space 
will stay
in place:

      :PROP_A:   a
      %^{PROP}p
      :PROP_Z:   z

==>

      :PROP_A:   a

      :PROP_Z:   z
      :PROP:     foo

To avoid white-space issues and an unexpected sorting order, you must 
write (and you lose the preset values):

      :PROPERTIES:%^{PROP_A}p%^{PROP}p%^{PROP_Z}p


-- 
Karl Eichwalder

             reply	other threads:[~2017-01-16 18:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-16 18:20 Karl Eichwalder [this message]
2017-01-22 13:56 ` 9.1.3.2 Template expansion: documentation issue Nicolas Goaziou

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=54129f99a63355eb324a3191e4001d1d@mail-n.franken.de \
    --to=ke@gnu.franken.de \
    --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 public 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).