GNU bug report logs - #48610
texinfo heading levels not highlighted by outline-minor-mode

Previous Next

Package: emacs;

Reported by: pauline-galea <at> gmx.com

Date: Sun, 23 May 2021 15:09:01 UTC

Severity: minor

Tags: notabug

Fixed in version 28.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 48610 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: pauline-galea <at> gmx.com
Cc: 48610 <at> debbugs.gnu.org
Subject: Re: bug#48610: texinfo heading levels not highlighted by
 outline-minor-mode
Date: Fri, 28 May 2021 01:33:54 +0300
> 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?




This bug report was last modified 4 years and 51 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.