From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#21383: Static revisions in vc-working-revision Date: Sun, 06 Sep 2015 18:29:26 -0400 Message-ID: References: <55E41499.5030501@yandex.ru> <55E5094A.3010108@yandex.ru> <55E59487.1050804@yandex.ru> <55E5CA42.1080005@yandex.ru> <55E5DF1A.9010902@yandex.ru> <55E6D426.10105@yandex.ru> <55E89E83.6000501@yandex.ru> <55EA5CB0.9070007@yandex.ru> <55EB50D7.2030103@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1441578630 20705 80.91.229.3 (6 Sep 2015 22:30:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Sep 2015 22:30:30 +0000 (UTC) Cc: 21383-done@debbugs.gnu.org, Jonathan H To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 07 00:30:15 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1ZYiRw-0003qs-Qc for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Sep 2015 00:30:12 +0200 Original-Received: from localhost ([::1]:51052 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYiRv-000706-V8 for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Sep 2015 18:30:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33571) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYiRs-0006xd-OW for bug-gnu-emacs@gnu.org; Sun, 06 Sep 2015 18:30:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZYiRp-0007y2-Ju for bug-gnu-emacs@gnu.org; Sun, 06 Sep 2015 18:30:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58772) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYiRp-0007x6-HS for bug-gnu-emacs@gnu.org; Sun, 06 Sep 2015 18:30:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZYiRo-0001Na-EK for bug-gnu-emacs@gnu.org; Sun, 06 Sep 2015 18:30:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Sep 2015 22:30:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21383 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21383-done@debbugs.gnu.org id=D21383.14415785695229 (code D ref 21383); Sun, 06 Sep 2015 22:30:04 +0000 Original-Received: (at 21383-done) by debbugs.gnu.org; 6 Sep 2015 22:29:29 +0000 Original-Received: from localhost ([127.0.0.1]:50982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZYiRE-0001MH-Lo for submit@debbugs.gnu.org; Sun, 06 Sep 2015 18:29:28 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:35500) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZYiRC-0001M9-W8 for 21383-done@debbugs.gnu.org; Sun, 06 Sep 2015 18:29:27 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AyFgA731xV/xGkpUVcgxCEAoVVu0CHSwQCAoE8OxIBAQEBAQEBgQpBBYNdAQEDAVYjBQsLDiYSFBgNJIg3CM8jAQEBAQYBAQEBAR2LOoUFB4QtAQSLRKd7gUUjhBQigngBAQE X-IPAS-Result: A0AyFgA731xV/xGkpUVcgxCEAoVVu0CHSwQCAoE8OxIBAQEBAQEBgQpBBYNdAQEDAVYjBQsLDiYSFBgNJIg3CM8jAQEBAQYBAQEBAR2LOoUFB4QtAQSLRKd7gUUjhBQigngBAQE X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="162693575" Original-Received: from 69-165-164-17.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([69.165.164.17]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 06 Sep 2015 18:29:27 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 2AF44AE042; Sun, 6 Sep 2015 18:29:26 -0400 (EDT) In-Reply-To: <55EB50D7.2030103@yandex.ru> (Dmitry Gutov's message of "Sat, 5 Sep 2015 23:30:15 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:106198 Archived-At: >> Yes, the file names would be relative to default-directory. > Does vc-status get a relative file name as input? Currently, I don't think so. But that could be changed if needed. > b) how are you going to enforce it?. By checking all callers? > (*) If we try to eliminate this duplication of info, we introduce > duplication of effort inside VC. Seems to be pointless complexity. Clearly it's easy to get back the absolute file name with just (expand-file-name ), and I don't see where we'd obviously get duplication of efforts. So I'm not sure why you think it'd add complexity. What I do see as a problem is that it would require a careful study&adjustment of the whole VC code. I'm not sure if the result would be more complex or simpler, admittedly. I think it'd be about the same, just with cleaner semantics. > This is true, but I'm not sure what you're getting at. Sorry. I guess I don't know either, I was just pointing out that the problem you point out can be defined away as a feature. Stefan