[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wrong frame is current when after-make-frame-functions
From: |
Richard Stallman |
Subject: |
Re: wrong frame is current when after-make-frame-functions |
Date: |
Tue, 31 May 2005 00:18:08 -0400 |
5. The message that appears shows that, at the time
after-make-frame-functions was executed, the (frame-char-width) of
the selected frame is 5, not 8.
However, debugging shows that the new frame is selected when
after-make-frame-functions is executed. The problem is that
frame-char-width does not take this selected frame into account, for
some reason - it uses the previous frame to calculate the character
width.
I did some debugging and found that the first frame is still
selected when this function is called. That seems correct to me.
I think there is no bug here.