From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: question about frame local variable Date: Thu, 30 Oct 2003 19:46:22 +0900 (JST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200310301046.TAA09878@etlken.m17n.org> References: <200310250049.JAA12659@etlken.m17n.org> <200310280803.RAA05883@etlken.m17n.org> <200310300135.KAA09225@etlken.m17n.org> <86k76njcj4.fsf@gerd.free-bsd.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1067510924 24922 80.91.224.253 (30 Oct 2003 10:48:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Oct 2003 10:48:44 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Oct 30 11:48:42 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AFAM6-0000zY-00 for ; Thu, 30 Oct 2003 11:48:42 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AFAM5-0002Qs-00 for ; Thu, 30 Oct 2003 11:48:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AFALj-0008B7-C9 for emacs-devel@quimby.gnus.org; Thu, 30 Oct 2003 05:48:19 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AFAL1-0008A5-4Z for emacs-devel@gnu.org; Thu, 30 Oct 2003 05:47:35 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AFAKV-0007wP-3N for emacs-devel@gnu.org; Thu, 30 Oct 2003 05:47:34 -0500 Original-Received: from [192.47.44.130] (helo=tsukuba.m17n.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AFAJw-0007kV-IM; Thu, 30 Oct 2003 05:46:28 -0500 Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2]) by tsukuba.m17n.org (8.11.6p2/3.7W-20010518204228) with ESMTP id h9UAkNh15209; Thu, 30 Oct 2003 19:46:23 +0900 (JST) (envelope-from handa@m17n.org) Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) by fs.m17n.org (8.11.6/3.7W-20010823150639) with ESMTP id h9UAkMs28501; Thu, 30 Oct 2003 19:46:22 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id TAA09878; Thu, 30 Oct 2003 19:46:22 +0900 (JST) Original-To: gerd.moellmann@t-online.de In-reply-to: <86k76njcj4.fsf@gerd.free-bsd.org> (gerd.moellmann@t-online.de) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17613 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17613 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