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#41438: [PATCH] Allow windmove keys to be bound without prefix or modifiers Date: Thu, 27 May 2021 00:35:46 +0300 Organization: LINKOV.NET Message-ID: <87k0nl420l.fsf@mail.linkov.net> References: <87imgpw7k3.fsf@warpmail.net> <87mu36enhl.fsf@posteo.net> <8735uru1py.fsf@gnus.org> <871r9yjyv5.fsf@posteo.net> <87h7irqtvf.fsf@gnus.org> <87im37p2b4.fsf@icterid> <875yz68yoq.fsf@mail.linkov.net> <87r1hucws6.fsf@icterid> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1345"; 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: 41438@debbugs.gnu.org, Lars Ingebrigtsen To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 26 23:49:55 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 1lm1PX-0000FU-A9 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 May 2021 23:49:55 +0200 Original-Received: from localhost ([::1]:33386 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lm1PW-0004Cq-C1 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 May 2021 17:49:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41464) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lm1Gw-0004lD-Pi for bug-gnu-emacs@gnu.org; Wed, 26 May 2021 17:41:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38516) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lm1Gv-0003SW-QX for bug-gnu-emacs@gnu.org; Wed, 26 May 2021 17:41:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lm1Gv-0004Vj-Ob for bug-gnu-emacs@gnu.org; Wed, 26 May 2021 17:41:01 -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, 26 May 2021 21:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41438 X-GNU-PR-Package: emacs Original-Received: via spool by 41438-submit@debbugs.gnu.org id=B41438.162206523417296 (code B ref 41438); Wed, 26 May 2021 21:41:01 +0000 Original-Received: (at 41438) by debbugs.gnu.org; 26 May 2021 21:40:34 +0000 Original-Received: from localhost ([127.0.0.1]:50062 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lm1GU-0004Ut-MK for submit@debbugs.gnu.org; Wed, 26 May 2021 17:40:34 -0400 Original-Received: from relay9-d.mail.gandi.net ([217.70.183.199]:44145) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lm1GS-0004UU-F1 for 41438@debbugs.gnu.org; Wed, 26 May 2021 17:40:32 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 129F4FF805; Wed, 26 May 2021 21:40:24 +0000 (UTC) In-Reply-To: <87r1hucws6.fsf@icterid> (Philip Kaludercic's message of "Tue, 25 May 2021 21:45:45 +0000") 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:207318 Archived-At: > What I don't really like is that only > windmove-delete-default-keybindings can make use of prefixes, while all > commands only use modifiers. Could it make sense to deprecate these > functions in favour of either new functions or user-options? Maybe it's possible to add new user options without deprecating the existing functions? Then for users an alternative way would be to customize these options, and enable windmove-mode in the init file. Or maybe there will be a need to create separate modes for every keymap, e.g. windmove-display-mode, windmove-delete-mode?