From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: newlines in capture templates from the customize buffer Date: Fri, 10 Dec 2010 14:03:33 -0500 Message-ID: <87k4jhxxfe.fsf@norang.ca> References: <83vd31hlcg.fsf@yahoo.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=34909 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PR8Fm-0004MW-Ng for emacs-orgmode@gnu.org; Fri, 10 Dec 2010 14:03:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PR8Fk-00052s-Vs for emacs-orgmode@gnu.org; Fri, 10 Dec 2010 14:03:38 -0500 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:30303) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PR8Fk-00052f-Tz for emacs-orgmode@gnu.org; Fri, 10 Dec 2010 14:03:36 -0500 In-Reply-To: (suvayu ali's message of "Fri, 10 Dec 2010 15:24:07 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: suvayu ali Cc: org-mode mailing list suvayu ali writes: > Hi Giovanni, > > On Fri, Dec 10, 2010 at 1:18 PM, Giovanni Ridolfi > wrote: >> suvayu ali 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 >> you can edit your init.el file and substitute 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