Subject: bug#46878: 27.1; lisp-outline-level returns imprecise level number

From: Howard Melman <[email-masked]>
Date: Mon, 8 Mar 2021 12:38:08 -0500

On Mar 8, 2021, at 12:23 PM, Juri Linkov <[email-masked]> wrote:

> This is strange.  When trying this in emacs -Q and visiting
> a Emacs-Lisp file from the emacs repository and typing:
> 
> M-x outline-minor-mode RET
> 
> Then using repeatedly:
> 
> M-x outline-cycle-buffer RET
> 
> It consistently alternates between only two states:
> 
> Show all
> All headings
> 
> But after evaluating your version of lisp-outline-level,
> it alternates between three states:
> 
> Show all
> Top level headings
> All headings

That is strange.  Is outline-regexp changing?  (I'm not on Emacs 28 so I can't check.)

Howard