From: Glenn Morris <rgm@gnu.org>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: 1159@debbugs.gnu.org
Subject: bug#1159: frame-local-variable problem
Date: Thu, 24 Jun 2010 15:12:58 -0400 [thread overview]
Message-ID: <bsy6e4z1l1.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <m24p54suk6.fsf@nschum.de>
Sorry, but I don't understand why you closed this. I still see the
problem I described (in case there is any confusion, I cloned 1159
from 812. 812 is a doc bug that is indeed fixed). Problem:
This works as it should:
emacs -Q
(setq foo 'bar)
(make-variable-frame-local 'foo)
; [1]
(set-frame-parameter nil 'foo t)
foo ; -> t [2]
(make-frame)
foo ; -> bar in new frame, still t in old frame [3]
If you add an extra evaluation of `foo' at point [1] (after making it
frame local, but before adding a frame parameter), then at point [2]
you get 'bar rather than t. After you make a new frame, it starts
working (at [3]).
next prev parent reply other threads:[~2010-06-24 19:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-28 21:23 bug#812: frame-local-variable documentation Nikolaj Schumacher
2008-08-30 22:56 ` Glenn Morris
2010-06-24 19:12 ` Glenn Morris [this message]
2010-06-24 19:30 ` bug#1159: frame-local-variable problem Chong Yidong
2010-06-24 20:00 ` 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=bsy6e4z1l1.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=1159@debbugs.gnu.org \
--cc=cyd@stupidchicken.com \
/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).