From: David Kastrup <dak@gnu.org>
To: Miles Bader <miles@gnu.org>
Cc: Juanma Barranquero <lekktu@gmail.com>,
Drew Adams <drew.adams@oracle.com>,
emacs-devel@gnu.org
Subject: Re: face-remapping-alist client code
Date: Mon, 02 Jun 2008 17:28:32 +0200 [thread overview]
Message-ID: <8663sr97q7.fsf@lola.quinscape.zz> (raw)
In-Reply-To: <87iqwrzwsf.fsf@catnip.gol.com> (Miles Bader's message of "Tue, 03 Jun 2008 00:22:40 +0900")
Miles Bader <miles@gnu.org> writes:
> "Juanma Barranquero" <lekktu@gmail.com> writes:
>> - the variables `text-scale-mode-lighter',
>> `text-scale-mode-remapping', `text-scale-mode-amount' and
>> `variable-pitch-mode-remapping' would make more sense as
>> automatically buffer local, as they are always buffer-local'ized when
>> used.
>
> I somehow got the impression that make-variable-buffer-local was
> frowned upon. Dunno if it's true.
It depends. If a global value or at least default makes sense of its
own, I'd not use make-variable-buffer-local. For values that carry
information that only ever makes sense tied to a buffer, I'd use it.
This probably implies that it makes more sense with defvar rather than
with defcustom.
Don't know whether there is a general policy here.
--
David Kastrup
next prev parent reply other threads:[~2008-06-02 15:28 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-02 10:27 face-remapping-alist client code Miles Bader
2008-06-02 10:42 ` David Reitter
2008-06-02 10:45 ` Miles Bader
2008-06-02 13:13 ` Miles Bader
2008-06-02 14:19 ` Drew Adams
2008-06-02 14:44 ` Miles Bader
2008-06-02 14:50 ` Miles Bader
2008-06-02 15:09 ` Juanma Barranquero
2008-06-02 15:22 ` Miles Bader
2008-06-02 15:28 ` David Kastrup [this message]
2008-06-02 18:55 ` Stefan Monnier
2008-06-02 20:23 ` Drew Adams
2008-06-02 15:39 ` Juanma Barranquero
2008-06-02 18:54 ` Stefan Monnier
2008-06-02 15:56 ` Drew Adams
2008-06-02 15:09 ` Chong Yidong
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=8663sr97q7.fsf@lola.quinscape.zz \
--to=dak@gnu.org \
--cc=drew.adams@oracle.com \
--cc=emacs-devel@gnu.org \
--cc=lekktu@gmail.com \
--cc=miles@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 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.