GNU bug report logs -
#32790
27.0.50; point jumps unexpectedly after delete-window
Previous Next
Reported by: Juri Linkov <juri <at> linkov.net>
Date: Thu, 20 Sep 2018 23:57:01 UTC
Severity: minor
Found in version 27.0.50
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
>> You mean you expected that if the same buffer is displayed in another
>> window, Emacs should prefer that other window when it decides what
>> window to make the selected one?
>
> 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
C-x 2 in step 3 does _not_ "use" the new window on *Messages*. Hence
at the time you do C-x 0 in step 5, the most recently used window
(with exception of the one you are about to delete) is the window on
*scratch*.
Using a window means selecting it, see 'window-use-time'. Hence if,
before C-x 0, you first select the window on *Messages* and then
reselect the *Info* window, C-x 0 will select the *Messages* window
instead.
martin
This bug report was last modified 5 years and 235 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.