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: [External] : bug#54074: 29.0.50; Feature request emacs keymap-set and minor-modes Date: Mon, 21 Feb 2022 16:05:38 -0500 Message-ID: References: <87ley5iclc.fsf.ref@aol.com> <87ley5iclc.fsf@aol.com> 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="25955"; 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" <54074@debbugs.gnu.org> To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 21 22:06:33 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 1nMFtB-0006Xa-0U for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Feb 2022 22:06:33 +0100 Original-Received: from localhost ([::1]:46592 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nMFt9-00063n-HP for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Feb 2022 16:06:31 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52368) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMFsg-00063b-A6 for bug-gnu-emacs@gnu.org; Mon, 21 Feb 2022 16:06:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45398) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nMFsg-0002O2-0U for bug-gnu-emacs@gnu.org; Mon, 21 Feb 2022 16:06:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nMFsf-0008LK-Su for bug-gnu-emacs@gnu.org; Mon, 21 Feb 2022 16:06:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Feb 2022 21:06:01 +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.164547755232054 (code B ref 54074); Mon, 21 Feb 2022 21:06:01 +0000 Original-Received: (at 54074) by debbugs.gnu.org; 21 Feb 2022 21:05:52 +0000 Original-Received: from localhost ([127.0.0.1]:39295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMFsV-0008Kw-Se for submit@debbugs.gnu.org; Mon, 21 Feb 2022 16:05:52 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:54918) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMFsS-0008Ki-Ne for 54074@debbugs.gnu.org; Mon, 21 Feb 2022 16:05:49 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 3D6378005E; Mon, 21 Feb 2022 16:05:42 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id C94A4800A5; Mon, 21 Feb 2022 16:05:40 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1645477540; bh=1NqCIf6l/k6mHDYMkqjmwuaaTnwOe6D36WHtRGdx/cc=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=h54bQ9yO18RJ48LvMOrIFTqS5w7ohx47ffVxDUfYJ3C5CSagTScCVZVWzOA84IOxl 0v+9lMmnmXWx6KZ8pN3yLvu6aWFhiz+mo9xFKzE/Z4haFskaGNm9EEd/9Ncw/H8K8m dSSe7AHv8oJkmF4kMf3l8ybYJ09LsgDQUwlcOsyQAoeHdD/XO/ehS4Ejlclt6rPcG4 Uhi59HTewVkRYAdu4Srz8ZmnpzJVZtc/9J0L4NiG3iKMIAWk+JysM9vjrhGy4vGsMz ZPwQgPmN2Leyj51A04n3ViYlUoz/xChjaVhvTCQjW82sJtp6yutZxLJSiXdEfvILXm 5RDZF3aWImj/w== Original-Received: from pastel (unknown [45.72.197.68]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 763DF120DD4; Mon, 21 Feb 2022 16:05:40 -0500 (EST) In-Reply-To: (Drew Adams's message of "Sun, 20 Feb 2022 22:34:10 +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:227386 Archived-At: > However, bindings that something or someone > makes in the interim are of course not taken > into consideration. That's the problem with the naive approach, indeed (in addition to the need to write the code). > I don't think there's a great general solution. No way to know what > something or someone really might want, for example. In his example, the minor mode just adds the keymap and then removes it, so it doesn't interact unduly with other changes that might take place in the mean time. Stefan