From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thibaut Verron Newsgroups: gmane.emacs.devel Subject: Re: Concern about new binding. Date: Tue, 2 Feb 2021 18:45:09 +0100 Message-ID: References: <20210202134950.vybbpf3iewbymfjo.ref@Ergus> <20210202134950.vybbpf3iewbymfjo@Ergus> <878s86tnv6.fsf@red-bean.com> Reply-To: thibaut.verron@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8765"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Ergus , emacs-devel@gnu.org To: Karl Fogel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Feb 02 18:46:41 2021 Return-path: Envelope-to: ged-emacs-devel@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 1l6zlB-0002Aw-MA for ged-emacs-devel@m.gmane-mx.org; Tue, 02 Feb 2021 18:46:41 +0100 Original-Received: from localhost ([::1]:46312 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6zlA-0004U3-LB for ged-emacs-devel@m.gmane-mx.org; Tue, 02 Feb 2021 12:46:40 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43254) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6zjx-0003wm-6Q for emacs-devel@gnu.org; Tue, 02 Feb 2021 12:45:26 -0500 Original-Received: from mail-yb1-xb2a.google.com ([2607:f8b0:4864:20::b2a]:34410) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l6zjl-0007Ve-0N for emacs-devel@gnu.org; Tue, 02 Feb 2021 12:45:21 -0500 Original-Received: by mail-yb1-xb2a.google.com with SMTP id j84so8054080ybg.1 for ; Tue, 02 Feb 2021 09:45:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc; bh=yRLr4SuZwp5qX/nOcyNt6g5NqgZ2u6Zbwr+YJ+ueARE=; b=lzhiXxp+e8O+/A7exSzVNd8VVODA90yNHje7rKiZ6x20B94PXmcFwCYt5ixWsmr6tu kxgyBqPI1lJvXmll+rJNSGU1Ms3bA6qoMKMBn/DxeFJdwcz++wG+t2sFPmQ183JiXwO+ AQo3JNPo6/lzf3KtdNcD5/2ardtOF86kebpFFQ77bw/jYvYlco10RRfGFiQ3v9Oq3XWX l8PjJVhKOQF63Pq6/XBEAVQKUlJy6qjjNZlllUGtHGuicHT39L2VictiRXQAB4BDM26j 0SbrR2yh5o26khlnmLGu86wceKXLQyzMa+ii/2Gjr1gZe50+quSU05a3SKuLQ5LDwOOS rudg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc; bh=yRLr4SuZwp5qX/nOcyNt6g5NqgZ2u6Zbwr+YJ+ueARE=; b=rlk7wIQP7TLwGAlA/grdoxUNFTGFwTU0vxbEjqV4sgoea/T3QeKTDDMO5zhp3hHcBB 5cbQEBMh29sG5F5NHaAjXMq1/X0V3hmQddH+WHLfZbuIUD0p0U8iffreq/4nH3pOBdhf p1WCSKGbc/zI69wBZFIEDhDWqxY1/oa2YM0eXRV+dHem7yoU2TmMUgrkcxDzG9VAHSq2 w+Gj8u7IsHaO1pZv3vqYIl+77/4o3KcteqXz6AXcyCq7UsTC/F0tYURJfg7j4vtwBQgP xI/FG41wSDJVv7P+PM+bvDa8Xr8zXUSuFOyjylDX5PvTJ7eMaLr34gIk9cwqnpxmbbJW fgLg== X-Gm-Message-State: AOAM531k5Oil6eEX8toxNkxn3NZCJZRD8m0xnpxw1bapPnBHn9Ct8Gbz QuK1sNcfJCXSd0YCVBBFQaBWfVyE5KyPS1K83Yc= X-Google-Smtp-Source: ABdhPJzVncYlhoHqHjBttBtt7tYEFCvC5SHQmRv6CIqkd2lWoUWD4rWVq97dTF3tP5UvGI5I0dYsKiG/hkrUZKrClfQ= X-Received: by 2002:a25:b116:: with SMTP id g22mr31743408ybj.147.1612287910125; Tue, 02 Feb 2021 09:45:10 -0800 (PST) Original-Received: by 2002:a05:7110:6187:b029:31:9798:b166 with HTTP; Tue, 2 Feb 2021 09:45:09 -0800 (PST) In-Reply-To: <878s86tnv6.fsf@red-bean.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::b2a; envelope-from=thibaut.verron@gmail.com; helo=mail-yb1-xb2a.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:263732 Archived-At: 2021-02-02 17:50 UTC+01:00, Karl Fogel : > On 02 Feb 2021, Ergus wrote: >>1) In general `C-x g` is used by magit; I know this is not a >>priority (cause magit is an external package), but magit is a >>very popular package. > > While Magit is indeed very popular and valuable, shouldn't it > still adhere to convention and avoid binding things in the `C-x' > space? > > That's really a point to be made on the Magit development mailing > list, not here, but what I'm saying here is that Emacs shouldn't > make special efforts to avoid interfering with package keybindings > that violate Emacs's conventions anyway. > > Magit should instead suggest `C-c g' as an entry point for > `magit-status', though a user can bind it however they want of course. > I doubt there are any Magit users who would be daunted by the need to > set up a keybinding for Magit's entry point. To be clear, Magit itself does not bind anything by default. It suggests "C-x g" as a binding, and I see now that it also offers an option to enable that binding for the user. It is not the only high-level package using "C-x letter" as an entry point, another example coming to mind is projectile ("C-x p"). As for the conventions, as far as I can tell, they explicitly require to steer clear of "C-c letter", but they don't have anything about "C-x letter": https://www.gnu.org/software/emacs/manual/html_node/elisp/Key-Binding-Conventions.html Thibaut