From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: vc-dwim when nothing to commit Date: Sat, 18 Apr 2015 14:03:24 +0300 Message-ID: <83wq197l6r.fsf@gnu.org> References: <86egoeusg2.fsf@example.com> <83pp7yp5po.fsf@gnu.org> <87383yqkpc.fsf_-_@lifelogs.com> <838udp997g.fsf@gnu.org> <87pp71pwgi.fsf@lifelogs.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1429355037 23097 80.91.229.3 (18 Apr 2015 11:03:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Apr 2015 11:03:57 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 18 13:03:49 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YjQXL-0001zW-Ph for ged-emacs-devel@m.gmane.org; Sat, 18 Apr 2015 13:03:47 +0200 Original-Received: from localhost ([::1]:45225 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjQXK-0002LF-Mo for ged-emacs-devel@m.gmane.org; Sat, 18 Apr 2015 07:03:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38350) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjQXG-0002L5-G9 for emacs-devel@gnu.org; Sat, 18 Apr 2015 07:03:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YjQXC-0005ww-ER for emacs-devel@gnu.org; Sat, 18 Apr 2015 07:03:42 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:59444) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjQXC-0005wl-6M for emacs-devel@gnu.org; Sat, 18 Apr 2015 07:03:38 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NN000A001AUYM00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Sat, 18 Apr 2015 14:03:36 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NN000AOE1E0FG60@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Sat, 18 Apr 2015 14:03:36 +0300 (IDT) In-reply-to: <87pp71pwgi.fsf@lifelogs.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:185566 Archived-At: > From: Ted Zlatanov > Date: Sat, 18 Apr 2015 06:22:37 -0400 > > EZ> Of course, bonus points for guessing the next command (not necessarily > EZ> "git push") given the previous one and the existence of telltale files > EZ> below .git/. That would be much more in line with the spirit of > EZ> vc-next-action, IMO. > > Right, so the history would be per repository and the very first initial > guess would be "git push" usually? I would use that. > > Unless there's a strong protest, I can try implementing a first cut of > this. I like that it fills a void, where you say "DWIM" after a Git > commit and VC goes "huh? go away!" :) Please do, and TIA! Don't be bothered by "strong protest", I don't think we will see anything like that. > EZ> Unfortunately, we don't seem to have an active maintainer of VC, in > EZ> particular in the Git area, so Git support in VC remains rudimentary > EZ> and at times buggy (e.g., see bug#20292, which remains without any > EZ> response, let alone fix). And since most sophisticated Git users seem > EZ> to use magit anyway, I see no hope for having vc-git fixed any time > EZ> soon. > > That's unfortunate. I use both, but VC is definitely more convenient > for "smaller" interactions. Magit tends to be an all-day workflow. For me, the main problem with magit is that it's specific to Git, so it's useless with other VCSes, which I still use almost every day, including with important GNU projects (like Texinfo, for example).