all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 9.1.3.2 Template expansion: documentation issue
@ 2017-01-16 18:20 Karl Eichwalder
  2017-01-22 13:56 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Karl Eichwalder @ 2017-01-16 18:20 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-22 13:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-16 18:20 9.1.3.2 Template expansion: documentation issue Karl Eichwalder
2017-01-22 13:56 ` Nicolas Goaziou

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.