GNU bug report logs - #32790
27.0.50; point jumps unexpectedly after delete-window

Previous Next

Package: emacs;

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 #68 received at 32790 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 32790 <at> debbugs.gnu.org
Subject: Re: bug#32790: 27.0.50; point jumps unexpectedly after delete-window
Date: Thu, 27 Sep 2018 02:05:17 +0300
> 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
    'compare-windows-get-recent-window
    "Function that provides the window to compare with."
    :type '(choice
            (function-item :tag "Most recently used window"
                           compare-windows-get-recent-window)
            (function-item :tag "Next window"
                           compare-windows-get-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?




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.