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: Mon, 31 May 2021 23:15:05 +0300 Organization: LINKOV.NET Message-ID: <87mtsalluu.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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19120"; 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 Mon May 31 22:32:12 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 1lnoa4-0004t4-94 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 31 May 2021 22:32:12 +0200 Original-Received: from localhost ([::1]:37820 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lnoa3-0005vf-Br for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 31 May 2021 16:32:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58142) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnoZu-0005rw-D2 for bug-gnu-emacs@gnu.org; Mon, 31 May 2021 16:32:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51665) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lnoZu-0006W6-4u for bug-gnu-emacs@gnu.org; Mon, 31 May 2021 16:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lnoZu-0006yO-0z for bug-gnu-emacs@gnu.org; Mon, 31 May 2021 16:32: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: Mon, 31 May 2021 20:32: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.162249306626701 (code B ref 41438); Mon, 31 May 2021 20:32:01 +0000 Original-Received: (at 41438) by debbugs.gnu.org; 31 May 2021 20:31:06 +0000 Original-Received: from localhost ([127.0.0.1]:34970 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnoYz-0006wa-Kk for submit@debbugs.gnu.org; Mon, 31 May 2021 16:31:05 -0400 Original-Received: from relay10.mail.gandi.net ([217.70.178.230]:58213) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnoYw-0006vi-Fp for 41438@debbugs.gnu.org; Mon, 31 May 2021 16:31:03 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay10.mail.gandi.net (Postfix) with ESMTPSA id EF2A9240002; Mon, 31 May 2021 20:30:54 +0000 (UTC) In-Reply-To: <871r9ncmmm.fsf@posteo.net> (Philip Kaludercic's message of "Mon, 31 May 2021 08:50:57 +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:207728 Archived-At: > I was under the impression that this was fixed, but it turns out I did > not read the lookup-key doc string carefully enough: > > A number as value means KEY is "too long"; > that is, characters or symbols in it except for the last one > fail to be a valid sequence of prefix characters in KEYMAP. > The number is how many characters at the front of KEY > it takes to reach a non-prefix key. > > But this case can be safely ignored, as define-key will take care of the > prefix. To solve this, the warning is only trigged when a function is > over-riden. Did you intend to send a new patch? (the patches attached were the same as previous)