emacs-devel
[Top][All Lists]
Advanced

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

Re: Cycling first N heading levels in outline


From: Kévin Le Gouguec
Subject: Re: Cycling first N heading levels in outline
Date: Mon, 24 May 2021 12:57:34 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Christopher Dimech <dimech@gmx.com> writes:

>> The convention used in ELisp is:
>>
>>    ;;; Section
>>    ;;;; Subsection
>>    ;;;;; Subsubsection
>>    ;;;;;; Subsubsubsection
>>    ;;;;;;; Subsubsubsubsection
>>    [...]
>
> The headings still look like comments, whereas they are supposed to get 
> highlighted
> according to the heading level.
>
> Could we get that to work in said way?

On Emacs master, the outline-minor-mode-highlight option allows you to
customize how headings are fontified:

> When t, it puts outline faces only if there are no major mode’s faces
> on headings.  When ‘override’, it completely overwrites major mode’s
> faces with outline faces.  When ‘append’, it tries to append outline
> faces to major mode’s faces.



reply via email to

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