[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Setting up user defined texinfo headlines using outline-heading-alis
From: |
Christopher Dimech |
Subject: |
Re: Setting up user defined texinfo headlines using outline-heading-alist |
Date: |
Fri, 14 May 2021 05:49:35 +0200 |
I would be grateful for some explanation of variables "outline-regexp" and
"outline-heading-alist".
texinfo.el sets both "outline-heading-alist" and "outline-regexp", the latter
from the
other using the same variable "texinfo-section-list".
Do we really need to have both outline-heading-alist and texinfo-section-list,
because
as far as I can see we are using the same definition of headings and levels
with the
variable "texinfo-section-list".
> Sent: Friday, May 14, 2021 at 7:13 AM
> From: "Yuri Khan" <yuri.v.khan@gmail.com>
> To: "Christopher Dimech" <dimech@gmx.com>
> Cc: "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
> Subject: Re: Setting up user defined texinfo headlines using
> outline-heading-alist
>
> On Fri, 14 May 2021 at 01:35, Christopher Dimech <dimech@gmx.com> wrote:
>
> > It is then very easy to tell a user to learn more elisp, rather than
> > convince a
> > developer to be consistent and write in ways that assist in the reuse of
> > their
> > code.
>
> Yeah, much of the code in and around Emacs assumes the user can read,
> and often also write, Elisp.
>
> If you find outline-regexp in a docstring and you want to know where
> it’s defined and how it’s used, your best bet is to invoke
> xref-find-references on it and skim through the code.
>
> If you want to know how to have headings fontified, M-x find-library
> RET outline RET, then search for “face”, eventually find a variable
> ‘outline-font-lock-keywords’ and its use in ‘outline-mode’ but not in
> outline-minor-mode (probably because with outline-minor-mode you
> already have some fontification by the major mode). Maybe find a way
> to add ‘outline-font-lock-keywords’ to the major mode’s
> ‘font-lock-defaults’, but that definitely requires some programming.
>
>
- Re: outline-heading-alist for elisp using ";; * ", (continued)
- Re: outline-heading-alist for elisp using ";; * ", Christopher Dimech, 2021/05/12
- Setting up user defined texinfo headlines using outline-heading-alist, Christopher Dimech, 2021/05/13
- Re: Setting up user defined texinfo headlines using outline-heading-alist, Yuri Khan, 2021/05/13
- Setting up user defined texinfo headlines using outline-heading-alist, Christopher Dimech, 2021/05/13
- Re: Setting up user defined texinfo headlines using outline-heading-alist, Yuri Khan, 2021/05/13
- Re: Setting up user defined texinfo headlines using outline-heading-alist, Jean Louis, 2021/05/13
- Re: Setting up user defined texinfo headlines using outline-heading-alist, Christopher Dimech, 2021/05/13
- Re: Setting up user defined texinfo headlines using outline-heading-alist, Yuri Khan, 2021/05/13
- Re: Setting up user defined texinfo headlines using outline-heading-alist, Christopher Dimech, 2021/05/13
- Re: Setting up user defined texinfo headlines using outline-heading-alist, Yuri Khan, 2021/05/13
- Re: Setting up user defined texinfo headlines using outline-heading-alist,
Christopher Dimech <=
- Re: Setting up user defined texinfo headlines using outline-heading-alist, Stefan Monnier, 2021/05/13
- Re: Setting up user defined texinfo headlines using outline-heading-alist, Christopher Dimech, 2021/05/14
- Re: Setting up user defined texinfo headlines using outline-heading-alist, Jean Louis, 2021/05/13
Re: outline-heading-alist for elisp using ";; * ", Christopher Dimech, 2021/05/10
Re: outline-heading-alist for elisp using ";; * ", Jean Louis, 2021/05/11
Re: outline-heading-alist for elisp using ";; * ", Jeremie Juste, 2021/05/11