From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id UM/ICDdlEmfRcgEAe85BDQ:P1 (envelope-from ) for ; Fri, 18 Oct 2024 13:40:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id UM/ICDdlEmfRcgEAe85BDQ (envelope-from ) for ; Fri, 18 Oct 2024 15:40:07 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tuta.io header.s=s1 header.b=eAQ3rMt0; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729258807; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=luRBdn8oU90EBbn5J6QfXCbUhqjsX6/SvdXJhzQrbuw=; b=Gh0xezHyBYjYuVMKOOj0AEa5cvFtc7HoHZdZJ0GZocG9ixlgzS+ba/K4FNabxyIRg3FKKh ltymEmuj25r0RgobDLiTHQQpi2r3jflDNZKOY270E6kG9Hi4yEU8pJBJsqFaFOpqGWC31A eBvR7N9dvR/IeDUEwCpwtz83PzdpxHAcJEK/iUOe/w/aiEEG9r25Fw6Fw2nLVspjJqL6Lp Mwix50O5FJf7P+mf5m3iXlemiXkrdWiv5XZjjONRUXgSU31OkkT/c0pqmORiztGc5IVVEF fYKU7ph7hLK/sQ6TtBcbfig3MXOyWzQAsQWcEAa/103Kl4tEG6n4N+A+Ea81Pw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729258807; a=rsa-sha256; cv=none; b=RftaYxdxT4wszOGQEW8twLoh2214PrRTcf6L8ebZgyN6EKSbq3QmaFMLOlWnkTRa05yp57 w53OkrbhW7sra5fTOcSIpMEMwMHDQ0XeNI7wDdZRqnPj757NmIgWqvTqPAssXM0oRWXYlp oVeHKB10X0uvO2c1urS1EmX27y9oWgjfniEM3xBsCiWkFWOQCwIMrBSTT/G52J7fuib9bq e6cHsQN25QcrLfj6CH5OSEJpofWQB9kPEhetvA32blO2vODpYHzfXTIBOuwB+qmJWBK31s 11iPgrh2yWBsdGETAlfzDUuc2b2m4eQEW//3CEEIHxsuGy01vdz/Xabnsrf5OA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tuta.io header.s=s1 header.b=eAQ3rMt0; 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"; dmarc=pass (policy=none) header.from=gnu.org 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 A7B007E071 for ; Fri, 18 Oct 2024 15:40:06 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t1nCB-0006MH-Vj; Fri, 18 Oct 2024 09:39:12 -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 1t1jOx-0003LX-SS for emacs-orgmode@gnu.org; Fri, 18 Oct 2024 05:36:08 -0400 Received: from mail.w13.tutanota.de ([185.205.69.213]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t1jOv-0001Ak-KY for emacs-orgmode@gnu.org; Fri, 18 Oct 2024 05:36:07 -0400 Received: from tutadb.w10.tutanota.de (w10.api.tuta.com [IPv6:fd:ac::d:10]) by mail.w13.tutanota.de (Postfix) with ESMTP id 418842E7FC67 for ; Fri, 18 Oct 2024 11:35:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1729244131; s=s1; d=tuta.io; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender; bh=luRBdn8oU90EBbn5J6QfXCbUhqjsX6/SvdXJhzQrbuw=; b=eAQ3rMt0Qz7TkgxI8MfEtng6l23AZw3Wop+5rNQ4BRz0sK1kwfxN65pmxFiJmFlp APTGzzoW9cqcL/LpwEFSjeRSDmX6cvSp//1/HGeO76TcKa1T6YG9hE94jjkZxJUHI7W 7tHjk92u+igIHW5ZSewjIArfZM/nTij31uvlsThxu2dtDwUE2plBV4qzPwfTTDlc95t nH1AlR0iO6qA2Vzyk7X2uda7WmiptytORl2mb+ZenqnVUK3XSF+QJj+aAKLw5s70WyH TZ1HMFh/70UzBBXF5tUCpo9ganyiWeqDDJCl8C5uyk406sLjYBnQ1xLMWYdS0752jBC 1Eemd6YmJA== Date: Fri, 18 Oct 2024 11:35:31 +0200 (CEST) To: Emacs Orgmode Message-ID: Subject: [BUG] `org-format-outline-path` returns inproper `org-level-N` face for a heading if its level is not consequent from its parent heading. MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_184057_2112108361.1729244131263" Received-SPF: pass client-ip=185.205.69.213; envelope-from=daisysky@tuta.io; helo=mail.w13.tutanota.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 18 Oct 2024 09:39:09 -0400 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: , Reply-to: daisysky@tuta.io From: daisysky--- via "General discussions about Org-mode." 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-Migadu-Spam-Score: -3.28 X-Spam-Score: -3.28 X-Migadu-Queue-Id: A7B007E071 X-Migadu-Scanner: mx13.migadu.com X-TUID: 0EaDyVxRgLbo ------=_Part_184057_2112108361.1729244131263 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable From: apple@unix.mail-host-address-is-not-set To: emacs-orgmode@gnu.org Subject: [BUG] `org-format-outline-path` returns inproper `org-level-N` fac= e for a heading if its level is not consequent from its parent heading. [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)] Date: Fri, 18 Oct 2024 17:28:33 +0800 Message-ID: <87ldylahfi.fsf@unix.mail-host-address-is-not-set> --text follows this line-- Remember to cover the basics, that is, what you expected to happen and what in fact did happen.=C2=A0 You don't know how to make a good report?=C2= =A0 See =C2=A0=C2=A0=C2=A0=C2=A0 https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. ------------------------------------------------------------------------ For example, in an org-mode buffer ``` * Heading level 1 *** Heading level 3 ; where the point is at ``` Run `(org-format-outline-path (org-get-outline-path t nil))` in `eval-expression`. The output is `#("Heading level 1/Heading level 3" 0 15 (face org-level-1) 16 31 (face org-level-2))`. Which doesn't work as expected, it should add face of `org-level-3` instead= of `org-level-2`. Reproduced the same result by launching Emacs with `emacs -q`. ------------------------------------------------------------------------ Emacs=C2=A0 : GNU Emacs 29.4 (build 2, x86_64-unknown-linux-gnu, GTK+ Versi= on 3.24.43, cairo version 1.18.0) of 2024-10-13 Package: Org mode version 9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/li= sp/org/) ------=_Part_184057_2112108361.1729244131263 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
From: apple@unix.mail-host-address-is-not-set
To: emacs-orgmode@gnu.org
Subject: [BUG] `org-format-outline-path` returns inpro= per `org-level-N` face
for a heading if its leve= l is not consequent from its parent heading.
[9.= 6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)]
Date: Fri, 18 Oct 2024 17:28:33 +0800
= Message-ID: <87ldylahfi.fsf@unix.mail-host-address-is= -not-set>
--text follows this line--

Remember to cover the basics= , that is, what you expected to happen and
what = in fact did happen.  You don't know how to make a good report?  S= ee


Your bug report will be posted to the Org mailing list.
-----------------------------------------------------------------= -------

For example,= in an org-mode buffer
```
* Heading level 1
*** Heading level 3 ; wh= ere the point is at

= ```

Run `(org-format= -outline-path (org-get-outline-path t nil))` in
= `eval-expression`.

T= he output is `#("Heading level 1/Heading level 3" 0 15 (face org-level-1)
16 31 (face org-level-2))`.

Which doesn't work as expected, it should= add face of `org-level-3` instead of
`org-level= -2`.

Reproduced the = same result by launching Emacs with `emacs -q`.
=
-----------------------------------------------= -------------------------

Emacs  : GNU Emacs 29.4 (build 2, x86_64-unknown-linux-gnu, GTK+= Version 3.24.43, cairo version 1.18.0)
of 2024-= 10-13
Package: Org mode version 9.6.15 (release_= 9.6.15 @ /usr/share/emacs/29.4/lisp/org/)

------=_Part_184057_2112108361.1729244131263--