emacs-devel
[Top][All Lists]
Advanced

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

Re: hideshow.el: permanent local variables


From: David Kastrup
Subject: Re: hideshow.el: permanent local variables
Date: Fri, 02 Mar 2007 09:37:43 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.94 (gnu/linux)

Richard Stallman <address@hidden> writes:

>     hideshow.el gives several variables the permanent-local property:
>
>     hs-minor-mode, hs-c-start-regexp, hs-block-start-regexp
>     hs-block-start-mdata-select, hs-block-end-regexp, hs-forward-sexp-func
>     hs-adjust-block-beginning
>
>     I don't understand why this is desirable; indeed it leads to at least
>     one problem.
>
> The reason for giving something a `permanent-local' property is so it
> will survive a change in major modes.
>
> I don't know what's going on hideshow, but is there some reason one
> might want these settings to survive a change in major mode?
> (It does seem unlikely.)

Maybe something to do with mmm-mode?  I don't know how this works in
detail.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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