GNU bug report logs - #15133
24.3.50; REGRESSION: `after-make-frame-functions' now run with wrong frame selected

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Mon, 19 Aug 2013 15:03:02 UTC

Severity: normal

Tags: moreinfo

Found in version 24.3.50

Done: Drew Adams <drew.adams <at> oracle.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Drew Adams <drew.adams <at> oracle.com>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 15133 <at> debbugs.gnu.org
Subject: bug#15133: 24.3.50; REGRESSION: `after-make-frame-functions' now run with wrong frame	selected
Date: Tue, 20 Aug 2013 11:03:20 -0700 (PDT)
>  > Can you please tell me what to check, and how?  It's not clear to me what
>  > you are asking/suggesting; sorry.
> 
> Whether with older versions your `fit-frame' function works with plain
> `display-buffer', that is, bypassing `pop-to-buffer'.

Yes, it does.  But I cannot tell you now what part of my code takes care
of that.  If I try emacs -Q, load fit-frame.el, (setq pop-up-frames t),
and (add-hook 'after-make-frame-functions 'fit-frame) then no, it does
not work, as you expected.

But in my full setup, it does work (i.e., (display-buffer "foo") shows
buffer foo in a new frame, which is fit to the buffer contents).  Dunno
why it works, but it does.




This bug report was last modified 11 years and 276 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.