From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#54074: 29.0.50; Feature request emacs keymap-set and minor-modes Date: Tue, 22 Feb 2022 10:39:32 -0500 Message-ID: References: <87ley5iclc.fsf.ref@aol.com> <87ley5iclc.fsf@aol.com> <87czjhmior.fsf@gnus.org> <87fsobc9xy.fsf@gnus.org> <87tucr9dm6.fsf@gnus.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25019"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Ergus , 54074@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 22 17:24:27 2022 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 1nMXxi-0006Dw-H4 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Feb 2022 17:24:26 +0100 Original-Received: from localhost ([::1]:49378 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nMXxg-000248-Ty for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Feb 2022 11:24:24 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33766) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMXNq-0000rh-Rt for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2022 10:47:24 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48494) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nMXGl-0007e6-0d for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2022 10:40:14 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nMXGk-0000rn-AJ for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2022 10:40:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Feb 2022 15:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54074 X-GNU-PR-Package: emacs Original-Received: via spool by 54074-submit@debbugs.gnu.org id=B54074.16455443833302 (code B ref 54074); Tue, 22 Feb 2022 15:40:02 +0000 Original-Received: (at 54074) by debbugs.gnu.org; 22 Feb 2022 15:39:43 +0000 Original-Received: from localhost ([127.0.0.1]:42391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMXGR-0000rC-Ky for submit@debbugs.gnu.org; Tue, 22 Feb 2022 10:39:43 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:53624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMXGP-0000qx-Dt for 54074@debbugs.gnu.org; Tue, 22 Feb 2022 10:39:42 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 40DA144110F; Tue, 22 Feb 2022 10:39:35 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id E8EA1440C92; Tue, 22 Feb 2022 10:39:33 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1645544373; bh=vecGzpjk1lbCqk7YvYkJWbg1HqArE0b5sOcwUzy1noA=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=LmWxUUr7BmYOBjMEdoUpF+A09DtIJ6A6ztJsGZw8iwn2TXXEK80rWIpKX8VDuDuxJ R9sJIhuWToql5iF0p5AD74s2jbCZhGu76h8+gEcUOgfIh7aDwoKUgsX5iG7h7di3Hi PX/ibDTwbjJWfgjI+84w9GIFjmQn3lUNKT6Ct/DsKosviqNQ0e9y3VuhDG8LWWzE3n jWJgwqaTqLMHJkB4U+wyBx/DXZAradl4ukiDtwN92Qg/hd6FpTzCMpHzn7O7VQLbYa kDDT0AlcEHf01U1E1nd5hX+Wd4fGa4EsW07Ktg705tHe1KL991efe8ioxEzzZpGN80 gLYZeLBfDax9A== Original-Received: from pastel (unknown [45.72.197.68]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id B7BD6120976; Tue, 22 Feb 2022 10:39:33 -0500 (EST) In-Reply-To: <87tucr9dm6.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 22 Feb 2022 15:31:45 +0100") 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:227445 Archived-At: Lars Ingebrigtsen [2022-02-22 15:31:45] wrote: > Stefan Monnier writes: >> [ I assume you meant "using a minor mode MAP". ] > Yes. >> E.g. because they don't want the priority that comes with minor mode maps? > In what way? E.g. some (typically global) modes want to have lower keymap-priority than the bindings from major and/or minor modes, so they basically want to have a priority between the global map and the local map. The easiest way to do that is to add their bindings to the global map. >> BTW, we currently have related functions to add/remove a keymap from >> another: `internal-push/pop-keymap` used by `set-transient-map`. > Hm... right. Are you suggesting that I could occasionally be wrong? What is this? A mutiny? Stefan