emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Mathena <jmmathena@gmail.com>
To: Ihor Radchenko <yantar92@gmail.com>
Cc: emacs-orgmode@gnu.org
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: Thu, 6 Jan 2022 16:42:35 -0600	[thread overview]
Message-ID: <CADywB5JHAyPX99Vr02SvAqiMTD+7ss4VWVipOhKfm=iGirDPhA@mail.gmail.com> (raw)
In-Reply-To: <87h7aonerx.fsf@localhost>

> Let me know if you are still seeing the problem.

This may be a deficiency in my function (I basically copied it
wholesale after realizing the source of the "skipping" issue so there
may be context I'm missing), but I'm noticing a problem when the
heading-to-be-archived comes last in the file. For instance, if you
call the function defined in my first email while in test.org:

* 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
previously experienced the same problem in Emacs 27.2 before I
upgraded, although I didn't run any "emacs -Q" tests on that
particular build).

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.

Best,
John


  reply	other threads:[~2022-01-06 22:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-28 16:39 John Mathena
2021-12-29  3:48 ` Ihor Radchenko
2022-01-01  6:36   ` Ihor Radchenko
2022-01-06 22:42     ` John Mathena [this message]
2022-01-07 14:20       ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADywB5JHAyPX99Vr02SvAqiMTD+7ss4VWVipOhKfm=iGirDPhA@mail.gmail.com' \
    --to=jmmathena@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@gmail.com \
    --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/)]' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).