From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH] org-capture, removing whitespace from new captures Date: Sat, 18 Feb 2012 18:19:49 +0100 Message-ID: <87vcn4gitm.fsf@gnu.org> References: <20110913211926.GB15861@shift> <87ipovcy3s.fsf@rat.lan> <20110914111415.GE15861@shift> <87bot080ff.fsf@gnu.org> <87wr7k16q4.wl%dmaus@ictsoc.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:50225) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rynvh-0006Fm-Eo for emacs-orgmode@gnu.org; Sat, 18 Feb 2012 12:18:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rynvf-000715-Oh for emacs-orgmode@gnu.org; Sat, 18 Feb 2012 12:18:37 -0500 Received: from mail-we0-f169.google.com ([74.125.82.169]:38938) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rynvf-00070t-I8 for emacs-orgmode@gnu.org; Sat, 18 Feb 2012 12:18:35 -0500 Received: by wera13 with SMTP id a13so3191191wer.0 for ; Sat, 18 Feb 2012 09:18:34 -0800 (PST) In-Reply-To: <87wr7k16q4.wl%dmaus@ictsoc.de> (David Maus's message of "Sat, 18 Feb 2012 16:50:11 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: David Maus Cc: emacs-orgmode@gnu.org, Paul Hi David and Paul, David Maus writes: > Instead of adding the :whitespace-cleanup property to the template > definition (what requires you to specify e.g. whitespace-cleanup in > every single template) why not define a new hook that is run before > the finalization starts? I.e. with capture buffer current and still > narrowed. Yes, I think this is more general, feel free to commit this. Thanks to you and to Paul for his neat suggestion! Best, -- Bastien