From: Bernt Hansen <bernt@norang.ca>
To: suvayu ali <fatkasuvayu+linux@gmail.com>
Cc: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: newlines in capture templates from the customize buffer
Date: Fri, 10 Dec 2010 14:03:33 -0500 [thread overview]
Message-ID: <87k4jhxxfe.fsf@norang.ca> (raw)
In-Reply-To: <AANLkTikmNtu-G8YgxLK=Dkdon2MhwFaz3ShkuLwoiM3A@mail.gmail.com> (suvayu ali's message of "Fri, 10 Dec 2010 15:24:07 +0100")
suvayu ali <fatkasuvayu+linux@gmail.com> writes:
> Hi Giovanni,
>
> On Fri, Dec 10, 2010 at 1:18 PM, Giovanni Ridolfi
> <giovanni.ridolfi@yahoo.it> wrote:
>> suvayu ali <fatkasuvayu+linux@gmail.com> writes:
>>> 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.
>>
>> If you don't like the <RET>
>> you can edit your init.el file and substitute <RET> with \n
>> by hand:
>>
>> M-% C-q C-j \n
>>
>
> I tried that, but changing some other variable or adding a new
> template reverts it back to [RET].
I just enter it in the capture buffer as C-j to get a new line in
the template.
-Bernt
prev parent reply other threads:[~2010-12-10 19:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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=87k4jhxxfe.fsf@norang.ca \
--to=bernt@norang.ca \
--cc=emacs-orgmode@gnu.org \
--cc=fatkasuvayu+linux@gmail.com \
/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).