emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* newlines in capture templates from the customize buffer
@ 2010-12-10 11:39 suvayu ali
  2010-12-10 12:18 ` Giovanni Ridolfi
  0 siblings, 1 reply; 4+ messages in thread
From: suvayu ali @ 2010-12-10 11:39 UTC (permalink / raw)
  To: org-mode mailing list

Hi everyone,

I am having some trouble writing capture templates with newlines from
the customise buffer. From all the examples I see in the manual and
Worg, it seems simply putting \n within the template string should
work. But entering a "\n" in the template escapes the "\n" when saving
to file and the saved template ends up looking like this,

"** %^{prompt|TODO|WInP} %? %^G\\n%^t"

Entering a newline pressing [RET] works. But then in my init.el it is
stored as a carriage return rather than "\n", making it ugly. Is there
a way to enter newlines in the customise buffer which is saved as
"\n"?

Thanks for any thoughts.

-- 
Suvayu

Open source is the future. It sets us free.

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

end of thread, other threads:[~2010-12-10 19:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-10 11:39 newlines in capture templates from the customize buffer suvayu ali
2010-12-10 12:18 ` Giovanni Ridolfi
2010-12-10 14:24   ` suvayu ali
2010-12-10 19:03     ` Bernt Hansen

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).