From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kJxSFx5x12FrSgAAgWs5BA (envelope-from ) for ; Thu, 06 Jan 2022 23:45:50 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QKKBFB5x12EINwAA9RJhRA (envelope-from ) for ; Thu, 06 Jan 2022 23:45:50 +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 26525401D4 for ; Thu, 6 Jan 2022 23:45:50 +0100 (CET) Received: from localhost ([::1]:39852 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n5bW0-0004Sd-T3 for larch@yhetil.org; Thu, 06 Jan 2022 17:45:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56422) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5bT8-0001fc-Sd for emacs-orgmode@gnu.org; Thu, 06 Jan 2022 17:42:54 -0500 Received: from [2607:f8b0:4864:20::1036] (port=42525 helo=mail-pj1-x1036.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n5bT7-0005oh-C1 for emacs-orgmode@gnu.org; Thu, 06 Jan 2022 17:42:50 -0500 Received: by mail-pj1-x1036.google.com with SMTP id lr15-20020a17090b4b8f00b001b19671cbebso4672034pjb.1 for ; Thu, 06 Jan 2022 14:42:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=461CK3EYPbxo/pO2wW+yizpcVWN2koove/8vREMZkfs=; b=SbPYCF2wimXzjYVi5EzfHo2pvKRpQob+X3mLJde6mOok+CfTUxdeY8ttfSThFpBOWo iEt8jFypgLIzQK4rrUFJW1ANAKqzwjBon0hJadNYLY6yqqUFvjpTRsDK8rQ4edHspY/2 IHWoxLk+rLn7hEgDlyVkKMZOLxn6OWanzmhpkyo06emsC9Vj6kRaAk7KuhEZ0+pQuLGz IC3GMhZEO05ge4r44djySIaZ1R1/WT+hTO0z18ydH4k7Oxee4LjPEELp1d8DIMJfF0qS Gs5+UzgpJWJZY3d24+r1AJLXhlUAiOWd132g6EPHD7S05b7NHqgoDCyco3b63CSsuIo0 2zlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=461CK3EYPbxo/pO2wW+yizpcVWN2koove/8vREMZkfs=; b=1S6AfQcWOMclM04PQoM53e/RYPOqOkYO72PiVSwR26BvJ+rlt96uh/8eQjmLRHzK7B u9AXmNxS7cjd8kkHsBMxe0v+MhcrMSUZU/FZhUNfrStw3x4XY4YPkpljeYMrvOjwjDVH pn7/Xp3b930vA/G/aDM7jUtyR1Z7XufDc5ozwH5LiY8+wRJVTQl2HBM5niuDi7h6tdeq Pka+FPyJERErw/4Icf4fXpOZkHRs7R4OsB8jC10tTCPKCQwzh34jrBV9KlfQvkt6LnJH shrGNtOVCglPYaJTVUM+7fCKQInr26z1T6/YnSBbNkEnH0tN6H1l2uIzGJi7w/DE5yNO 3wSg== X-Gm-Message-State: AOAM531YwEpaxXI+q8vcxYYPGkc915LZf1/wX4l6guaiocDchSdYEUcp c99p7Jkb6cAxTXW6akIY+pyCcaJk7YUO3JqTdVA= X-Google-Smtp-Source: ABdhPJwufDQDCe2h6xAMPVzN3Mun3MMT35vqSbEMxJ+80DnR9BNKa2A59fdD7NiXbFLoyDIsMv/MC1TS2z/PVzZF3Lk= X-Received: by 2002:a17:90a:7e81:: with SMTP id j1mr9451877pjl.14.1641508966404; Thu, 06 Jan 2022 14:42:46 -0800 (PST) MIME-Version: 1.0 References: <874k6soyvg.fsf@localhost> <87h7aonerx.fsf@localhost> In-Reply-To: <87h7aonerx.fsf@localhost> From: John Mathena Date: Thu, 6 Jan 2022 16:42:35 -0600 Message-ID: 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/)] To: Ihor Radchenko Content-Type: text/plain; charset="UTF-8" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::1036 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::1036; envelope-from=jmmathena@gmail.com; helo=mail-pj1-x1036.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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_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=1641509150; 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=461CK3EYPbxo/pO2wW+yizpcVWN2koove/8vREMZkfs=; b=P2GFlRxvE6N48a4emuI+Aaetc9pI8zO2mnIoaQ0cQkg6jH1cfkv56tOHOB32ehE937FpHb xK9NIxVovRujUHSa2V/s6CRmRv93LQdL2wZ842XCfGDV1Ys1KON9He9INdOGvLa40YsA9P TPpcKfdsKb4NfxJiv2ZDVu03Yk1Y9w+1VVnjz19KQ/dcnR+xakbjbHXvm1pu3R8FhWzGaM eqNXLfCb8dgeFEcUtZAt2fh5kyHJ7u/MihWZvC2i2VsH9WPWKX4t+7rnQZt1JVKd9AWdQO 9fZW79KmvDCyErPk1CxuqQRnJxn48g97E3xhX5LFdptZWfSrgyzRztSrvo4yEg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641509150; a=rsa-sha256; cv=none; b=q7qhd8+MlZ9eIBBLeTXSVE568Vztzj5+h/OO6P7K/9iDb5dm+Awl+PCpzXsGt7YXelrebS 9sh5+RwA0+sk2MsR4uEaXyEnGWPu/PpEOUYItKZ1AlTACb06EKpzDFcgDC/BFrbFBZdLhq rX3Gmsa8uw6v2E9T8fl5fV02eQeDHVhQueo5NBM8KluTLdUClmbXbr2H0ra/sk1hPYF2xY bJP0QSltycVsIsem1CoejoLaleAk6dH4CbuWO1YHIlzArgWdOAXt6cgN8vCQP58duuHUAb LboEZ1C8mfnKKLh8+JQL5IZ6KVsGRQuK05cxFrT+FFR3zFAO0AFU+JFCtgTSsg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=SbPYCF2w; 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: -4.30 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=SbPYCF2w; 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: 26525401D4 X-Spam-Score: -4.30 X-Migadu-Scanner: scn1.migadu.com X-TUID: SK0GOkugbfEj > 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