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#48916: 28.0.50; allow windmove to select windows with the 'no-other-window parameter Date: Tue, 08 Jun 2021 19:46:23 +0300 Organization: LINKOV.NET Message-ID: <87fsxscpw4.fsf@mail.linkov.net> References: <878s3kzm66.fsf@riseup.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34426"; 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: 48916@debbugs.gnu.org To: pillule Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 08 18:57:35 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 1lqf2k-0008p9-S6 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Jun 2021 18:57:34 +0200 Original-Received: from localhost ([::1]:57764 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqf2j-00025i-S1 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Jun 2021 12:57:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39254) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqf2F-0000vP-0x for bug-gnu-emacs@gnu.org; Tue, 08 Jun 2021 12:57:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48098) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqf2E-0005D4-QG for bug-gnu-emacs@gnu.org; Tue, 08 Jun 2021 12:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lqf2E-0006ei-Qs for bug-gnu-emacs@gnu.org; Tue, 08 Jun 2021 12:57: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: Tue, 08 Jun 2021 16:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48916 X-GNU-PR-Package: emacs Original-Received: via spool by 48916-submit@debbugs.gnu.org id=B48916.162317140925504 (code B ref 48916); Tue, 08 Jun 2021 16:57:02 +0000 Original-Received: (at 48916) by debbugs.gnu.org; 8 Jun 2021 16:56:49 +0000 Original-Received: from localhost ([127.0.0.1]:59629 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqf20-0006dC-Pj for submit@debbugs.gnu.org; Tue, 08 Jun 2021 12:56:49 -0400 Original-Received: from relay8-d.mail.gandi.net ([217.70.183.201]:45791) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqf1v-0006co-Le for 48916@debbugs.gnu.org; Tue, 08 Jun 2021 12:56:47 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 4C6F21BF206; Tue, 8 Jun 2021 16:56:35 +0000 (UTC) In-Reply-To: <878s3kzm66.fsf@riseup.net> (pillule@riseup.net's message of "Tue, 08 Jun 2021 12:09:21 +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:208252 Archived-At: >>> +(defcustom windmove-ignore-no-other-window nil >> >> This name is not the best one. For starters, "ignore-no" is a kind of >> double negation, which makes it harder to understand and remember. >> Can you come up with a better description of what exactly is ignored >> here? > Yes, i think 'windmove-move-in-all-windows' will be more explicit. Repeating words "...move-move..." doesn't look nice. Maybe a better name would be 'windmove-allow-all-windows'. > 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. You could try using new option in all functions that call window-in-direction: in windmove-display-in-direction, in windmove-delete-in-direction, in windmove-swap-states-in-direction.