help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: outline-heading-alist for elisp using ";; * "


From: Jean Louis
Subject: Re: outline-heading-alist for elisp using ";; * "
Date: Tue, 11 May 2021 17:22:43 +0300
User-agent: Mutt/2.0.6 (2021-03-06)

* Christopher Dimech <dimech@gmx.com> [2021-05-11 16:16]:
> Have made the following function.  I alse want to be able to select the
> defalt headings for elisp which I think is ";;; Heading"
> 
> Having difficulties on what modifications I need to do.
> 
> (defun headline-elisp (hdl)
>    "todo"
> 
>    (pcase hdl
>      (1
>         (defvar rgc ";;; \\*+ "))
>      (_
>         (defvar rgc ";;; \\([A-Za-z]\\|[IVXLCDMivxlcdm0-9]+\\) | ")) )

It does not look right. The headline regexp looks only for beginning
stuff, it is not all inclusive.


-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

Sign an open letter in support of Richard M. Stallman
https://stallmansupport.org/
https://rms-support-letter.github.io/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]