[Top][All Lists]

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

Re: lisp-outline-level.

From: Lute Kamstra
Subject: Re: lisp-outline-level.
Date: Sun, 13 Feb 2005 19:13:40 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

David Kastrup <address@hidden> writes:

>>> Lute Kamstra <address@hidden> writes:
>>>> In (Emacs) Lisp mode, outline-regexp is ";;;;* [^ \t\n]\\|(" and
>>>> outline-level is lisp-outline-level:


> Ok, I did not realize that those functions were essentially hook
> functions, sorry.  However, I find that within a Lisp buffer I have
> outline-regexp's value is ";;;;* [^   \n]\\|("
> Local in buffer loaddefs.el; global value is "[*\f]+"


> and this just barely manages to avoid matching ;;;###autoload.  I am
> not sure whether this really is intentional.  Especially in light of
> the lisp-outline-level definition.
> So while I have no clue about the matter at hand, I would just want to
> suggest that it might be possible from the look of the previous code
> that outline-regexp was intended to also match ;;;###autoload, 

Yup, that's what Stefan hinted at.  My bad.

> or at least that it was considered a valid possibility for a user
> customization of outline-regexp in Lisp mode.  In either case it
> would not be wrong to keep the check.

Well, if you change outline-regexp, you should also check
outline-level as those variables work in concert.


reply via email to

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