From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id OLQQK19w2mSTqgAASxT56A (envelope-from ) for ; Mon, 14 Aug 2023 20:20:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id YM3oKl9w2mQoXAAAauVa8A (envelope-from ) for ; Mon, 14 Aug 2023 20:20:15 +0200 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 063514FBA3 for ; Mon, 14 Aug 2023 20:20:15 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=thebeckmeyers.xyz header.s=selector1 header.b=fV8xCQW5; dmarc=pass (policy=quarantine) header.from=thebeckmeyers.xyz; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692037215; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Sub/XqdnhK2dUeiDoNMmhE92kqGAsicYer3PV9TJZ88=; b=VY56D4pMTy/qwz85Xu2NOIvo9rOdopQ3ag29GPhKQxURzA8kOobrjNigppTmp03y7bK7Pn l6EYJEx3N5lnxTpH1d9yIrz6iZnCLwfvdg/GARgfN9vvNQeVYSRL4eHe3wWTwErghtju/i B3QiLYkglu6mEQ883iwJxEfQTOVL5wtQqpfMxsX9oP3cV4fGYlPEBs/bnRTSPY7EIeLZ/6 x2sppCbITr4BSnrCe/C+Awfsl5080+o53qMfX5ywivVPmmmZVoYkocwXSjcYf9W9g/GPxz sgAoD8wKzHB5bXanC/MFveyUMtFImbDfCk56W9KQDinhERiY5BXwWMfEFRGsaA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=thebeckmeyers.xyz header.s=selector1 header.b=fV8xCQW5; dmarc=pass (policy=quarantine) header.from=thebeckmeyers.xyz; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692037215; a=rsa-sha256; cv=none; b=Kw+BL15KfKZrpSW46GoUo8oFy3gmAnp+N+3QdTZZPa+KZW2gE7WdU/toSX6RYwMKTUxFTq cqYE/pDKiyCRVjy6FaM2qd/OESF5q0wuVgqA6pVgwqEXacJHQb5MBCEg3lP8gezpcz1vP+ CzpbX2gtpv0u1Tgc9Q/jVWRXYqPP6WuFG4oSsavKYXvZKnLix+8W6jGrqwJmsGCeXRK3cE ytd50i5RQ/3Rctpkl9usdC2PT2yam0mjnzI+cMev0y2vThkuaJlWIFKPh87QqeIUOWO5rc 4XaPc8rrCVePIgndkbeYacoGWY9FzjPXZaPQbbSMIQaInpDiZ1C+nYlH/1pH5g== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qVc9x-0008Vl-28; Mon, 14 Aug 2023 14:19:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qVc9v-0008VN-3J for emacs-orgmode@gnu.org; Mon, 14 Aug 2023 14:19:19 -0400 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qVc9t-0008IE-2H for emacs-orgmode@gnu.org; Mon, 14 Aug 2023 14:19:18 -0400 Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1qVc9o-00F1S0-18 for emacs-orgmode@gnu.org; Mon, 14 Aug 2023 20:19:12 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=thebeckmeyers.xyz; s=selector1; h=Message-Id:Date:Subject:To:From: MIME-Version:Content-Transfer-Encoding:Content-Type; bh=Sub/XqdnhK2dUeiDoNMmhE92kqGAsicYer3PV9TJZ88=; b=fV8xCQW5xqBTiQ4B39X0RAdupM 8t6t0AaF9cb21w+gTIwCVvI/5SJpty3GFWGgwVLFXYFN+DFdawd3Ia3/tw6dlTjyW91Su77kfLjFw 3CpPh8DOfyWf/qSyTVFJzQt4QM+rn73msag+IYmCgxDAFD/EJfaymkzNt2RhjsZwbFvL3rzhxAklT Mc7Abo8sdJnEC6vMvdxXE8RI0hHzv24M1Q2O57HbQZI5fv3VQ6j1EE72pA/N3e1uIFwgXGTIDFLt/ 3McXfSIakWBGJS1UJIgAfqoTFrkiN/QysrjuVx3h31p1afZLv7XgmdjJx+3jXFEX0wQg8mLkVG6v2 ljOGl2WQ==; Received: from [10.9.9.128] (helo=rmmprod06.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qVc9n-0006UB-AG for emacs-orgmode@gnu.org; Mon, 14 Aug 2023 20:19:11 +0200 Received: from mail by rmmprod06.runbox with local (Exim 4.86_2) (envelope-from ) id 1qVc9n-0006Ti-92 for emacs-orgmode@gnu.org; Mon, 14 Aug 2023 20:19:11 +0200 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Received: from [Authenticated alias (738933)] by runbox.com with http (RMM6); for ; Mon, 14 Aug 2023 18:19:11 GMT From: "Adam Beckmeyer" To: "emacs-orgmode" Subject: =?UTF-8?Q?=20=09[BUG]=20org-set-tags-command=20hangs=20indefinitely=20in=20some=20indirect=20buffers?= Date: Mon, 14 Aug 2023 14:19:11 -0400 (EDT) X-RMM-Aliasid: 738933 X-Mailer: RMM6 Message-Id: Received-SPF: pass client-ip=2a0c:5a00:149::26; envelope-from=adam_git@thebeckmeyers.xyz; helo=mailtransmit05.runbox.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001 autolearn=ham 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -6.28 X-Migadu-Queue-Id: 063514FBA3 X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -6.28 X-TUID: yjIGukV8vYa+ Hi everyone, In some of my files, org-set-tags-command hangs indefinitely when invoked i= n an indirect buffer. Attached is an example file where you can see the beh= avior: 1. Open this file in org-mode. 2. Invoke org-tree-to-indirect-buffer in the "Hello World" heading 3. Invoke org-set-tags-command in the new indirect buffer. I noticed this problem on git master but bisected and found the bug was int= roduced by: https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id= =3D2f7b35ac89470f17937f5c20524c38db103aaa4c Here's a backtrace when C-g in the middle of the hanging `org-set-tags-comm= and`: Debugger entered--Lisp error: (quit) org-element-headline-parser(990890 t) #f(compiled-function (limit &optional granularity mode structure) "Parse th= e element starting at point.\n\nReturn value is a list like (TYPE PROPS) wh= ere TYPE is the type\nof the element and PROPS a plist of properties associ= ated to the\nelement.\n\nPossible types are defined in `org-element-all-ele= ments'.\n\nLIMIT bounds the search.\n\nOptional argument GRANULARITY determ= ines the depth of the\nrecursion. Allowed values are `headline', `greater-e= lement',\n`element', `object' or nil. When it is broader than `object' (or\= nnil), secondary values will not be parsed, since they only\ncontain object= s.\n\nOptional argument MODE, when non-nil, can be either\n`first-section',= `item', `node-property', `planning',\n`property-drawer', `section', `table= -row', or `top-comment'.\n\n\nIf STRUCTURE isn't provided but MODE is set t= o `item', it will be\ncomputed.\n\nThis function assumes point is always at= the beginning of the\nelement it has to parse." #)(990890 element nil nil) org-element--parse-to(990890) org-element-at-point(990890) org-element-cache-map(#f(compiled-function (el) #)) org-get-buffer-tags() org-set-tags-command(nil) funcall-interactively(org-set-tags-command nil) command-execute(org-set-tags-command) Emacs : GNU Emacs 29.1 (build 2, x86_64-unknown-linux-gnu, X toolkit, cairo= version 1.16.0) of 2023-08-02 Package: Org mode version 9.7-pre (release_9.6.6-412-g2f7b35 @ /home/adam/.= emacs.d/straight/repos/org/lisp/) Best ---- Adam Beckmeyer