From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juliusz Chroboczek Newsgroups: gmane.emacs.devel Subject: Re: In defense of VC [was: In support of Jonas Bernoulli's Magit] Date: Mon, 10 Jul 2017 10:47:54 +0200 Message-ID: <87pod8fzk5.fsf@trurl.irif.fr> References: <8737aac0rb.fsf@wanadoo.es> <7s37aapc4g.fsf@fencepost.gnu.org> <87bmouvu5z.fsf@jane> <87tw2lf6l1.fsf_-_@trurl.irif.fr> <87lgnw7ooy.fsf@detlef> <874luk4rn5.fsf@mouse> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1499676534 9831 195.159.176.226 (10 Jul 2017 08:48:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 10 Jul 2017 08:48:54 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 10 10:48:50 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 1dUUN2-0001ta-MG for ged-emacs-devel@m.gmane.org; Mon, 10 Jul 2017 10:48:44 +0200 Original-Received: from localhost ([::1]:39281 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUUN5-0006r7-1Q for ged-emacs-devel@m.gmane.org; Mon, 10 Jul 2017 04:48:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54079) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUUMV-0006qx-N0 for emacs-devel@gnu.org; Mon, 10 Jul 2017 04:48:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUUMQ-0002ij-SV for emacs-devel@gnu.org; Mon, 10 Jul 2017 04:48:11 -0400 Original-Received: from [195.159.176.226] (port=56708 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dUUMQ-0002iJ-M6 for emacs-devel@gnu.org; Mon, 10 Jul 2017 04:48:06 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dUUMF-0007wo-Jv for emacs-devel@gnu.org; Mon, 10 Jul 2017 10:47:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 18 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:yC0ICwkogSCvw4M9WmxX05Y4r40= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 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:216393 Archived-At: > It seems like there's two different workflows here: Some people keep > work in progress going on some files while wanting to commit other > files, while other people only have a single thing going (perhaps over > many files) and always wants to commit all changed files. I can only speak for myself, but I fit in both categories at different times, depending on what I'm doing. > This sounds like it should be a user-level switch in vc that would > control whether the default is to commit all changes or just the current > file, I think. I think the default behaviour should be as so: if no files are marked, and there are modified files other than the one that's being committed, ask whether to commit the other files (if user is unsure, he can C-g and investigate). -- Juliusz