From: Stefan Monnier <monnier@iro.umontreal.ca>
To: David Kastrup <dak@gnu.org>
Cc: Glenn Morris <rgm@gnu.org>, rms@gnu.org, emacs-devel@gnu.org
Subject: Re: hideshow.el: permanent local variables
Date: Fri, 02 Mar 2007 10:49:37 -0500 [thread overview]
Message-ID: <jwvzm6v1xt0.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <85tzx49h2g.fsf@lola.goethe.zz> (David Kastrup's message of "Fri\, 02 Mar 2007 09\:37\:43 +0100")
>> 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.
I don't think it's got to do with mmm-mode (it might even predate it).
More likely it was just an arbitrary decision.
I believe hs-minor-mode should not be permanent. Just like
outline-minor-mode.
Stefan
PS: Note, that if you remove the permanent-local property from these
variables, then you have to add a change-major-mode-hook to turn off the
minor-mode explicitly (so that it erases the overlays).
next prev parent reply other threads:[~2007-03-02 15:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-01 22:07 hideshow.el: permanent local variables Glenn Morris
2007-03-02 8:26 ` Richard Stallman
2007-03-02 8:37 ` David Kastrup
2007-03-02 14:37 ` Lennart Borgman (gmail)
2007-03-02 15:15 ` David Kastrup
2007-03-02 15:49 ` Stefan Monnier [this message]
2007-03-04 20:51 ` Glenn Morris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvzm6v1xt0.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=dak@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=rgm@gnu.org \
--cc=rms@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).