emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH] Do not save target buffer after archiving subtree


From: Nicolas Goaziou
Subject: Re: [O] [PATCH] Do not save target buffer after archiving subtree
Date: Sun, 26 Nov 2017 10:52:48 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hello,

Matt Lundin <address@hidden> writes:

> The attached patch removes the call to save-buffer in
> org-archive-subtree. This significantly reduces the time necessary to
> archive a subtree, especially when archiving many subtrees in a region.
> Without this patch, Org Mode will save the archive buffer after each
> subtree is archived. If one were archiving a region of 50 trees, this
> would result in 50 writes to disk in quick succession. This patch makes
> the behavior of org-archive-subtree match that of org-refile, which does
> not save the target buffer after a refile.

Good catch. Applied. Thank you.

Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]