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: Sun, 23 Nov 2014 03:27:32 +0200 Message-ID: <54713804.3070906@yandex.ru> References: <20141122133351.46279382C23@snark.thyrsus.com> <86r3wvb900.fsf@yandex.ru> <20141122163707.GC25909@thyrsus.com> <5470CBEC.3000500@yandex.ru> <20141122180845.GA27863@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 1416706086 16320 80.91.229.3 (23 Nov 2014 01:28:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Nov 2014 01:28:06 +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 Sun Nov 23 02:28:01 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 1XsLy4-0007H9-OE for ged-emacs-devel@m.gmane.org; Sun, 23 Nov 2014 02:28:00 +0100 Original-Received: from localhost ([::1]:47393 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XsLy4-0002Qi-AQ for ged-emacs-devel@m.gmane.org; Sat, 22 Nov 2014 20:28:00 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41872) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XsLxn-0002QT-HJ for emacs-devel@gnu.org; Sat, 22 Nov 2014 20:27:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XsLxi-0007g0-Rt for emacs-devel@gnu.org; Sat, 22 Nov 2014 20:27:43 -0500 Original-Received: from mail-wi0-x233.google.com ([2a00:1450:400c:c05::233]:45294) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XsLxi-0007fl-Kc for emacs-devel@gnu.org; Sat, 22 Nov 2014 20:27:38 -0500 Original-Received: by mail-wi0-f179.google.com with SMTP id ex7so2629225wid.6 for ; Sat, 22 Nov 2014 17:27:35 -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=W8T2zEw6r+nPqZbbZGyli4QB5hj79xgbWVLmnfsXDAM=; b=ifMp6cQscj3BONhtS52QxAJtVDpKlYzxGRfxhSLl6wAlTajJ+1AL+3cXeGjLo+pQ25 /qNjFR6ZnVeiu8UtZ4j50uedv4I7HnmZSC5tqwplUZG1oSRQnpofNVHQGle2dq682ygC FBRoDM0rKnqKhlI0MbbNodSehFqkodh0WdW7XKVc9ttyRU2HLapEayKLaHMLWijuIHPk eFcLXHatFqnni40WZEARCOgh7EmOsHO6pSUePE2+QYJ2nghxC6PB59GSurpxYMvxJUFg iQSCPyqnD2ZsGecyqke2lmRTtGi1reSeAH2rIID+GnEgayRB8afMgGEv2lgVyVr3X++A LNEg== X-Received: by 10.180.211.166 with SMTP id nd6mr9242249wic.81.1416706055828; Sat, 22 Nov 2014 17:27:35 -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 ry19sm14306014wjb.3.2014.11.22.17.27.34 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 22 Nov 2014 17:27:35 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 In-Reply-To: <20141122180845.GA27863@thyrsus.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::233 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:178055 Archived-At: On 11/22/2014 08:08 PM, Eric S. Raymond wrote: > It's better than keeping the functions separate because the > separation contributes in a significant way to making the > interface a hairball that is difficult to understand and maintain. Would that make the combined function's description shorter than the current `dir-status' one, in vc.el header? If yes, how? I suspect that would make the details from `dir-status-files' get lost in the noise, whereas I like its "report on all requested files" semantics (here's why: https://github.com/dgutov/diff-hl/issues/25#issuecomment-57107335). Even now, when the description is separate, almost every backend I tried currently fails to adhere to it in some respect, see http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18579#5 and http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18579#59. > I should have been able to write SRC support in 90 minutes. The fact > that it took the inventor of both SRC and VC mode *two days* told > me the API has gone very badly wrong. Some things are just hard. And, backwards compatibility aside, usually we don't want to discard existing features.