From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4ea1::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id AID7H3Xay2FzHQEAgWs5BA (envelope-from ) for ; Wed, 29 Dec 2021 04:48:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uFjpGXXay2FP1gAAG6o9tA (envelope-from ) for ; Wed, 29 Dec 2021 04:48:05 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 31D8ECD9E for ; Wed, 29 Dec 2021 04:48:05 +0100 (CET) Received: from localhost ([::1]:54938 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2Pwa-0001d3-DK for larch@yhetil.org; Tue, 28 Dec 2021 22:48:04 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38882) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2PvJ-0001FO-Tg for emacs-orgmode@gnu.org; Tue, 28 Dec 2021 22:46:45 -0500 Received: from [2a00:1450:4864:20::433] (port=44955 helo=mail-wr1-x433.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2PvH-0006y6-G7 for emacs-orgmode@gnu.org; Tue, 28 Dec 2021 22:46:45 -0500 Received: by mail-wr1-x433.google.com with SMTP id k18so5123800wrg.11 for ; Tue, 28 Dec 2021 19:46:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=hA4LRV9A4O5lByu082AF+r8TBq5mlwhXlPd6iKRAlrQ=; b=Nrc1BOlHujKUKmKr4+LgbIunqIyg1nmO+Ollx2obvQvXv8YZUWmh+rVu4Wz35Ub7jo 6kjMq9JaIxV7hq+3oTHz/3TVdEAJcZ9MWzGXWFOJoSi3KXqYkL1WCaXnMLlTUjnVM941 FhCViB/7VmUeU+ggfM6Ep7CWKw1o2vlIQ3za3TAFYiRFdz+whIgIedBryBgr3x6noqrp XAElMJ+pSpPff/67JTKgH0xylKsBlyY0hKFATFoD4RaCeyn5ztRYJDAsRPWOLsAYQSVl XC8Do1kH03sabdldXep/hElu7E3y3FNoUv7XhW0mYTNzTlQz97AL7A6kkF20NGxbQCO1 ZC8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=hA4LRV9A4O5lByu082AF+r8TBq5mlwhXlPd6iKRAlrQ=; b=1Cp/3viPK+28s8GNL9fNP4DbUpjl5pBbQ6cAHqlofwbvt2TONcGZ0h3lR4vWcMmqOn uJy3eJMnIMtEYyrFKZyexbY+CNZCYAMKvsQRKSnv86DD/a3vaFzIVmip3cgi3ycp60uu N8jQ518R44UM/jYOS4NgPUWd1FguDEWtypcAFaFgR7dw8m3jrjPzUqXbOLwGjhugv5tw EqD5F7/+l5gyt/H0hb8lOWwCZgtKf9cEXyzRMdg/UErNEX/Pu6WrlkCqfDd1Ev8DrHjW agnixWOt7Up01FUv7a1xXoWBUVazKXMUK8laNqyZYBdHSYGiPKyD/g+kuDDJs2srp3ud ZMRw== X-Gm-Message-State: AOAM531fsXv+YPEJU76SVRBQ8Qa/kdL+lg/orkadfFWTSSIIa1EyrYVe 5bwPP16qhm8ueRMaoT/+vJw= X-Google-Smtp-Source: ABdhPJwkGLnM5MoJuRg++lvQY2iRAZp0dMJzy87i5AlNEB1TfdY/EAM3BpAtMd3q2mAG6ybio0mEHw== X-Received: by 2002:adf:ee0d:: with SMTP id y13mr19470733wrn.427.1640749602049; Tue, 28 Dec 2021 19:46:42 -0800 (PST) Received: from localhost ([141.105.67.194]) by smtp.gmail.com with ESMTPSA id g187sm18660003wmg.40.2021.12.28.19.46.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Dec 2021 19:46:41 -0800 (PST) From: Ihor Radchenko To: John Mathena 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/)] In-Reply-To: References: Date: Wed, 29 Dec 2021 11:48:03 +0800 Message-ID: <874k6soyvg.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::433 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=yantar92@gmail.com; helo=mail-wr1-x433.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640749685; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=hA4LRV9A4O5lByu082AF+r8TBq5mlwhXlPd6iKRAlrQ=; b=Dce0tqAV2XHHj1h70J7OxZza//PvELA8oVqUSNundTTVDkK1/r8ZIisF4qKJqFs9CqMiCL 3CZa8pqY8Pj1xoii/dEuHnG5wY6JTdEI+jRucidBpPi3Z8u9GMaizHy7VNYneSw2Tsljpi 0XwYlA9yt1+XAIYav42ZuKdBlRmFkCs9EMcQsbYMpbqDdES+auNG60TXBlOVfmLX8EMoVt RnoT8yya3sc63qecTxpZe69854vsax4xvW5aj40Keh1GWsmoppk+lfxUcGgu7ikUvwp23s JLZY++3cJmrecbt2iir0H1i8irEyxJo1b+u2axJlDmmEpodN75BiZZ3KrHfUlg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640749685; a=rsa-sha256; cv=none; b=IbI367zI4q53dyRg85QoY4Ao5EqMifvTb5sv8JEjVUmxfg5Wnsvr5BWZSVa8qdCPp2A+H0 WbTOmVaJtDobyv2cKE4j/PSaoaciCDJKyRwDITN86PzEFl/1Uz/DrceRlkBlj3jhvGkXfH dDmKWVMFu4GBefCI7wg7j9k7fr98LbHxpTURrjV+RPHCL84iimrtlJqotReKAHS8+mDMav 1AaVUAafvLumPpvJSO7rICWgTBzbXXkMrv8Ub+b92eHnyGL676Ur3LljDPkp5o41isE4FG rDq+VLYjxJsHcviTPUkQBkpyL+d4WB4HfBB8sVgUvFozfRCv14VVNB5eSElmFw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Nrc1BOlH; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.77 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Nrc1BOlH; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 31D8ECD9E X-Spam-Score: -3.77 X-Migadu-Scanner: scn1.migadu.com X-TUID: PMqayRGl3I3T John Mathena 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