From: David Reitter <david.reitter@gmail.com>
Cc: Emacs-Devel ' <emacs-devel@gnu.org>
Subject: Re: [david.reitter@gmail.com: tool-bar: frame-local tool-bar-button-margin]
Date: Tue, 25 Oct 2005 08:12:05 +0100 [thread overview]
Message-ID: <09B4354B-2FB2-4660-9C47-C6BFA897CCD4@gmail.com> (raw)
In-Reply-To: <87br1e1nko.fsf@stupidchicken.com>
On 25 Oct 2005, at 00:51, Chong Yidong wrote:
>
> make-variable-frame-local:
>
> Enable the use of frame-local bindings for VARIABLE. This does
> not in itself create any frame-local bindings for the variable;
> however, if some frame already has a value for VARIABLE as a
> frame
> parameter, that value automatically becomes a frame-local
> binding.
>
> Using modify-frame-parameters followed by make-variable-frame-local, I
> am indeed able to get frame-local values for tool-bar-button margin.
>
> Probably the docstring for make-variable-frame-local should be
> rephrased to make it clearer.
Yes that'd be an improvement - but I find the whole principle
confusing. One would expect that make-variable-buffer-local and make-
variable-frame-local lead parallel lives. For example, I knew already
that frame-local-variables are the same as frame parameters. But I
expected that setting a variable that has been made frame-local will
set the appropriate frame parameter/variable.
The design is the root of the problem, not just the documentation...
next prev parent reply other threads:[~2005-10-25 7:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-24 1:01 [david.reitter@gmail.com: tool-bar: frame-local tool-bar-button-margin] Richard M. Stallman
2005-10-24 23:51 ` Chong Yidong
2005-10-25 7:12 ` David Reitter [this message]
2005-10-30 3:37 ` Richard M. Stallman
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=09B4354B-2FB2-4660-9C47-C6BFA897CCD4@gmail.com \
--to=david.reitter@gmail.com \
--cc=emacs-devel@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.