From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id GBANIHpgE2c6SQAA62LTzQ:P1 (envelope-from ) for ; Sat, 19 Oct 2024 07:32:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id GBANIHpgE2c6SQAA62LTzQ (envelope-from ) for ; Sat, 19 Oct 2024 09:32:10 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=iTeRN80o; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729323130; a=rsa-sha256; cv=none; b=pAGfLOxYbayXmWNLe+Mw+jn6op67jQrZXJlBH8lYEsXuSiN7AK2ji0zLpoh1KHQXYqEwP7 atZ4UcSOJBE9DGAbyqJWoqKnEgPnBl1JV7kIfOUYdGt7iadGj//MNKtCdU2JEJ+I5rzpEz NXJlqisTjaHcFugHtA3Q2jT/yTWTF9vyYH7k3rJCu1ijf/8LcQ658fjelHfF/daM/KeSXW 3KAwYQIMjuS/7J4sANQgl+Q3dlSRbkSnDJb8q0meFZj1WMzByS+AfyxV+6rC3R937e+XHD han/A+32FdhI+A7BmKeShkzs8K6bOarMvH+ijC+iI3zfWmp9J0TZnHcP8NGElA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=iTeRN80o; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729323130; 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=LeoI9T71ABtPrjz0CHkzW3bxXgvzm/3vGahE54DVwws=; b=HO4BIBVhjCKWQHRE6fuRUx+hDwao+5kp4OmywEuFbkeVusPIDjG61WLBmKKTzpKNOEa8CQ zfdgMNQUucnWnCSqa7XhLvHWZnFvpc/aHtEC2KhL9GMXAqNTR2zXp4xTeI3Id+ljxzJLgh AR/mv+23sMnC1NPnuy/NllgGgMTWjVZVCMR0THgQhr5R/QLzNaJMBZxPTDzpHyf3e7lNQt AgD9DDC2IxIKeO8Gq01Cz36COyX2t61DNSwyo3w2PfflQ0NXwR1hCBFgslqOpayHcWovYf 5PXOlWAmfopmwzu0rHapy2FdbZdHJ+glLZo97HA4fnArA44u2VKuK1ZrmXjLQw== 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 EBB4F7A6C1 for ; Sat, 19 Oct 2024 09:32:09 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t23vm-0006p4-LC; Sat, 19 Oct 2024 03:31:22 -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 1t23vl-0006oR-1j for emacs-orgmode@gnu.org; Sat, 19 Oct 2024 03:31:21 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t23vi-0004Rh-6b for emacs-orgmode@gnu.org; Sat, 19 Oct 2024 03:31:20 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 02657240027 for ; Sat, 19 Oct 2024 09:31:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1729323075; bh=6FS2DgzNmdatOx0ujD+srvsuCb2QMjb3tSOecotUghY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=iTeRN80oOUx34Ue3QvPTgX0nsAomXChkKnhO1NIjueONKGRoRg7wK9+xTorw9Oyfh Jmbmp+D6IX7xRfo3t95lwPg7sb/chDZZ+GxtPPyz0M3JTGsK9f8pfvwERM2+c8AH8T YdVLRA3seArixGaIQLPSuttVzntZqyJO2w7Lyd69bACtzPhbpnQb2ud3DTuIzOs+se tGoSdyZLtwZnfJ1wze0m8i0lO8z+an1PiXlT3YSvt3xV55woRJVH/KSp32t6ZdkWWx Z6VXnBjW3DVBV757GQtz5U708LK3Tsn4xxBLM00cz4H2uwlVsio2A/bB0IanP87Gry Q2EMkchcgabCg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4XVtXy3vxDz9rxB; Sat, 19 Oct 2024 09:31:14 +0200 (CEST) From: Ihor Radchenko To: daisysky@tuta.io Cc: Emacs Orgmode Subject: Re: [BUG] `org-format-outline-path` returns inproper `org-level-N` face for a heading if its level is not consequent from its parent heading. In-Reply-To: References: <87ed4dxqnh.fsf@localhost> <878qulxq8h.fsf@localhost> Date: Sat, 19 Oct 2024 07:33:01 +0000 Message-ID: <87r08cwnrm.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.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_H3=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-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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -5.25 X-Spam-Score: -5.25 X-Migadu-Queue-Id: EBB4F7A6C1 X-Migadu-Scanner: mx10.migadu.com X-TUID: tPITwGEQQ847 [ Adding Org mailing list back to CC to keep the conversation public ] daisysky@tuta.io writes: > It works with org-mode's native functionalities, but doesn't integrate well for some third-party packages such as `consult-org-heading`, `consult-outline`, and other commands that do mini-buffer completion for org headings. > > They reply on `org-format-outline-path`, the accuracy of color of each heading level matters when displaying headings' outlines as candidates in a mini-buffer for completion. > ... > It's supposed to not be a bug, but, the working logic is indeed weird to have been this, the returned face should be corresponding to the heading level, but it's not. In other words, some other packages are making wrong assumptions about `org-format-outline-path' + `org-get-outline-path' combination. Have you tried to report the problem to the author of consult? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at