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

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

bug#32790: 27.0.50; point jumps unexpectedly after delete-window


From: Eli Zaretskii
Subject: bug#32790: 27.0.50; point jumps unexpectedly after delete-window
Date: Sun, 23 Sep 2018 13:56:06 +0300

> From: Juri Linkov <juri@linkov.net>
> Cc: 32790@debbugs.gnu.org
> Date: Sun, 23 Sep 2018 01:34:43 +0300
> 
> Actually it's a rare case when the same buffer is displayed
> in two windows.  But I meant a more general case where all windows
> display different buffers.  This is a more appropriate recipe
> that avoids the same buffers:
> 
> 0. emacs -Q
> 
> 1. C-h e
> 
> 2. C-x o
> 
> 3. C-x 2
> 
> 4. C-h i
> 
> 5. C-x 0

I meanwhile understand that in your case "C-h e" splits the original
window horizontally, i.e. you get 2 windows side by side, not one
above the other.  AFAICT, this was never explicitly mentioned in your
bug report.

In any case, Martin explained the logic behind selecting another
window in this case.  FWIW, I think the existing logic, which prefers
the most recently selected window, is more sound than the one you
propose, because screen positions can be more arbitrary/random than
the MRU order.





reply via email to

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