[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#745: marked as done (pop-to-buffer, frames, and input focus)
From: |
Emacs bug Tracking System |
Subject: |
bug#745: marked as done (pop-to-buffer, frames, and input focus) |
Date: |
Thu, 11 Sep 2008 00:05:06 -0700 |
Your message dated Thu, 11 Sep 2008 08:52:54 +0200
with message-id <48C8C046.50203@gmx.at>
and subject line Re: bug#745: pop-to-buffer, frames, and input focus
has caused the Emacs bug report #745,
regarding pop-to-buffer, frames, and input focus
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)
--
745: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=745
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems
--- Begin Message ---
Subject: |
pop-to-buffer, frames, and input focus |
Date: |
Wed, 20 Aug 2008 09:35:31 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Hi,
The behavior of pop-to-buffer in combination with multiple frames is
rather unpredictable or at least not what I expected.
For example:
shell$ cat pop-to-buffer-test.el
(let ((frame (selected-frame))
(pop-up-frames t))
(display-buffer (get-buffer-create "foo"))
(select-frame-set-input-focus frame))
(let ((display-buffer-reuse-frames t))
(pop-to-buffer "foo"))
shell$ emacs -Q -l pop-to-buffer-test.el
Pops up two frames, one frame displays the "foo" buffer and the other
the "*scratch*" buffer (so far so good). But the "foo" frame has not
the input focus. Isn't pop-to-buffer supposed to switch input focus
too?
Also note that I had to save and restore the selected frame
around display-buffer. If I try
emacs -Q --eval '(let ((pop-up-frames t))
(display-buffer (get-buffer-create "foo")))'
the "foo" buffer is selected, even though display-buffer should not
switch the selected window.
Not even save-window-excursion stops display-buffer from switching the
frame:
emacs -Q --eval '(save-window-excursion
(let ((pop-up-frames t))
(display-buffer (get-buffer-create "foo"))))'
This is with:
GNU Emacs 23.0.60.4 (i686-pc-linux-gnu, GTK+ Version 2.8.20)
of 2008-08-15 on xaital
Windowing system distributor `The X.Org Foundation', version 11.0.70101000
configured using `configure '--without-sound' '--without-pop' '--without-gif'
'--without-tiff''
My window manager is Sawfish 1.3.
Helmut.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#745: pop-to-buffer, frames, and input focus |
Date: |
Thu, 11 Sep 2008 08:52:54 +0200 |
User-agent: |
Thunderbird 2.0.0.16 (Windows/20080708) |
Fixed as
2008-09-11 Martin Rudalics <rudalics@gmx.at>
* window.el (pop-to-buffer): If the window for buffer-or-name is
not on the selected frame, raise that window's frame and give it
input focus. (Bug#745)
--- End Message ---
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#745: marked as done (pop-to-buffer, frames, and input focus),
Emacs bug Tracking System <=