From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: raman Newsgroups: gmane.emacs.devel Subject: Re: In support of Jonas Bernoulli's Magit Date: Sat, 08 Jul 2017 10:42:26 -0700 Message-ID: References: <8737aac0rb.fsf@wanadoo.es> <7s37aapc4g.fsf@fencepost.gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1499535878 11656 195.159.176.226 (8 Jul 2017 17:44:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 8 Jul 2017 17:44:38 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: Stefan Monnier , emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 08 19:44:34 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dTtmS-0002df-Uk for ged-emacs-devel@m.gmane.org; Sat, 08 Jul 2017 19:44:33 +0200 Original-Received: from localhost ([::1]:33647 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dTtmW-0003Yr-Ob for ged-emacs-devel@m.gmane.org; Sat, 08 Jul 2017 13:44:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dTtlt-0003Yb-UC for emacs-devel@gnu.org; Sat, 08 Jul 2017 13:43:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dTtlp-0001EE-6E for emacs-devel@gnu.org; Sat, 08 Jul 2017 13:43:57 -0400 Original-Received: from mail-pf0-f177.google.com ([209.85.192.177]:36439) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dTtlp-00017a-0F for emacs-devel@gnu.org; Sat, 08 Jul 2017 13:43:53 -0400 Original-Received: by mail-pf0-f177.google.com with SMTP id q86so30967989pfl.3 for ; Sat, 08 Jul 2017 10:43:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=/AqBO3ZX07Voo/BZYxTdEQ/QMZF+H+beAEg2bzSdg04=; b=qz4ANRhGpENqTRBGFanDgMxxAxV4LVkMxP7OOU3uDP7R9GPBAISMMOvG8a1PIVpjJE S0GtwRdThPNke9A/R2hj89EgT/fTQqfgVA/cRo4yjckWLkEaVr0t+EXujvYBwmAQw1ZF T6iBUiI6J7UzFyi1UMwZbXBZXaRQUCWnEeU2cq12UGcXGEGbdeF1o144Vvq4pmf3CDgT 3vX/Q4M3M3eFXs4M/HMwCEfvtl7nwxb4Br15PMGu1b3BJ0KJsI2FgObcqCKBUdF2A07J +o+BPMUkymXKfaxx03LUZVSC8wOg+026hQs8Nt7jeC9vEbxzt867rLS4vwlSG3abyaLz ZQmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=/AqBO3ZX07Voo/BZYxTdEQ/QMZF+H+beAEg2bzSdg04=; b=FZ4Fl4qRvvtotqwLt13tg564evZEKyNzRta7DxYXsqHJni/Gxc1dFf4jOc5N24pEif l7TpZtwiGA+N7JU782CgwUlONlGYWMAtCjfy1BxfUQcUalNZgTEfnSFS3RnNjj8SpDNm eSEy7B4d5hRUlbj1RCyx5pIMd9erFg/YksXrWectkBGU/OVCgp1zek6BQY1Z81P2GOyW b9A3nnGl0GH4J1/m0nDKNmdG2fxQqyZA0qtIBb8SnE54yGoBqGK4j9rJftRRcgrmUiCY 8iojK1rd02HI8Kc7FTvsQ9px7Dh9JNnOgUbHdFQ7PShZDhtYPJ5P73gR6wROsMrlVm/Y wFaw== X-Gm-Message-State: AIVw1121hV0pv1RyRQfzfbR204txy44cb8gE1FI+ioZpFkihuZGbcjD1 +l4tYXOJHCFA1wvqoYkCyg== X-Received: by 10.84.140.235 with SMTP id 98mr9291461plt.26.1499535749023; Sat, 08 Jul 2017 10:42:29 -0700 (PDT) Original-Received: from raman-glaptop2 (c-73-170-121-60.hsd1.ca.comcast.net. [73.170.121.60]) by smtp.gmail.com with ESMTPSA id q8sm15140051pfl.89.2017.07.08.10.42.27 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Sat, 08 Jul 2017 10:42:28 -0700 (PDT) In-Reply-To: (Richard Stallman's message of "Sat, 08 Jul 2017 13:01:27 -0400") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.192.177 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:216334 Archived-At: Richard Stallman writes: I use both vc and magit -- so this perspective below might help where each of vc/magit win: For simple vc tasks -- and that typically equates to many things one traditionally did in all VC systems, vc-git is what I use --- examples: 1. Check-in current file, 2. Diff current version against a given version etc. Reason: These are all one-shot kbd commands starting with C-x v Magit: There are many things that Git lets you do that are at the power-user end of the spectrum --- and magit actually makes those doable, whereas the git commandline would never encourage you to venture even close. Examples: 1. Selectively commiting diff hunks in a file with many changes 2. Selectively reverting specific diff hunks 3. Applying git patches 4. Examining past log entries -- especially commits with many files, 5. From (4) jumping to a given file/diff hunk These above I dont even know where I'd start with vc -- they may well be possible. Bottom-line: When one is going to perform a bunch of git tasks, magit wins; when one if focusing on writing code and using the vc system as a helper that makes sure you dont lose work, pressing C-x v to invoke the vc keymap means you dont switch attention away from what you are doing. Also -- for users coming to Git, magit may have a slight win since the magit buffer shows you a bunch of things you can do at a given point -- whereas with VC, you need to have been using Emacs/VC for a while, or at least have read the info pages in order to know what is possible. > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > > > Maybe so. But it doesn't need to do everything Magit does. It only > > > needs to be good enough to make git easy to use in Emacs. > > > Then I think we already have that in VC > > The reason I think this isn't so is that repeatedly I've seen people > post on this list for help dealing with git, and each time people say > to use Magit. > > I have not done a scientific study, which would include investigating > whether the recommendation actually helped those people, and what > fraction of Emacs users think VC is just fine for using git. > I have simply supposed that the advice that was given is good advice > since the people who give it are expert Emacs users. --