emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: suvayu ali <fatkasuvayu+linux@gmail.com>
To: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: newlines in capture templates from the customize buffer
Date: Fri, 10 Dec 2010 12:39:27 +0100	[thread overview]
Message-ID: <AANLkTikMx7PMs1TNw_HWo2XT60=vXrm2zPKO0efBHSfk@mail.gmail.com> (raw)

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.

             reply	other threads:[~2010-12-10 11:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-10 11:39 suvayu ali [this message]
2010-12-10 12:18 ` newlines in capture templates from the customize buffer Giovanni Ridolfi
2010-12-10 14:24   ` suvayu ali
2010-12-10 19:03     ` Bernt Hansen

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='AANLkTikMx7PMs1TNw_HWo2XT60=vXrm2zPKO0efBHSfk@mail.gmail.com' \
    --to=fatkasuvayu+linux@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 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).