GNU bug report logs - #49057
28.0.50; windmove-display-in-direction ignores windmove-display-no-select

Previous Next

Package: emacs;

Reported by: Ergus <spacibba <at> aol.com>

Date: Wed, 16 Jun 2021 06:44:02 UTC

Severity: normal

Tags: fixed

Fixed in version 28.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 49057 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: 49057 <at> debbugs.gnu.org
Cc: Ergus <spacibba <at> aol.com>
Subject: Re: bug#49057: 28.0.50; windmove-display-in-direction ignores
 windmove-display-no-select
Date: Wed, 16 Jun 2021 10:59:50 +0300
> M-: (setq windmove-display-no-select t)
> M-x windmove-display-right
> C-x b *scratch*
>
> The new window will be selected independently of the value of
> windmove-display-no-select.
>
> Sometimes the new buffer is displayed in the current buffer ignoring
> windmove-display-right (when *scratch* is already on the right for
> example).

Please also do:

  M-: (setq switch-to-buffer-obey-display-actions t)

What we could do to improve this:

1. enable switch-to-buffer-obey-display-actions by default;

2. mention switch-to-buffer-obey-display-actions in more docstrings.

Currently the docstring of windmove-display-in-direction has this text:

  "When `switch-to-buffer-obey-display-actions' is non-nil,
  `switch-to-buffer' commands are also supported."

Maybe the same text should be copied to all commands that use
windmove-display-in-direction, i.e. to windmove-display-right,
etc.




This bug report was last modified 3 years and 337 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.