Alan Schmitt <[email protected]> writes: > On 2014-12-12 12:01, Kyle Meyer <[email protected]> writes: > >> Alan Schmitt <[email protected]> wrote: >>> My agenda is fairly big, and it takes a few minutes to generate it. >> >> Wow. > > I meant seconds (about 20 seconds). But is feels like minutes ;)
I have the same feeling :-).
>>> When I need to refile many items to different places (so bulk edit is
>>> not an option), it slows me down quite a bit. Is there an option to
>>> prevent rebuilding the agenda after archiving or refiling?
>>
>> org-agenda-refile takes a NO-UPDATE argument. To set this
>> interactively, you could advise org-agenda-refile (or wrap it in another
>> command).
>
> This is a great suggestion, thanks! It works perfectly.
For other readers to take advantage of the code, this is my
implementation of the advise.
--8<---------------cut here---------------start------------->8---
(defun my/org-agenda-refile (orig &optional goto rfloc no-update)
(funcall orig goto rfloc t))
(add-function :around
(symbol-function 'org-agenda-refile)
#'my/org-agenda-refile)
--8<---------------cut here---------------end--------------->8---
My two cents,
--
Konubinix
GPG Key : 7439106A
Fingerprint: 5993 BE7A DA65 E2D9 06CE 5C36 75D2 3CED 7439 106A
signature.asc
Description: PGP signature
