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: vc-magit mode (was: Re: PROPOSAL: Repurpose one key and reserve it for third-party packages) Date: Wed, 10 Feb 2021 11:47:05 -0500 Message-ID: References: <7ef75c33936136eb3a20@heytings.org> <87czxazbhr.fsf@melete.silentflame.com> <871rdqfaix.fsf@ericabrahamsen.net> <87mtwd42ck.fsf@melete.silentflame.com> <83tuqkhr9f.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28315"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eric@ericabrahamsen.net, emacs-devel@gnu.org, rms@gnu.org, thibaut.verron@gmail.com, spwhitton@spwhitton.name To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Feb 10 18:01:58 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 1l9ssI-0007Fe-4M for ged-emacs-devel@m.gmane-mx.org; Wed, 10 Feb 2021 18:01:58 +0100 Original-Received: from localhost ([::1]:56472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9ssH-0002Vj-6I for ged-emacs-devel@m.gmane-mx.org; Wed, 10 Feb 2021 12:01:57 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43436) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9sdv-000539-Qz for emacs-devel@gnu.org; Wed, 10 Feb 2021 11:47:07 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47143) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9sdv-0001aU-55; Wed, 10 Feb 2021 11:47:07 -0500 Original-Received: from ams by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1l9sdt-0006d0-BT; Wed, 10 Feb 2021 11:47:05 -0500 In-Reply-To: <83tuqkhr9f.fsf@gnu.org> (message from Eli Zaretskii on Wed, 10 Feb 2021 17:33:16 +0200) 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:264299 Archived-At: > Here is an idea, a new backend -- vc-magit. This calls the right > Magit functions. The user can then set the prefered backends using > vc-handled-backends. Dmitry will tell for sure, but I think adapting Magit to the VC architecture won't be easy, since Magit is not exactly a backend like the other ones. The VC framework might be a kind of Procrustean bed for Magit. Even if the architecture makes it complciated to do it using a vc backend, magit could still take over the C-x v binding for its own purpose with similar semantics to what is in vc-mode. It wouldn't need to be entierly compatible -- but C-x v v could still work as "commit this file", etc.