From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#39380: 26.3: Opening files in vc-dir-mode with differing root and working dir fails Date: Wed, 12 Feb 2020 00:36:15 +0200 Message-ID: <1d6bc78f-fddd-8b9e-cf3a-296b87a422f7@yandex.ru> References: <8eea69d2-46ed-0c41-b516-0120251dcc96@gmx.de> <504aedd0-54e5-aa62-b19f-41fbafa9aa17@gmx.de> <09ef5fcb-80b7-3b43-243a-2278b46281ba@yandex.ru> <5c7d9eab-59d1-21c1-c8e5-1c820cb2946b@gmx.de> <25183dd6-10b3-c3c4-0910-262c70434161@gmx.de> <0a8b11c8-1c5c-33ed-e5a1-e7ad5b090929@yandex.ru> <834kw2g1ur.fsf@gnu.org> <38ea415e-9993-806c-3006-85e6e435fbd5@yandex.ru> <83v9oiebu3.fsf@gnu.org> <83k14xec8o.fsf@gnu.org> <092bcdf9-c866-9eb0-b249-60381d445731@yandex.ru> <837e0xe6d5.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="25815"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 Cc: 39380-done@debbugs.gnu.org, Wolfgang.Scherer@gmx.de To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 11 23:37:12 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j1e9X-0006aO-Qn for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 11 Feb 2020 23:37:11 +0100 Original-Received: from localhost ([::1]:57992 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1e9W-0006Rc-Sr for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 11 Feb 2020 17:37:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43633) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1e9P-0006RN-PP for bug-gnu-emacs@gnu.org; Tue, 11 Feb 2020 17:37:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j1e9O-0001W2-Kc for bug-gnu-emacs@gnu.org; Tue, 11 Feb 2020 17:37:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51720) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j1e9O-0001Vv-GZ for bug-gnu-emacs@gnu.org; Tue, 11 Feb 2020 17:37:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j1e9O-0002QT-Db for bug-gnu-emacs@gnu.org; Tue, 11 Feb 2020 17:37:02 -0500 Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Feb 2020 22:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 39380 X-GNU-PR-Package: emacs Mail-Followup-To: 39380@debbugs.gnu.org, dgutov@yandex.ru, Wolfgang.Scherer@gmx.de Original-Received: via spool by 39380-done@debbugs.gnu.org id=D39380.15814605859268 (code D ref 39380); Tue, 11 Feb 2020 22:37:02 +0000 Original-Received: (at 39380-done) by debbugs.gnu.org; 11 Feb 2020 22:36:25 +0000 Original-Received: from localhost ([127.0.0.1]:57691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j1e8n-0002PQ-Bi for submit@debbugs.gnu.org; Tue, 11 Feb 2020 17:36:25 -0500 Original-Received: from mail-wm1-f67.google.com ([209.85.128.67]:38837) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j1e8l-0002P8-3L for 39380-done@debbugs.gnu.org; Tue, 11 Feb 2020 17:36:23 -0500 Original-Received: by mail-wm1-f67.google.com with SMTP id a9so5739686wmj.3 for <39380-done@debbugs.gnu.org>; Tue, 11 Feb 2020 14:36:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=YV8QPsK6jCRr/Foq8fTc5pvFBkO71SwTrRDJB2cWIxc=; b=TtP5Wb/MhhFlFtm+ZNcfdnzd/gqDJXwoH1QwrpY2tE4iXNY9fsRFS+hoWNjo5z4igZ leO1MwfdLN7pyYp8zKmDIMinGK/HTyfelRdnDAtK4KiQWRsg1/vT3FNrdKeTbDbJ6eru X0+fGX3WiO+ghcyexBq2hirgUrSKd5nxjUN0vc9H6yO/XbY+GrZe08zKs6nVq9QKNtU8 AzAEg/Bq/BXWW8TbfC5wh4AXCa5WpibfHE/LR4X1+pdlPpYViV+psO0KR8VA4XvKgqGn 3Q0VRRiqRIyd8ClDfuRfYOgu6ESrhpxznzns+rpsNjf7Xv2aH/CCr9f0kkClv4eFQToD u07A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=YV8QPsK6jCRr/Foq8fTc5pvFBkO71SwTrRDJB2cWIxc=; b=P2yHqfUR0pqkoK1vmtameMEeiIj9eXJnGFQlRcXrdcG0RCio65nCO0jz4fc0x3Ogkf 3JQ0zJkKmn88bK3vkq4G+Bk13CnC2Xjf4XXCf/KbcQlDCRrDdHsZW3oeUFOnFQV2R0d2 JMZp6LupI82CFjsW5p8NcgHrMRIsrkk9JKfPqUoyYH4OTJBN3bCmqBZ9RkvSxLlQHCse ePBUFUkNgU2OjgMGr294kcW15e7tqra3DK1iEGmxaMVIqMnQVCXuNnOkenqoijLvfMGR S8n6hlgOEUtyuA7BEEBL0qe/NDCQfJTV9FrpGk0EHq9mckGaaZLxNQ3hxQFPbQlblS1W Lwhw== X-Gm-Message-State: APjAAAXpEWiR5HHQpMkA1lnXFfvn4J8WqZlUIYTmEOJ6owZviy1TRcaH YtchVpMtB7SMrkbX7I0L5HRaxB6ZHFs= X-Google-Smtp-Source: APXvYqxaDW+ib0zXvHOEZEvuya9DvME2zI3Y4B9/jRcqHOgLAjhz/4wOIVZkK5sIlLNjkhkt7CK/Ig== X-Received: by 2002:a1c:e246:: with SMTP id z67mr8648714wmg.52.1581460577440; Tue, 11 Feb 2020 14:36:17 -0800 (PST) Original-Received: from [192.168.0.3] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id l8sm5690606wmj.2.2020.02.11.14.36.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Feb 2020 14:36:16 -0800 (PST) In-Reply-To: <837e0xe6d5.fsf@gnu.org> Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:175960 Archived-At: Version: 27.1 On 08.02.2020 12:11, Eli Zaretskii wrote: >> Cc: 39380@debbugs.gnu.org, Wolfgang.Scherer@gmx.de >> From: Dmitry Gutov >> Date: Sat, 8 Feb 2020 12:36:46 +0300 >> >>> If I say "hg status" in a subdirectory, I by default get file names >>> relative to the root. Wouldn't Mercurial users be surprised that >>> Emacs produces a different display? (I understand that there's a >>> recent tendency to make it easier to produce relative file names, and >>> there's even a config option to make that the default, but I'm asking >>> whether we should force this behavior on users even if their >>> preference is not to.) >> >> VC is intended to provide a unified interface across backends, even if >> it's at times different from the "native" behaviors. >> >> Anyway, it's very easy to get the names against the root anyway: just >> open VC-Dir there. And it's the default input: M-x vc-dir RET. > > OK. Taking this as the approval of the patch, pushed. Using "re:" adds a bit of a performance overhead, but it's probably not really noticeable on small-to-medium projects (and on a big one it was ~100ms where without it dir-status-files takes ~1s).