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

From: martin rudalics <[email-masked]>
Date: Wed, 26 Sep 2018 10:51:42 +0200

> A good analogy is what other tabbed UI like web browsers do
 > on tab closing.  For example, Firefox add-on Tab Mix Plus
 >
 > http://www.tabmixplus.org/support/viewtopic.php?t=3
 >
 > provides an option with such values
 >
 >    When closing the current tab, focus (select one):
 >
 >    - First tab
 >    - Left tab
 >    - Right tab
 >    - Last tab
 >    - Last selected tab
 >    - Opener/Right tab (the tab containing the link that opened this tab or the tab to the right)

The last one is the option I use, mainly for returning to the "parent"
tab.  I'd prefer "the tab containing the link that opened this tab or
the last selected tab" but that's not available.

 >    - Last opened tab
 >
 > The current Emacs behavior that selects the most recently used window
 > corresponds to "Last selected tab".  "Last opened tab" could correspond
 > to the most recently displayed window.  And "Left tab" could mean to
 > select the left sibling.

Make a complete list with the desired names, please.

 > If the values are 'sibling, 'mru, and possibly a user-defined function,
 > then a suitable name could be say, after-delete-window-select, or if this
 > name looks like a hook name, then simply delete-window-select.

Let's reconsider after you made the list with the value names ("sibling"
is probably too internal, IIRC even you used "parent" instead).

martin