From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Toby Allsopp <toby@mi6.gen.nz>
Cc: "Lennart Borgman \(gmail\)" <lennart.borgman@gmail.com>,
Emacs Devel <emacs-devel@gnu.org>
Subject: Re: Why is make-variable-buffer-local interactive?
Date: Fri, 21 Mar 2008 13:59:09 -0400 [thread overview]
Message-ID: <jwvy78cgdsl.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87od98va12.fsf@candyboy.here> (Toby Allsopp's message of "Fri, 21 Mar 2008 19:58:01 +1300")
>> Does it really make sense to do such changes interactively? If you
>> know what you are doing when you call this function then surely you
>> know how to do it in elisp, or?
> FWIW, I use M-x make-variable-buffer-local quite often while editing
> Perl code using cperl-mode. I find that I quite often want different
> values of `cperl-indent-level' in different buffers. Perhaps this means
> I should just put (make-variable-buffer-local 'cperl-indent-level) in my
> .emacs.
This is not a good use case for make-variable-buffer-local. It's a use
case for make-local-variable (or something along these lines: maybe
there should be a M-x set-var-locally).
Stefan
next prev parent reply other threads:[~2008-03-21 17:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-19 20:16 Why is make-variable-buffer-local interactive? Lennart Borgman (gmail)
2008-03-20 14:14 ` Stefan Monnier
2008-03-21 6:58 ` Toby Allsopp
2008-03-21 10:57 ` Lennart Borgman (gmail)
2008-03-21 18:39 ` Toby Allsopp
2008-03-21 17:59 ` Stefan Monnier [this message]
2008-03-21 18:36 ` Juanma Barranquero
2008-03-21 18:45 ` Stefan Monnier
2008-03-21 18:57 ` Toby Allsopp
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvy78cgdsl.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=lennart.borgman@gmail.com \
--cc=toby@mi6.gen.nz \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.