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: Wed, 12 May 2021 07:00:23 +0300
User-agent: Mutt/2.0.6 (2021-03-06)

* Christopher Dimech <dimech@gmx.com> [2021-05-12 04:46]:
> I fully understand now.  outline-minor-more must be revamped.  For instance, 
> it should
> actually look for "(defun ", rather than for the simplistic "(" on a
> new line.

If it would be just `defun' but it is not.

I think simplistic approach is good as anything could be there in
parenthesis in the first column. Lisp has multiple paradigms and lines
of a high level program could as well consist of functions which do no
call defun directly, as functions could be already defined.

There is no possible simple definition for what you mean. People use
function aliases, I was recently handling `defil' alias from GNU
Hyperbole development version. There can be unlimited number of
aliases and macros that will written on the first column.

(defalias 'definiere 'defun)

(definiere meine-sache ()
   "Nichts für Dich")

(meine-sache) ⇒ "Nichts für Dich"

-- 
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]