From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#49057: 28.0.50; windmove-display-in-direction ignores windmove-display-no-select Date: Wed, 16 Jun 2021 10:59:50 +0300 Organization: LINKOV.NET Message-ID: <87fsxitdmt.fsf@mail.linkov.net> References: <20210616064248.mqqzlt7qyxwqrcfy.ref@Ergus> <20210616064248.mqqzlt7qyxwqrcfy@Ergus> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2663"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: Ergus To: 49057@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 16 10:34:11 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ltQzz-0000XY-B2 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 16 Jun 2021 10:34:11 +0200 Original-Received: from localhost ([::1]:52146 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ltQzy-0007hR-Bp for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 16 Jun 2021 04:34:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32860) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ltQzq-0007fv-Jr for bug-gnu-emacs@gnu.org; Wed, 16 Jun 2021 04:34:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39977) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ltQzq-0004kh-Ct for bug-gnu-emacs@gnu.org; Wed, 16 Jun 2021 04:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ltQzq-0008Qq-AO for bug-gnu-emacs@gnu.org; Wed, 16 Jun 2021 04:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 Jun 2021 08:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49057 X-GNU-PR-Package: emacs Original-Received: via spool by 49057-submit@debbugs.gnu.org id=B49057.162383243332390 (code B ref 49057); Wed, 16 Jun 2021 08:34:02 +0000 Original-Received: (at 49057) by debbugs.gnu.org; 16 Jun 2021 08:33:53 +0000 Original-Received: from localhost ([127.0.0.1]:51522 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ltQzg-0008QM-RK for submit@debbugs.gnu.org; Wed, 16 Jun 2021 04:33:52 -0400 Original-Received: from relay11.mail.gandi.net ([217.70.178.231]:53791) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ltQze-0008Pw-P2 for 49057@debbugs.gnu.org; Wed, 16 Jun 2021 04:33:51 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 58E2910000D; Wed, 16 Jun 2021 08:33:43 +0000 (UTC) In-Reply-To: <20210616064248.mqqzlt7qyxwqrcfy@Ergus> (Ergus via's message of "Wed, 16 Jun 2021 08:42:48 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:208627 Archived-At: > 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.