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 tha
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 buff
Hi Bastien,
Hi Paul,
At Sat, 29 Oct 2011 14:08:52 +0200,
Bastien wrote:
>
> Hi Paul,
>
> Paul writes:
>
> > In fact adding whitespace-cleanup to org-capture-before-finalize-hook
> > was what I tried first, but it didn't do what I wanted. This hook is
> > called _after_ the buffer is widened - ma
Hi Paul,
Paul writes:
> In fact adding whitespace-cleanup to org-capture-before-finalize-hook
> was what I tried first, but it didn't do what I wanted. This hook is
> called _after_ the buffer is widened - making whitespace-cleanup
> operate on the _entire_ buffer, not just the newly added capt
Paul writes:
> # olaf+list.orgm...@olafdietsche.de, Wed, 14 Sep 2011 18:44:07 +1000:
>> paul...@telstra.com writes:
>>
>> > I found myself manually "cleaning" most CAPTURE buffers of whitespace
>> > prior to committing them with C-c C-c. The attached patch adds a new
>> > property :whitespace-c
# olaf+list.orgm...@olafdietsche.de, Wed, 14 Sep 2011 18:44:07 +1000:
> paul...@telstra.com writes:
>
> > I found myself manually "cleaning" most CAPTURE buffers of whitespace
> > prior to committing them with C-c C-c. The attached patch adds a new
> > property :whitespace-cleanup to the org-capt
paul...@telstra.com writes:
> I found myself manually "cleaning" most CAPTURE buffers of whitespace
> prior to committing them with C-c C-c. The attached patch adds a new
> property :whitespace-cleanup to the org-capture-templates.
Thanks for pointing to whitespace-cleanup, I've done this manual
I found myself manually "cleaning" most CAPTURE buffers of whitespace
prior to committing them with C-c C-c. The attached patch adds a new
property :whitespace-cleanup to the org-capture-templates.
--
Paul.
diff --git a/lisp/org-capture.el b/lisp/org-capture.el
index a7dc92b..ae5af6d 100644
--