emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [BUG] Setting org-map-continue from to avoid skipping headings while


From: Ihor Radchenko
Subject: Re: [BUG] Setting org-map-continue from to avoid skipping headings while archiving no longer works [9.5.2 (9.5.2-gd01235 @ /home/john/.emacs.d/straight/build/org/)]
Date: Fri, 07 Jan 2022 22:20:01 +0800

John Mathena <jmmathena@gmail.com> writes:

> * TODO A
> * TODO B
> * DONE C
>
> ...Emacs will hang, locking up until you "C-g". This minimal example
> was confirmed on Emacs 29.0.50 and Org 9.5.2-gb8656a (and I'd

Thanks for reporting! This was a problem on Org side. Should be fixed now.

> Again, I'd totally understand if this is just an end-user problem,
> where I need to write a proper end condition for my archiving function
> - if you think that's the case, let me know! I just wanted to bring
> your attention to Emacs locking up in case it was unforeseen on your
> end.

Your function indeed looks fishy in sense that it can sometimes force
Org to call your function twice on the same element. I think your
specific combination of matcher and the function should do just fine
(after I fixed the bug), but you may need to be careful about moving to
element at point at the end of buffer if you reuse this code for more
complex tasks.

Best,
Ihor




reply via email to

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