From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: empty lines in datetree capture templates Date: Tue, 11 Jan 2011 12:37:34 -0800 Message-ID: <20110111123734.3a9fd168@bhishma.homelinux.net> References: <20101228005000.1ce74e0f@bhishma.homelinux.net> <87r5cmkv2p.wl%dmaus@ictsoc.de> <8E3EE8DE-E8C0-4A2B-AC3E-D60287934E64@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=57130 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pckyv-0005xm-5e for emacs-orgmode@gnu.org; Tue, 11 Jan 2011 15:38:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PckyO-0003U3-4h for emacs-orgmode@gnu.org; Tue, 11 Jan 2011 15:37:57 -0500 Received: from mail-bw0-f41.google.com ([209.85.214.41]:63986) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PckyN-0003Tf-U0 for emacs-orgmode@gnu.org; Tue, 11 Jan 2011 15:37:44 -0500 Received: by bwz16 with SMTP id 16so22995152bwz.0 for ; Tue, 11 Jan 2011 12:37:41 -0800 (PST) In-Reply-To: <8E3EE8DE-E8C0-4A2B-AC3E-D60287934E64@gmail.com> 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: Carsten Dominik Cc: David Maus , emacs-org Hi Carsten, On Tue, 11 Jan 2011 20:58:01 +0100 Carsten Dominik wrote: > > On Jan 9, 2011, at 3:31 PM, David Maus wrote: > > > At Tue, 28 Dec 2010 00:50:00 -0800, > > Suvayu Ali wrote: > >> ("mm" "Meeting minutes w/ clock" entry (file+datetree > >> "~/org/ meetings.org") > >> "**** %^{prompt} %U%^{CATEGORY}p\n\n %?" > >> :prepend t :clock-in :empty-lines 1 :immediate-finish) > > > After clock-in and after :immediate-finish, t is missing - all these > keys need a value! > The way you write it, :clock-in has the value :empty lines, and from > then on the property list is broken. > Thank you for catching this, don't know how I missed that. > If you make the templates with customize, it is much harder to make > mistakes in a complex variable like this. > Yes I agree and I tried that, but customise doesn't handle newlines very well. I would prefer the newlines show up as \n rather than actual newlines in my custom-set-variables. I don't mind editing it later to fix it either. But when I customise some other variable and save, customize saves it again with newlines instead of keeping my edited value with \n. > Best wishes > Thanks > - Carsten -- Suvayu Open source is the future. It sets us free.