From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Hong Xu Newsgroups: gmane.emacs.bugs Subject: bug#23436: [PATCH] Attemp to use the true name of a file to determine responsible vc if the genuine name does not work. Date: Thu, 20 Oct 2016 09:39:45 -0700 Message-ID: References: <1462311145-5959-1-git-send-email-hong@topbug.net> <85f11f8a-1799-befd-3e5b-f7d7a6eac660@topbug.net> <072a649f-d11a-7c82-b3ae-32d9a92c8f8b@topbug.net> <5d653522-49bd-8b48-e3d6-0c09d1c65fae@yandex.ru> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="47NG60tktUOCBwS1FKg4n2KNnnLo9fFuL" X-Trace: blaine.gmane.org 1476981623 27432 195.159.176.226 (20 Oct 2016 16:40:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 20 Oct 2016 16:40:23 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0 To: Dmitry Gutov , 23436@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 20 18:40:19 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1bxGO3-0005cX-F1 for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Oct 2016 18:40:11 +0200 Original-Received: from localhost ([::1]:56131 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxGO5-0000Ye-IE for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Oct 2016 12:40:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56197) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxGNx-0000XJ-3P for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2016 12:40:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bxGNt-0007Gb-Vo for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2016 12:40:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34630) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bxGNt-0007GR-SE for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2016 12:40:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bxGNt-0007Ay-MD for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2016 12:40:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Hong Xu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Oct 2016 16:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23436 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 23436-submit@debbugs.gnu.org id=B23436.147698160027571 (code B ref 23436); Thu, 20 Oct 2016 16:40:01 +0000 Original-Received: (at 23436) by debbugs.gnu.org; 20 Oct 2016 16:40:00 +0000 Original-Received: from localhost ([127.0.0.1]:40820 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bxGNs-0007Ad-1I for submit@debbugs.gnu.org; Thu, 20 Oct 2016 12:40:00 -0400 Original-Received: from sender163-mail.zoho.com ([74.201.84.163]:21389) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bxGNp-0007AU-Qe for 23436@debbugs.gnu.org; Thu, 20 Oct 2016 12:39:58 -0400 Original-Received: from [192.168.88.88] (cpe-104-32-170-214.socal.res.rr.com [104.32.170.214]) by mx.zohomail.com with SMTPS id 1476981589579883.5738328465951; Thu, 20 Oct 2016 09:39:49 -0700 (PDT) In-Reply-To: X-Zoho-Virus-Status: 1 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: 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" Xref: news.gmane.org gmane.emacs.bugs:124736 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --47NG60tktUOCBwS1FKg4n2KNnnLo9fFuL Content-Type: multipart/mixed; boundary="JnIXT4dc8FcRmmSmvOpkN2hEAFBphH9b3"; protected-headers="v1" From: Hong Xu To: Dmitry Gutov , 23436@debbugs.gnu.org Message-ID: Subject: Re: bug#23436: [PATCH] Attemp to use the true name of a file to determine responsible vc if the genuine name does not work. References: <1462311145-5959-1-git-send-email-hong@topbug.net> <85f11f8a-1799-befd-3e5b-f7d7a6eac660@topbug.net> <072a649f-d11a-7c82-b3ae-32d9a92c8f8b@topbug.net> <5d653522-49bd-8b48-e3d6-0c09d1c65fae@yandex.ru> In-Reply-To: --JnIXT4dc8FcRmmSmvOpkN2hEAFBphH9b3 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/20/2016 02:47 AM, Dmitry Gutov wrote: > On 20.10.2016 03:16, Hong Xu wrote: >=20 >> mkdir my-repo && cd my-repo >> hg init >> git clone git://git.savannah.gnu.org/emacs.git >> ln -s emacs/README README_emacs >> hg add README_emacs >> >> README_emacs is tracked in the repo "my-repo" but README is tracked in= >> the emacs repo. If true name is directly used, we would fail to obtain= >> the correct responsible backend. >=20 > OK, thanks. >=20 > Regarding the user option, though, wouldn't it be almost as good if you= > could call vc-follow-link interactively? Not sure if vc-follow-link > works for directories, but a new command could. Regarding the performance and user options, this might be the best way (or consider adding a function that wraps the two calls). If this is the way to go, can you add a little explanation in the doc string? People may not be aware of it. Thanks. --JnIXT4dc8FcRmmSmvOpkN2hEAFBphH9b3-- --47NG60tktUOCBwS1FKg4n2KNnnLo9fFuL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYCPNUAAoJECZsfTOCL4R4DvQP/3DCBHOyUeqGA1H8Qpbd9abD kLUxelqjfpaH7r9yvLo/YzU2yM468XO398UM8ce7WAiXtLlxlY1A304cOCawAfPv qLC6fi1pU33vZ1T2WLUD2A7ws9fd2MWDFv18ohjwDeb5zXPT5ezN7hV4CvYjaS2Z EcFdq76WzlfKW0+c4ASyvH7lSxnQLWhR1S5pLkNfC+6OIgTHcLejkJKDoYI6Ji+I D0aN+VQ1HqVtCMty2bAFp/qyi2wZ2iFNo5jL7U169o9uXMZmyGYqXcE98Vaip+5z b/Rnk1950GVqnqBwp1xXHLlwnzFJBqBs10pS62zOgnsyEjyNldqeUsebdAudE12H z/mfgDD2aPUdH2scQySZmnBUu33NmdURGpnLY5Vj9zHR4ZMp8VQEANYw5318lTCl 7Eln2/iofuc+N5G8bZ7ydShmGX8/JKdNKgIEkX6fY6joOXmLh+T6n1rssMvYJNjo cAJQh/b5s964ScK7rQIducdRxTOYjIqpv9tmxT9TzvO5jm9zoU3NRP+snXIdvxPD E2ceb7Miz1heu9+w4QCbv7OQiYuqtTmamjQWV3m43o3RX7n97KwRxkXzZnISCzb8 WIhia9yDftPRIJeh1BiUtHI7NZMn32ESFxVsXD1mLs21HwNWRHttd10rtVQw1odf mx1hg/un8EHwy6xeMtdf =xaRN -----END PGP SIGNATURE----- --47NG60tktUOCBwS1FKg4n2KNnnLo9fFuL--