From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: My plans for VC mode Date: Sat, 22 Nov 2014 19:46:20 +0200 Message-ID: <5470CBEC.3000500@yandex.ru> References: <20141122133351.46279382C23@snark.thyrsus.com> <86r3wvb900.fsf@yandex.ru> <20141122163707.GC25909@thyrsus.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1416678424 20653 80.91.229.3 (22 Nov 2014 17:47:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Nov 2014 17:47:04 +0000 (UTC) Cc: emacs-devel@gnu.org To: esr@thyrsus.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 22 18:46:57 2014 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 1XsEls-0005VI-Ns for ged-emacs-devel@m.gmane.org; Sat, 22 Nov 2014 18:46:56 +0100 Original-Received: from localhost ([::1]:46311 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XsEls-0001xg-B0 for ged-emacs-devel@m.gmane.org; Sat, 22 Nov 2014 12:46:56 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34605) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XsElW-0001xZ-ES for emacs-devel@gnu.org; Sat, 22 Nov 2014 12:46:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XsElN-00022t-DP for emacs-devel@gnu.org; Sat, 22 Nov 2014 12:46:34 -0500 Original-Received: from mail-wg0-x235.google.com ([2a00:1450:400c:c00::235]:53360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XsElN-00022p-6W for emacs-devel@gnu.org; Sat, 22 Nov 2014 12:46:25 -0500 Original-Received: by mail-wg0-f53.google.com with SMTP id l18so8977108wgh.40 for ; Sat, 22 Nov 2014 09:46:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=qJl1aH1umyZzMJPOsPxNc2Gm2Tgm5Gotnp14HAm+cJU=; b=NBtaI89WAQbcTNID4Hv+o9+wWikb72vdZYVzr7sRq9e00gmU0XDTH6OVxg5Dwz9sxw 1Yl8snu+TrZqnoVKOu/BoX1GCQbsZNPaiPrN2upAyYi+m5byU6w/f9OtXsu6pF3Plc4o tkO6n77WHLD+Zs3lk3bsMIBxGzPUFe5siQkszI+nAZnjcQzM1SyjYF6aorDJed+OvP3E NDH/t68IK+SS9un5URcX5bgMkwAkSESvWtX+xemxCJ7+iJfvRXjxwFKF2gTzed9HW0Z9 sKfULReuYrE6b46goHT4mRJNh8ox+MdWzwuymA3hkaDFptHHxyWSpDr5XQR/iZXewIag Yxrg== X-Received: by 10.180.99.105 with SMTP id ep9mr7474152wib.82.1416678384054; Sat, 22 Nov 2014 09:46:24 -0800 (PST) Original-Received: from [192.168.10.25] (213-71-217.netrun.cytanet.com.cy. [213.7.71.217]) by mx.google.com with ESMTPSA id wr9sm13003207wjb.42.2014.11.22.09.46.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 22 Nov 2014 09:46:23 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 In-Reply-To: <20141122163707.GC25909@thyrsus.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::235 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:178033 Archived-At: On 11/22/2014 06:37 PM, Eric S. Raymond wrote: > vc-state is likely to surivive with unaltered semantics. So is diff. Ok. I'm also using `vc-diff-internal', `vc-buffer-sync' and `vc-exec-after', but these seem to be less relevant to the current subject. > `dir-status' and `dir-status-files', on the other hand...there is a comment > in vc.el that reads: > > ;; - Another important thing: merge all the status-like backend operations. > ;; We should remove dir-status, state, and dir-status-files, and > ;; replace them with just `status' which takes a fileset and a continuation > ;; (like dir-status) and returns a buffer in which the process(es) are run > ;; (or nil if it worked synchronously). > > I think this is a good thing to aim at. The above list includes `state', which you're saying won't be changed much. Other than that, do you mean `dir-status' and `dir-status-files' will be merged? If that means that the new function will behave just like `dir-status' when passed a nil (or a directory) instead of a list of files, then how that's much better than keeping the functions separate? The downside is obvious, meanwhile (API breakage).