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
Message #38 received at 32790 <at> debbugs.gnu.org (full text, mbox):
>> 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.
>
> Sorry, I meant horizontally split windows.
How comes that C-h e splits the window horizontally?
> Now I understand that it jumps to the most recently selected window,
> but this logic is not obvious. Then why not to the most recently
> displayed window?
The idea to automatically select a window that has never been selected
before is not overly intuitive IMHO.
> Maybe we should have an option or at least hook
> to define the preferred behavior. Like there is the option
> split-window-keep-point (applicable only to vertically split windows)
> whose nil value provides more smooth effect (selects the window
> depending on where point was before split, to avoid window scrolling).
The most recently displayed window might be the window that gets
deleted and so we would have to either modify the semantics of
'window-use-time' (to optionally include the case that the window has
been created without being selected) or add a new slot to the window
structure and have 'delete-window' act accordingly if set.
martin
This bug report was last modified 5 years and 234 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.