bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#48610: texinfo heading levels not highlighted by outline-minor-mode


From: Juri Linkov
Subject: bug#48610: texinfo heading levels not highlighted by outline-minor-mode
Date: Fri, 28 May 2021 01:33:54 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

> This is what I am using
>
> (defvar hdlevels
>    '( ("@chapter" . 1)
>       ("@section" . 1)
>       ("@subsection" . 2)
>       ("@subsubsection" . 3)
>       ;; ---------------------------------------------------------
>       ("@unnumbered" . 1)
>       ("@unnumberedsec" . 1)
>       ("@unnumberedsubsec" . 2)
>       ("@unnumberedsubsubsec" . 3)
>       ;; ---------------------------------------------------------
>       ("@appendix" . 1)
>       ("@appendixsec" . 1)
>       ("@appendixsubsec" . 2)
>       ("@appendixsubsubsec" . 3)
>       ;; ---------------------------------------------------------
>       ("@majorheading" . 1)
>       ("@chapheading" . 1)
>       ("@heading" . 1)
>       ("@subheading" . 2)
>       ("@subsubheading" . 3) )
>    "Sets heading names and levels for texinfo files." )

I tried your definitions, and then outlines are highlighted.

I wonder why outline-regexp defined in texinfo-mode is broken?
What would be a correct regexp for texinfo-mode?





reply via email to

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