From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.help Subject: Re: PROPOSAL: Repurpose one key and reserve it for third-party packages Date: Fri, 12 Feb 2021 00:01:51 +0000 Message-ID: <329d68a5ed6d1194f3c0@heytings.org> References: <7ef75c33936136eb3a20@heytings.org> <8735y56naf.fsf@posteo.net> <8ed9b43502ae9a36b057@heytings.org> <87tuqk6d9d.fsf@posteo.net> <3966473cc1ab9f104724@heytings.org> <87o8gr1oom.fsf@posteo.net> <87lfbubthl.fsf@posteo.net> <87tuqia845.fsf@posteo.net> <87pn16a1xn.fsf@posteo.net> <87lfbu9q5x.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3502"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: "Philip K." Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 12 01:03:12 2021 Return-path: Envelope-to: geh-help-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 1lALvU-0000qE-Nc for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 12 Feb 2021 01:03:12 +0100 Original-Received: from localhost ([::1]:49620 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lALvT-0005bc-PM for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 11 Feb 2021 19:03:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52922) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lALuH-0005aX-2v for help-gnu-emacs@gnu.org; Thu, 11 Feb 2021 19:02:01 -0500 Original-Received: from heytings.org ([95.142.160.155]:47318) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lALuF-0007Sb-BV for help-gnu-emacs@gnu.org; Thu, 11 Feb 2021 19:01:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1613088112; bh=6Nm1qDSeviMiNSOOXv8T7DSaJHx4VGvGaGFz0XwXtsg=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=Mk6AnfpC8MIMzy+et365GmzQgrSllloUKamqREEwRfGH6dPPIHL27FM2/JOxypEW/ zS4e1DlcgAIZ9cRw2++ak2FLdJVUo+l4AZ5sb/J4dflxyszlhMNHRS+86aG8fFs9L6 SBCsCq7RxsgL/CX/PlorP8kINRPDqFABmyC/Ia1dw4sfRhBoqLJBqBpEqL7nbfqUgH UANdxHuDdO37QNEFgCn2JlJ+Jwg3iLbvpm2re2866aLTIsykKzSjtiZieVHd/yL3iB JouAjPFJDmaK+6EnpoCLzdCaHf0e+vhYK67nL2UBOIu2SELT5NibV5+FfHfz4wokqE Hflz6l2PrMOIQ== In-Reply-To: <87lfbu9q5x.fsf@posteo.net> Received-SPF: pass client-ip=95.142.160.155; envelope-from=gregory@heytings.org; helo=heytings.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:127831 Archived-At: > > A theme doesn't activate when it is installed or loaded, but when it is > activated. In the same way, I argue, a command shouldn't bind itself > until it is bound. Note that I don't insist that this has to be done by > editing your init.el (as shown in the patch from a few messages before). > I just think that loading a feature/package should attempt to just load > the package, without changing the UI/UX of the system. > I fear you're splitting hairs here: the distinction between "install", "load" and "activate" is not important in this discussion, with the current state of affairs neither installing nor loading nor activating the package can automatically create a global key binding. The proposal is an attempt to make that possible. >> Do you also think it's a mistake and unfriendly if a package installs a >> menu item? If not, what makes keybindings fundamentally different from >> menu items? > > Do you mean a menu-bar-mode item? Yes, loading a package still shouldn't > change anything, activating a mode should add the menu item > Okay, so if you agree that activating a mode can automatically add a menu bar item, why don't you agree that it should be possible to automatically add a global key binding while activating a mode? Again, what makes key bindings fundamentally different from menu bar items?