From: Kenichi Handa <handa@m17n.org>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: question about frame local variable
Date: Thu, 30 Oct 2003 19:46:22 +0900 (JST) [thread overview]
Message-ID: <200310301046.TAA09878@etlken.m17n.org> (raw)
In-Reply-To: <86k76njcj4.fsf@gerd.free-bsd.org> (gerd.moellmann@t-online.de)
In article <86k76njcj4.fsf@gerd.free-bsd.org>, gerd.moellmann@t-online.de (Gerd Moellmann) writes:
>> I found that the above is not enough. It seems that the
>> display engine doesn't issue select-frame; i.e. provided
>> that there are two frames A and B, there is a case that the
>> display engine redisplays A while the selected frame is B.
>>
>> It means that even if we make such variables frame local
>> that affect the redisplaying (font-selection, etc), any
>> frame local bindings are just ignored.
>>
>> Gerd, do you remember this matter? Is my analysis correct?
> I think so; it matches what I remember. Local bindings are not
> supported for all redisplay variables. AFAIR, that has always
> been the case and isn't new in 21.
I see, thank you.
> Where it is supported, I think redisplay looks at frame
> parameters.
Yes, I noticed several Fassq (Qxxx, f->param_alist) in
xfaces.c and xdisp.c. I think we must do the similar thing for
variables that affect font selection.
> (BTW, calling select-frame in redisplay would almost certainly not be
> the right thing to do, which probably gets obvious when taking a look
> at what that function does.)
It seems so.
---
Ken'ichi HANDA
handa@m17n.org
next prev parent reply other threads:[~2003-10-30 10:46 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-25 0:49 question about frame local variable Kenichi Handa
2003-10-26 11:46 ` Richard Stallman
2003-10-28 8:03 ` Kenichi Handa
2003-10-30 1:35 ` Kenichi Handa
2003-10-30 9:33 ` Gerd Moellmann
2003-10-30 10:46 ` Kenichi Handa [this message]
2003-10-30 16:27 ` Stefan Monnier
2003-10-30 19:33 ` Gerd Moellmann
2003-11-10 1:05 ` Kenichi Handa
2003-11-10 10:35 ` Gerd Moellmann
2003-11-11 8:38 ` Kenichi Handa
2003-11-12 20:02 ` Richard Stallman
2003-11-13 0:42 ` Kenichi Handa
2003-11-13 4:14 ` Richard Stallman
2003-11-13 4:32 ` Kenichi Handa
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=200310301046.TAA09878@etlken.m17n.org \
--to=handa@m17n.org \
--cc=emacs-devel@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).