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#74140: [PATCH] Add :continue-only directive for repeat maps in bind-keys, use-package Date: Wed, 04 Dec 2024 19:29:20 +0200 Organization: LINKOV.NET Message-ID: <87ldwvicgf.fsf@mail.linkov.net> References: <87r06vxjdy.fsf@mail.linkov.net> <878qswab57.fsf@mail.linkov.net> <86cyi71whg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21028"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) Cc: 74140@debbugs.gnu.org, ultrono@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 04 18:33:26 2024 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 1tItFe-0005Hr-On for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 04 Dec 2024 18:33:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tItFM-00011F-3I; Wed, 04 Dec 2024 12:33:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tItFH-00010q-FN for bug-gnu-emacs@gnu.org; Wed, 04 Dec 2024 12:33:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tItFH-0001Z7-74 for bug-gnu-emacs@gnu.org; Wed, 04 Dec 2024 12:33:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=7RlHc896EFU1cZENzIjCukeo0VcGUUAoBHBGMZ5e2qQ=; b=do5xm49TxigLpsHtq7nxEr6eds+XlrC7LINvMMNdTLwt9pnyNb9p2qzTr1hYMRLrv0Wr5qMVQYlMhB0WmdSQUsMw3N+zNpnbrKgpvX/Fzf//mxV8ijZeRxCl2KuTIwACiPDFiqNYuxYd753CAFKhrub5fj+lIlGMKjAYkykN6a9gUtvXLMp07XFlGRwllZvEUZZOvWOSpVPCPHGzx0XElZsLR/v+PvgtYC6/sNrYkitJe3aBg1rfsGSi+hJpEzIwZ+YtPW8J9U+1CtkeOi3EcfGQLlu/mh5ifJBNI4tWm92UP59s1Nx1pXQIA2b/pF8ENXmimTTtSyvzEA/1Tmtfwg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tItFG-0005VI-SG for bug-gnu-emacs@gnu.org; Wed, 04 Dec 2024 12:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Dec 2024 17:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74140 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 74140-submit@debbugs.gnu.org id=B74140.173333356721103 (code B ref 74140); Wed, 04 Dec 2024 17:33:02 +0000 Original-Received: (at 74140) by debbugs.gnu.org; 4 Dec 2024 17:32:47 +0000 Original-Received: from localhost ([127.0.0.1]:36650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tItF1-0005UI-3m for submit@debbugs.gnu.org; Wed, 04 Dec 2024 12:32:47 -0500 Original-Received: from relay9-d.mail.gandi.net ([217.70.183.199]:38607) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tItEy-0005Ts-MK for 74140@debbugs.gnu.org; Wed, 04 Dec 2024 12:32:45 -0500 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id 1C070FF808; Wed, 4 Dec 2024 17:32:37 +0000 (UTC) In-Reply-To: <86cyi71whg.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 04 Dec 2024 14:08:43 +0200") X-GND-Sasl: juri@linkov.net 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:296420 Archived-At: > ** New symbol property 'repeat-continue-only' for 'repeat-mode'. > -A command with this symbol property whose value is non-nil will not > -activate the repeat map in 'repeat-mode', it will only continue the > -already activated repeating sequence. > +A command with this symbol property whose value is a list of repeat > +maps will not activate the repeat map in 'repeat-mode'. It will only > +continue the already activated repeating sequence. Also 'defvar-keymap' > +supports a new keyword ':continue-only' with a list of commands that > +only continue the active repeating sequence. > > This doesn't say what is the significance of the repeat maps included > in the value of the property (as opposed to those not included). I'm > guessing they have some influence on the result, so NEWS should at > least hint on that. When I tried to explain better, I realized there is no need to have a list of repeat maps, because a command can't have more than 1 map in its symbol property 'repeat-map'. Let's wait Paul to confirm whether it will be sufficient for bind-keys to just set 'repeat-continue-only' to t, not a list.