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, 03 Jun 2021 23:36:54 +0300 Organization: LINKOV.NET Message-ID: <87sg1yznvd.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> <87k0nl420l.fsf@mail.linkov.net> <87zgwg302t.fsf@icterid> <87im2zzy82.fsf@mail.linkov.net> <871r9ncmmm.fsf@posteo.net> <87mtsalluu.fsf@mail.linkov.net> <8735u2h9w9.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="24348"; 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 Thu Jun 03 22:38:14 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 1lou6Y-0006Be-5l for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Jun 2021 22:38:14 +0200 Original-Received: from localhost ([::1]:54320 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lou6X-0000N0-5V for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Jun 2021 16:38:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44168) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lou6M-0000KX-7T for bug-gnu-emacs@gnu.org; Thu, 03 Jun 2021 16:38:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33231) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lou6L-0007HE-UC for bug-gnu-emacs@gnu.org; Thu, 03 Jun 2021 16:38:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lou6L-0002iG-RA for bug-gnu-emacs@gnu.org; Thu, 03 Jun 2021 16:38: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: Thu, 03 Jun 2021 20:38: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.162275266210393 (code B ref 41438); Thu, 03 Jun 2021 20:38:01 +0000 Original-Received: (at 41438) by debbugs.gnu.org; 3 Jun 2021 20:37:42 +0000 Original-Received: from localhost ([127.0.0.1]:44775 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lou62-0002hY-FU for submit@debbugs.gnu.org; Thu, 03 Jun 2021 16:37:42 -0400 Original-Received: from relay2-d.mail.gandi.net ([217.70.183.194]:33307) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lou60-0002hF-AE; Thu, 03 Jun 2021 16:37:40 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 64E2240003; Thu, 3 Jun 2021 20:37:31 +0000 (UTC) In-Reply-To: <8735u2h9w9.fsf@icterid> (Philip Kaludercic's message of "Mon, 31 May 2021 21:27:02 +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:207970 Archived-At: tags 41438 fixed close 41438 28.0.50 thanks >> Did you intend to send a new patch? (the patches attached were the same as previous) > > Oops, I must have forgotten to regenerate patches. The important > difference was > > + (let ((old-fn (lookup-key windmove-mode-map key))) > + (when (functionp old-fn) > + (warn "Overriding %S with %S" old-fn (car bind)))) Thanks, I've tested your patches, and everything work nicely. So pushed now.