[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: headings for texinfo-mode using outline-minor-mode
From: |
pietru |
Subject: |
Re: headings for texinfo-mode using outline-minor-mode |
Date: |
Wed, 12 May 2021 14:48:20 +0200 |
Having outline-minor-mode set outline-heading-alist and outline-regexp form the
different languages (elisp, texinfo). Then each major mode could use it when
outline-minor-mode is activated. Currently, each language sets its own.
But it seems to me that outline-minor-mode could do that. Everything would then
be well contained, rather than spread around the various major-modes.
> Sent: Thursday, May 13, 2021 at 12:34 AM
> From: "Stefan Monnier" <monnier@iro.umontreal.ca>
> To: pietru@caramail.com
> Cc: help-gnu-emacs@gnu.org
> Subject: Re: headings for texinfo-mode using outline-minor-mode
>
> >> `texinfo-mode` is one of the rare modes which explicitly sets
> >> `outline-heading-alist`, so you have the answer in there ;-)
> >
> > Would it not be better for outline-minor-mode to set "outline-heading-alist"
> > for each language.
>
> Better for what?
>
> > Then, in each language mode, one simply calls the
> > appropriate function.
>
> Which function?
>
>
> Stefan
>
>
- headings for texinfo-mode using outline-minor-mode, pietru, 2021/05/11
- Re: headings for texinfo-mode using outline-minor-mode, Jean Louis, 2021/05/12
- Re: headings for texinfo-mode using outline-minor-mode, Christopher Dimech, 2021/05/12
- Re: headings for texinfo-mode using outline-minor-mode, Stefan Monnier, 2021/05/13
- Re: headings for texinfo-mode using outline-minor-mode, Christopher Dimech, 2021/05/13
- Re: headings for texinfo-mode using outline-minor-mode, Robert Thorpe, 2021/05/13
- Re: headings for texinfo-mode using outline-minor-mode, Christopher Dimech, 2021/05/13
- Re: headings for texinfo-mode using outline-minor-mode, Jean Louis, 2021/05/13