[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: question about frame local variable

From: Kenichi Handa
Subject: Re: question about frame local variable
Date: Thu, 30 Oct 2003 19:46:22 +0900 (JST)
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)

In article <address@hidden>, address@hidden (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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]