bug#4812: 23.1.50; delete-window move point to the wrong window

Leo <[email protected]> Tue, 27 Oct 2009 08:29:18 +0000
Newsgroups gmane.emacs.bugs,gmane.emacs.pretest.bugs
Message-ID <[email protected]>
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

A frame is setup as follows with point in window 1.

    +------------------+----------+
    |                  |          |
    |        1         |     2    |
    |                  |          |
    |                  |          |
    |------------------+----------+
    |                  |          |
    |        4         |     3    |
    |                  |          |
    |                  |          |
    +------------------+----------+


Assume each window is displaying different buffers. If I move point to
window 4 and `M-x delete-window', the point is moved to window 2.

It seems to me it is more intuitive if the point is remained in the
window that is enlarged due to delete-window, in this case, window 1.


In GNU Emacs 23.1.50.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54)
 of 2009-09-22 on neutron.local
Windowing system distributor `Apple', version 10.3.949
configured using `configure  '--with-ns''

Leo