emacs-pretest-bug
[Top][All Lists]
Advanced

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

RE: wrong frame is current when after-make-frame-functions


From: Drew Adams
Subject: RE: wrong frame is current when after-make-frame-functions
Date: Sun, 5 Mar 2006 07:37:08 -0800

    From: Drew Adams
    Sent: Tuesday, May 31, 2005 6:23 AM

            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.

    Sorry - just to clarify: Do you mean that the original frame,
    not the new frame, is selected when after-make-frame-functions
    is executed? If so, why is that correct? If it is correct, how
    can the user select the new frame (say in
    after-make-frame-functions) to do something to or in it - how
    can the new frame be addressed (what is its identity)?

Resending, as I got no response to the questions, in particular, how a user
can select the new frame.  Thx.





reply via email to

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