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: Richard Stallman
Subject: Re: hideshow.el: permanent local variables
Date: Fri, 02 Mar 2007 03:26:15 -0500

    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.)




reply via email to

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