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 (why only one?) and reserve it for third-party packages Date: Sun, 14 Feb 2021 21:37:05 +0000 Message-ID: <663841c0e3da7ae9cdf0@heytings.org> References: <877dndgnhp.fsf@posteo.net> <329d68a5edfafadfe7cd@heytings.org> <87y2fsg5ve.fsf@posteo.net> <87mtw8fi6k.fsf@posteo.net> <87ft20f3ec.fsf@posteo.net> <8735xz67ye.fsf@posteo.net> <87mtw74j5h.fsf@posteo.net> <663841c0e3fb003a733c@heytings.org> <87y2fq33w4.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="3689"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Philip Kaludercic Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 14 22:37:33 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 1lBP59-0000nf-1q for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 14 Feb 2021 22:37:31 +0100 Original-Received: from localhost ([::1]:54994 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBP58-0000hP-3F for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 14 Feb 2021 16:37:30 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45716) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBP4n-0000hB-VC for help-gnu-emacs@gnu.org; Sun, 14 Feb 2021 16:37:10 -0500 Original-Received: from heytings.org ([95.142.160.155]:51958) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBP4m-0003EX-48 for help-gnu-emacs@gnu.org; Sun, 14 Feb 2021 16:37:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1613338625; bh=XJF6LkTT9zX/vP6UiQcUhmiOPwP7sV7TPpAyfj8doIU=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=stTJ9c/xRHs4+W4ROxqT+ZORTWNfHajG3BaTI5p+C9sqBFWYi6IZUkM7jIMzn+IVL mvUAiiDPhVTY1WSERPaCCoUjKty4u7UEotAQoxu05HiF1VQix/PFGMrk1XhCva02X9 rr575O+0Cr/RaWJc7fcKonoBNL6M6Zf5WAPi6+My8gjzt278cn5QNDtYW6B3fi50wV gMXC4Rrop12FfCEsDty9/spNAT30theILuVvaK3xhvpV2tNMzja3j+PgMZVH7GcSFv d7L44xkpX1NezqLNERCQ5Cy1LQHrF6a8CXxk2IoSJ5bp9bpDEYWtju54LKJWg/5aCA Wid3kJdMnUEJA== In-Reply-To: <87y2fq33w4.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:128061 Archived-At: > > I'm not sure that the number of published packages necessarily means > that 1. user install more packages over time 2. some fixed proportion of > these require global bindings. More often than not, packages might just > provide hooks or implement interfaces like Xref or CAPF, thus avoiding > their own special keys. > Frankly, I don't understand why it is necessary to argue so much to explain that a limit of 26 or 52 global bindings is not enough. It's as if your operating system forced you to have at most 26 or 52 files or folders in each folder; of course it would be feasible to use such an operating system, but it would be terribly impractical. I see that, out of the ~11K commands in Emacs core, there are currently ~450-500 commands bound to keys in global-map (counting only the C-something, M-something and C-M-something). I or you may, today, not need more than 26 or 52 global bindings for external packages, we may perhaps only need 10 or 20, but this discussion isn't about me or you, or about the current situation, it's about finding a long-term solution to a problem, with the hope that in the long term more and more external packages will be useful to a large audience. It's about making Emacs friendlier for beginners, and also for third-party library developers by giving them a "home" in Emacs' default keyboard bindings.