From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: [PATCH] org-capture, removing whitespace from new captures Date: Sat, 18 Feb 2012 18:33:55 +0100 Message-ID: <878vk0gi64.wl%dmaus@ictsoc.de> References: <20110913211926.GB15861@shift> <87ipovcy3s.fsf@rat.lan> <20110914111415.GE15861@shift> <87bot080ff.fsf@gnu.org> <87wr7k16q4.wl%dmaus@ictsoc.de> <87vcn4gitm.fsf@gnu.org> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Sat_Feb_18_18:33:51_2012-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:56777) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RyoAc-00012l-3Q for emacs-orgmode@gnu.org; Sat, 18 Feb 2012 12:34:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RyoAa-0002hm-M4 for emacs-orgmode@gnu.org; Sat, 18 Feb 2012 12:34:02 -0500 Received: from app1a.xlhost.de ([213.202.242.161]:54853) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RyoAa-0002hg-HU for emacs-orgmode@gnu.org; Sat, 18 Feb 2012 12:34:00 -0500 In-Reply-To: <87vcn4gitm.fsf@gnu.org> 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: Bastien Cc: David Maus , emacs-orgmode@gnu.org, Paul --pgp-sign-Multipart_Sat_Feb_18_18:33:51_2012-1 Content-Type: text/plain; charset=US-ASCII At Sat, 18 Feb 2012 18:19:49 +0100, Bastien wrote: > > 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! And... done. Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de --pgp-sign-Multipart_Sat_Feb_18_18:33:51_2012-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAk8/4QIACgkQDMLgk1Evc4WYGwEAmez8ZcvE2xXaPvqI5KWgIqS9 8fWj0+nS3J6L6+9t7MoA/1lBk+0Wm8MSz4o/ihJptBP8brcRhYP3Bo/M84G6YiLQ =zk9D -----END PGP SIGNATURE----- --pgp-sign-Multipart_Sat_Feb_18_18:33:51_2012-1--