Subject: bug#4812: closed (Re: bug#4812: 23.1.50; delete-window move point to the wrong window)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 05 Sep 2011 08:58:03 +0000

Your bug report

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

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
4812: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4812
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#4812: 23.1.50; delete-window move point to the wrong window
From: martin rudalics <[email-masked]>
To: [email-masked]
Date: Mon, 05 Sep 2011 10:53:38 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

> 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.

Point now moves to the most recently selected window.

Closed, martin.

Subject: 23.1.50; delete-window move point to the wrong window
From: Leo <[email-masked]>
To: [email-masked]
Date: Tue, 27 Oct 2009 08:29:18 +0000

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