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: Tue, 25 May 2021 23:18:13 +0300 Organization: LINKOV.NET Message-ID: <875yz68yoq.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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25562"; 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 Tue May 25 22:39:30 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 1lldpq-0006WR-So for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 25 May 2021 22:39:30 +0200 Original-Received: from localhost ([::1]:36332 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lldpp-0003Fh-RL for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 25 May 2021 16:39:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51210) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lldpO-0003BB-Vk for bug-gnu-emacs@gnu.org; Tue, 25 May 2021 16:39:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35585) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lldpO-0004w7-Ha for bug-gnu-emacs@gnu.org; Tue, 25 May 2021 16:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lldpO-0008GB-EU for bug-gnu-emacs@gnu.org; Tue, 25 May 2021 16:39: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, 25 May 2021 20:39:02 +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.162197512131692 (code B ref 41438); Tue, 25 May 2021 20:39:02 +0000 Original-Received: (at 41438) by debbugs.gnu.org; 25 May 2021 20:38:41 +0000 Original-Received: from localhost ([127.0.0.1]:47123 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lldp3-0008F6-F0 for submit@debbugs.gnu.org; Tue, 25 May 2021 16:38:41 -0400 Original-Received: from relay1-d.mail.gandi.net ([217.70.183.193]:58157) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lldoz-0008Ej-OM for 41438@debbugs.gnu.org; Tue, 25 May 2021 16:38:39 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 18BC3240002; Tue, 25 May 2021 20:38:29 +0000 (UTC) In-Reply-To: <87im37p2b4.fsf@icterid> (Philip Kaludercic's message of "Tue, 25 May 2021 09:53:19 +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:207259 Archived-At: > - (global-set-key (vector prefix (append modifiers '(left))) 'windmove-delete-left) > - (global-set-key (vector prefix (append modifiers '(right))) 'windmove-delete-right) > - (global-set-key (vector prefix (append modifiers '(up))) 'windmove-delete-up) > - (global-set-key (vector prefix (append modifiers '(down))) 'windmove-delete-down)) > + (windmove-install-defaults modifiers > + '((windmove-delete-left left) > + (windmove-delete-right right) > + (windmove-delete-up up) > + (windmove-delete-down down)))) I haven't yet tested your patch, but after reading it seems 'prefix' is unused now?