From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: newlines in capture templates from the customize buffer Date: Fri, 10 Dec 2010 12:39:27 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=34065 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PR1KH-0003vb-Bz for emacs-orgmode@gnu.org; Fri, 10 Dec 2010 06:39:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PR1KG-0001tU-3G for emacs-orgmode@gnu.org; Fri, 10 Dec 2010 06:39:49 -0500 Received: from mail-gx0-f180.google.com ([209.85.161.180]:48872) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PR1KF-0001tD-Vy for emacs-orgmode@gnu.org; Fri, 10 Dec 2010 06:39:48 -0500 Received: by gxk19 with SMTP id 19so2205407gxk.39 for ; Fri, 10 Dec 2010 03:39:47 -0800 (PST) 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: 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.