Subject: Re: bug#64177: outline-minor-mode-highlight fails to activate for custom headings

From: uzibalqa <[email-masked]>
Date: Sat, 24 Jun 2023 12:21:47 +0000

------- Original Message -------
On Thursday, June 22nd, 2023 at 3:58 AM, Juri Linkov <[email-masked]> wrote:

> > > but many modes override this default with own function that ignores
> > > outline-heading-alist:
> > > 
> > > lisp-outline-level, c-outline-level, cperl-outline-level, perl-outline-level,
> > > tcl-outline-level, cfengine2-outline-level, conf-outline-level,
> > > nroff-outline-level, latex-outline-level
> > > 
> > > - all these ignore outline-heading-alist.
> > 
> > In the modes that override the default, outline-level could be
> > set up to use outline-heading-alist, avoiding the conditional.
> 
> 
> Patches are welcome to support outline-heading-alist in the
> aforementioned functions.

How does emacs-lisp-mode handle outline headings ?  Always setting the
defaults first, then the user can reset the variables outline-regexp, 
outline-heading-alist, and outline-level before enabling outline-minor-mode ?