From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Paul Nelson Newsgroups: gmane.emacs.bugs Subject: bug#74140: [PATCH] Add :continue-only directive for repeat maps in bind-keys, use-package Date: Fri, 1 Nov 2024 09:29:20 +0100 Message-ID: References: <86plnf9xqm.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23538"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74140@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 01 09:31:23 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 1t6n3z-0005wt-9l for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 01 Nov 2024 09:31:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t6n3i-00061W-9V; Fri, 01 Nov 2024 04:31:06 -0400 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 1t6n3e-000616-Ci for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2024 04:31:03 -0400 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 1t6n3e-00036S-4N for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2024 04:31:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=T4M7fgPMjGeHcpEuDLn6/HIcqCSm/e5Kha9IVZVMXt0=; b=F79Ccza7Kx9BzcXQnQmuPWmiNVoA6RfuSB7riJYIYsecta7bQfNiPLrv4wi/cisfA3MS4Iu1bDTptPyYnnLAKtBRyhuXGlEEP1VkpdYtO5un/+Mi/Srdjvonw9p9kppnrLg4oe8RJFGz2uULgXTfDb0TiRKe6AMNvWOhhH/uFULy7vibZ9YKV9mZ10ElMlD09hQlTSc22l+ydMAF1W6u93a8AKX6rbqxgvBG1eqs4oj+Yxq+mqjcNb6JNQNXN+FWxQasjYB4gG2bUorfPcnOk3bXUPqfgav/db3tLOz+reCBXXprhg+H05Znzclx8JQ8fA6b93AxdPsnDicq7hVTbQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t6n3d-00086M-Vj for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2024 04:31:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Nelson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Nov 2024 08:31:01 +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.173044984031130 (code B ref 74140); Fri, 01 Nov 2024 08:31:01 +0000 Original-Received: (at 74140) by debbugs.gnu.org; 1 Nov 2024 08:30:40 +0000 Original-Received: from localhost ([127.0.0.1]:47840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6n3I-000860-6A for submit@debbugs.gnu.org; Fri, 01 Nov 2024 04:30:40 -0400 Original-Received: from mail-io1-f43.google.com ([209.85.166.43]:55336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6n3F-00085u-UP for 74140@debbugs.gnu.org; Fri, 01 Nov 2024 04:30:38 -0400 Original-Received: by mail-io1-f43.google.com with SMTP id ca18e2360f4ac-83aae6aba1aso65377039f.2 for <74140@debbugs.gnu.org>; Fri, 01 Nov 2024 01:30:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730449772; x=1731054572; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=T4M7fgPMjGeHcpEuDLn6/HIcqCSm/e5Kha9IVZVMXt0=; b=j8+ct7QYboDUol5LZVhPeiQjYf9J4GPxc9v4xLdzzBwzfhCeeS/UBwk5MP4J//zHdj ijyWyrRqnDFF9pZEAG0l8fBWWF9g2XjuOEKzIxm7cc3yNndIMmbUL1EL/dgOzamAiNNZ 0KXnMHUydcKpcyMknt+uQNGIlBlFBQL/znoJeOnknmQ7tVl6G3IDv03KRoeJ6YM5vYL9 dhYiDD3FnqSMeoq5poYKZoF/xq8sMU5miTOGZwD2AsfPb9bJrLMEv/11aZpyfi4sUJfZ b+Hest4XN8z5nzwN8MrPqMndpuaZ5sewHkjeFSUiT5+mmXp+0CLWt1SPjgjD0LnutFux ySPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730449772; x=1731054572; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=T4M7fgPMjGeHcpEuDLn6/HIcqCSm/e5Kha9IVZVMXt0=; b=u8qRm8S3X3G8Q3M9iLCKhgk3yKy7UMEbwYJVG7LXVdNxv6ckNHMHYiRPpdFVJpEmgI ChOw0eq0t/ABzKJNUlPnYSImyM0vVhGkjBwLCxO5iLvjVaWLuVhgaEV3f+OGJIhVzVc1 iu2fAqxH3nv5YPHhEohwg8nnjKhvI9yAfNswMzuZ6LtPZiiofIzTPjRXSV5wFCr14I0N giqQ4iDvGjuUNu6q9qsL7plh3IEjPVVCE4xOxPL3PjoSDTDXSWOJRr3q9WhgW22HdoJs slfQhMiYQNf/DLLTccDKqPgDIFeXcjk8Y0bSFvLzJjnK0mZEfofNAtY/Nmtd057HJcsg M5ug== X-Gm-Message-State: AOJu0YwaZupkDu3b5X1ln/+A5t3H2i3kViiS1wSSbOwab4V4mjl2dkbD 6xIEHA64VIoSxND7D9RnjeHDpSeeooQh3Tq+uaiWCG0KpRnq7+Pw/+/FFNEqdl3rr/G29jYFxri jUNMoEczKGfj0/pXZ3wLQ8vKH4HGbB+od X-Google-Smtp-Source: AGHT+IH6shz7dwckROETjQYPeo3WRaiH1BjPJliDohNi0Xhr0zamw+B/JhdxPZlm1yn4lw/vj5bGD6ab8cqDKkA4Ke4= X-Received: by 2002:a05:6602:3f84:b0:83a:aa8e:5f72 with SMTP id ca18e2360f4ac-83b71946bb3mr299614139f.4.1730449771918; Fri, 01 Nov 2024 01:29:31 -0700 (PDT) In-Reply-To: <86plnf9xqm.fsf@mail.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:294669 Archived-At: On Fri, Nov 1, 2024 at 9:15=E2=80=AFAM Juri Linkov wrote: > > > For a command and its key in a repeat map: > > - "activate" means the command makes the repeat map active > > - "continue" means pressing the key keeps the repeat map active > > > > With this patch, the available directives are: > > :continue (default) - activates and continues > > :exit - neither activates nor continues > > :continue-only (new) - continues, but does not activate > > How does this map to the properties ':enter' and ':exit' of 'defvar-keyma= p'? :exit has the same meaning in both. In defvar-keymap, :enter means "activate, but do not continue".