emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC] Add :invisible face attribute


From: Michal Nazarewicz
Subject: Re: [RFC] Add :invisible face attribute
Date: Sun, 22 Dec 2024 16:28:40 +0100

>> Kévin Le Gouguec <kevin.legouguec@gmail.com> writes:
>>> Drive-by idea, from another org-hide-leading-stars user who encounters
>>> the first bug occasionally (or rather, a variant thereof, when
>>> highlighting headings with faces like region or hl-line):

> Ihor Radchenko <yantar92@posteo.net> writes:
>> IMHO, this is not a bug, but a feature :)

On Sun, Dec 22 2024, Kévin Le Gouguec wrote:
> Yeah, there is some appeal in revealing the actual text when
> highlighting it or moving over it (which of course, spelled like that,
> brings to mind the reveal-mode integration in authinfo--hide-passwords,
> but not sure there's anything interesting to take out of that free
> association).
>
> (Does the :invisible attribute preserve that "feature"?)

Yes, in fact :invisible is arguably better because the effect can be
configured.  You can add :invisible nil to region or hl-line face and
then the stars are show; or you can leave :invisible unspecified and the
stars remain hidden.

-- 
Best regards
ミハウ “𝓶𝓲𝓷𝓪86” ナザレヴイツ
«If at first you don’t succeed, give up skydiving»



reply via email to

[Prev in Thread] Current Thread [Next in Thread]