bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#48916: 28.0.50; allow windmove to select windows with the 'no-other-


From: pillule
Subject: bug#48916: 28.0.50; allow windmove to select windows with the 'no-other-window parameter
Date: Tue, 08 Jun 2021 12:09:21 +0200


Hi,

One may want to customize its `display-buffer-alist' carefully to apply the 'no-other-window parameter to eg side windows so they are not selected by the `other-window' command and to create custom functions of the family (eg creating a `find-file-in-other-window' that does not select windows with the no-other-window parameter)

Unfortunately by doing so, we actually limit the use of the windmove commands since `windmove-find-other-window' always ignore windows with this parameter. It is not a fatality since `window-in-direction' can receive an argument to choose if we want to ignore this parameter or not.

This draft implements an user option to let the user choose that behavior.

Because it applies to `windmove-find-other-window', it allows the commands windmove-right, windmove-left, windmove-down, windmove-up to select windows with the no-other-window parameter, but not for the `windmove-display-*' functions. I suppose it is the desired behavior.


Attachment: 0001-User-option-to-select-no-other-window-with-windmove.patch
Description: allow windmove to select windows with the 'no-other-window parameter


reply via email to

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