emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: John Mathena <jmmathena@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: Wed, 29 Dec 2021 11:48:03 +0800	[thread overview]
Message-ID: <874k6soyvg.fsf@localhost> (raw)
In-Reply-To: <CADywB5KOJ1p0NpvA=iX-ybHsO=huGA8qL3xMpUTETmS2qp7_ng@mail.gmail.com>

John Mathena <jmmathena@gmail.com> writes:

> In Org 9.4.4, you can fix this issue with a snippet like this:
> ...
>      (setq org-map-continue-from (org-element-property :begin
>
> I believe this is a result of recent additions in org-scan-tags - I hit a
> dead end there while trying to determine the exact cause of the change (the
> caching stuff that was added is spooky for a new user like me).
>
> Is the snippet above no longer expected to work in Org 9.5.2 due to the
> logic for mapping over entries having changed, or is this a bug? If it's
> the former, what's the intended way of archiving all DONE tasks in a file
> now?

Hi. Sorry for the inconvenience. The logic has indeed been changed to
speed things up.

I tried to make sure that org-map-continue-from is not broken, but your
scenario is apparently not covered by our tests.

Let me investigate and fix this.

Best,
Ihor


  reply	other threads:[~2021-12-29  3:48 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 [this message]
2022-01-01  6:36   ` Ihor Radchenko
2022-01-06 22:42     ` John Mathena
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=874k6soyvg.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jmmathena@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).