From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id COmKCyAlg2MsXwEAbAwnHQ (envelope-from ) for ; Sun, 27 Nov 2022 09:51:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MBN1CyAlg2Nu/gAA9RJhRA (envelope-from ) for ; Sun, 27 Nov 2022 09:51:44 +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 AA04A1E3F6 for ; Sun, 27 Nov 2022 09:51:43 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ozDNF-0007WP-Ec; Sun, 27 Nov 2022 03:50:53 -0500 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 1ozDNE-0007W8-1S for emacs-orgmode@gnu.org; Sun, 27 Nov 2022 03:50:52 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ozDNB-0004ne-Rt for emacs-orgmode@gnu.org; Sun, 27 Nov 2022 03:50:51 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 4AF31240101 for ; Sun, 27 Nov 2022 09:50:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1669539047; bh=Y+vimda/31iRqKvE/oQTnTji0svwJuLI8QQIqPGgYAY=; h=From:To:Cc:Subject:Date:From; b=dk02fRoy+OG4TzJ0YThmwW4h2MvMltax7bKcTWloA8DUGt4jRECSIsCAd1Iyo0t4Y QnWhZXsnQgj9cGJWZ+y9IRSstD5nKzA2FsoDs9AcP8gfMxFDnG5bkRdHPmX5bDHdUA b9fSrdKwypTCsYGPkYAYF85ktx1ZefjJnYVtAJhshS16TLd0w6BfnfnHUk//27vrrd ichXo++5p1GiGpRz0VSJK2FD9yoz4PfIjj77V3iJNDEVFpXMW9w3XYa/ftatOVKabF u9GS2pWgWPv2bRU51VHXlFUbCf3s9tiBYddpyK22Yf8xNMEfNxQ4eKdzdTUk314I62 KF9VJghrv+3vA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NKj460B82z6tm9; Sun, 27 Nov 2022 09:50:45 +0100 (CET) From: Ihor Radchenko To: Kaushal Modi Cc: emacs-org list , Nicolas Goaziou Subject: Re: Possible bug in `org-subtree--get-subtree-options`? In-Reply-To: <87pmephisr.fsf@localhost> References: <87pmephisr.fsf@localhost> Date: Sun, 27 Nov 2022 08:51:24 +0000 Message-ID: <87fse4ixv7.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669539104; 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=z06+9uwpaaNRSGKpBmMLXXX5IqzWYFBS800zc1ZXFJQ=; b=ZZj9S3oPcq7YH4R+antbdvG0uXMZ6CL0TaNW1EdjCqbNMGVTNuIAMPYS+P1swlKOni6XRN baouI1DJDdxc7wUyG7FvcLsXtiltgiUW0knYzc9dZTZkbtZ1kbaJ557mLJHSxL+wYXRKUt RYyrzIh2EzCjdcKlz+uzZrS/q7lR9E8FjlQgJ/qRVb56mqRk8GbmpSLm5DYxcZgHKXgwsa hR81n+qHP95s2hr6Md/pEDYvyUNU2hnOGbAW7eCMAQMxYKfdsueETesXp0iZWtUZP0/BSI 6xLxHVNkvm3NmNlo/VSGHgiDBiWXenDuROzjaA3Q2RbcLzlcKSWRpI5UAEn+4g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669539104; a=rsa-sha256; cv=none; b=t3gihtqa3NEaO/raYYDaVhpttZmq2hADFYmOYzF6UT8rlKl25me2Ut5yfXKBzE/MV9PKdf yFZXtEvfZGzR5IjkDP/DoDi5jYJYm4J+fCNJ/3rBGdQ2d8Qav7/75wT5v0uYr30tsGIcgA qNb8/+ySF8AVP/aVmQFM/rev6dxul+lZG0dc1GdmHxeirh69GkaDnZycw2ufI0U0LO64e6 91xBIIMyWC65LqaODIALylw2xkCHegGpf0GtUR8xadX4N02wDQ0OG47lJS4irB6bFEGNmh s9Na7XXyNdGHX3iEOIJZyiuYsXVU98a1AP74lPKInv1OLjKONcU/pIqJY82+vQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=dk02fRoy; dmarc=pass (policy=none) header.from=posteo.net; 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: -8.26 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=dk02fRoy; dmarc=pass (policy=none) header.from=posteo.net; 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: AA04A1E3F6 X-Spam-Score: -8.26 X-Migadu-Scanner: scn0.migadu.com X-TUID: Fk+yF2wDB8hx Ihor Radchenko writes: > Not really swapped. A simple (org-back-to-heading t) will probably be > enough. See the attached patch. > > However, I am concerned that one of the tests is actually assuming that > current subtree in the below example includes "Heading". No concerns have been raised. Applied onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=927621910 Fixed. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at