emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: daisysky@tuta.io
Cc: Emacs Orgmode <emacs-orgmode@gnu.org>
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.
Date: Sat, 19 Oct 2024 07:33:01 +0000	[thread overview]
Message-ID: <87r08cwnrm.fsf@localhost> (raw)
In-Reply-To: <O9Xr56X--B-9@tuta.io>

[ 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 <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


      parent reply	other threads:[~2024-10-19  7:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-18  9:35 [BUG] `org-format-outline-path` returns inproper `org-level-N` face for a heading if its level is not consequent from its parent heading daisysky--- via General discussions about Org-mode.
2024-10-18 17:33 ` Ihor Radchenko
2024-10-18 17:42   ` Ihor Radchenko
     [not found]     ` <O9Xr56X--B-9@tuta.io>
2024-10-19  7:33       ` Ihor Radchenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r08cwnrm.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=daisysky@tuta.io \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).