[Top][All Lists]

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

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

From: Juri Linkov
Subject: bug#32790: 27.0.50; point jumps unexpectedly after delete-window
Date: Thu, 27 Sep 2018 02:05:17 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

> Make a complete list with the desired names, please.

I think we need exactly the same customization as we created for
compare-windows-get-window-function, but instead of finding a window to
compare, we need to find a window to select after deleting the
selected window.

  (defcustom compare-windows-get-window-function
    "Function that provides the window to compare with."
    :type '(choice
            (function-item :tag "Most recently used window"
            (function-item :tag "Next window"
            (function :tag "Your function"))
    :group 'compare-windows
    :version "25.1")

I suppose that for the option "Next window" the window next to the
deleted window is its sibling that will get its space after
deletion, right?

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

Regarding the name, what about select-window-after-delete-function?

reply via email to

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