From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Alfred M. Szmidt" Newsgroups: gmane.emacs.devel Subject: Re: PROPOSAL: Repurpose one key and reserve it for third-party packages Date: Fri, 12 Feb 2021 10:11:41 -0500 Message-ID: References: <7ef75c33936136eb3a20@heytings.org> <87czxazbhr.fsf@melete.silentflame.com> <871rdqfaix.fsf@ericabrahamsen.net> <87mtwd42ck.fsf@melete.silentflame.com> <871rdmy6vk.fsf@gmail.com> <87sg61wumn.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6954"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rms@gnu.org, eric@ericabrahamsen.net, stefankangas@gmail.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca, spwhitton@spwhitton.name To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 12 16:12:55 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 1lAa7r-0001hn-5b for ged-emacs-devel@m.gmane-mx.org; Fri, 12 Feb 2021 16:12:55 +0100 Original-Received: from localhost ([::1]:45522 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lAa7q-0005YW-6Y for ged-emacs-devel@m.gmane-mx.org; Fri, 12 Feb 2021 10:12:54 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43354) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAa6i-00040B-GG for emacs-devel@gnu.org; Fri, 12 Feb 2021 10:11:44 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51679) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lAa6h-0007g2-Pg; Fri, 12 Feb 2021 10:11:43 -0500 Original-Received: from ams by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1lAa6f-0008Tz-G2; Fri, 12 Feb 2021 10:11:41 -0500 In-Reply-To: <87sg61wumn.fsf@gmail.com> (message from Robert Pluim on Fri, 12 Feb 2021 09:36:00 +0100) 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:264517 Archived-At: >> vc and Magit are two completely separate things to me (even though I >> do use vc to do git stuff as well). Alfred> Most of Magit's commands don't need to be bound globally anyway. Alfred> Then it makes even more sense to just pick a key under C-x v. I donʼt follow. Magit is used for magit stuff, from the magit-status window. If people want to use magit commands from other places, they can choose their own binding or use the magit recommended ones. "magit stuff" is version control. vc is for abstracting away the differences between different version control systems, why would magit commands need to share a prefix with it? 'C-x v .' (e.g.) could be bound to an alternative viewer function that would work depending on the repository, e.g., gitk for those who wish to use that, kick of a URL action for viewing a fossil repository using "fossil ui", or whatever. See how this is a much more general solution to work with _any_ "viewer" (whatever you wanna call magit) than having it take up keybindings that could be put to a much more general use than a specialzied one.