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 16:04:02 -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> <377f4ee1-54a9-b10c-dc18-3acea6492bec@yandex.ru> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="w8JJBUgxTwP41aub4ht7uC0sBvnpG1SbC" X-Trace: blaine.gmane.org 1477004733 7253 195.159.176.226 (20 Oct 2016 23:05:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 20 Oct 2016 23:05:33 +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 Fri Oct 21 01:05:29 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 1bxMOc-0007Ll-QP for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Oct 2016 01:05:11 +0200 Original-Received: from localhost ([::1]:57537 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxMOf-0004pm-5C for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Oct 2016 19:05:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38204) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxMOX-0004o7-Om for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2016 19:05:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bxMOU-00038A-Js for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2016 19:05:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55411) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bxMOU-000385-GG for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2016 19:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bxMOU-0006GV-3e for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2016 19:05:02 -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 23:05:02 +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.147700465724027 (code B ref 23436); Thu, 20 Oct 2016 23:05:02 +0000 Original-Received: (at 23436) by debbugs.gnu.org; 20 Oct 2016 23:04:17 +0000 Original-Received: from localhost ([127.0.0.1]:42577 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bxMNk-0006FR-Ox for submit@debbugs.gnu.org; Thu, 20 Oct 2016 19:04:16 -0400 Original-Received: from sender163-mail.zoho.com ([74.201.84.163]:21423) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bxMNi-0006FI-HP for 23436@debbugs.gnu.org; Thu, 20 Oct 2016 19:04:15 -0400 Original-Received: from [10.120.13.215] (guest-wireless-207-151-035-021.usc.edu [207.151.35.21]) by mx.zohomail.com with SMTPS id 147700464751864.51187349376744; Thu, 20 Oct 2016 16:04:07 -0700 (PDT) In-Reply-To: <377f4ee1-54a9-b10c-dc18-3acea6492bec@yandex.ru> 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:124753 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --w8JJBUgxTwP41aub4ht7uC0sBvnpG1SbC Content-Type: multipart/mixed; boundary="RJEBb5U62QF7JRGrIikmS3QvfnMdR7t37"; 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> <377f4ee1-54a9-b10c-dc18-3acea6492bec@yandex.ru> In-Reply-To: <377f4ee1-54a9-b10c-dc18-3acea6492bec@yandex.ru> --RJEBb5U62QF7JRGrIikmS3QvfnMdR7t37 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/20/2016 03:34 PM, Dmitry Gutov wrote: > On 20.10.2016 19:39, Hong Xu wrote: >=20 >> 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 t= he >> way to go, can you add a little explanation in the doc string? People >> may not be aware of it. Thanks. >=20 > Sorry, what might be the best way? A new command? What would you like t= o > see clarified in its docstring? Sorry for the confusion. Either keeping what it was or adding a new command [which essentially calls (vc-responsible-backend (vc-follow-link file)) ] would be the best option regarding performance. e need to clarify that symlinks are not followed in vc-responsible-backend, and If the first option is adopted, mention that vc-follow-link should be used if link following is desired. --RJEBb5U62QF7JRGrIikmS3QvfnMdR7t37-- --w8JJBUgxTwP41aub4ht7uC0sBvnpG1SbC 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 iQIcBAEBCAAGBQJYCU1mAAoJECZsfTOCL4R4ZuAP/2MTg/9j4a3oEbuU8bxr5fCT fMmycneWbZ6C2VzsOIgpW6+SkPuls/NwhDmpFhkKJ88ebglRl5A2WT1AQbFcpSed qRmd3Bghyly4DmmwHfu3wIM0YEa3zWtfcFKMmQHD+YLa7Z1y6oIkvOv8REapsflN 5dyqrXm6yVUzFLHX6Tj51mYlR+b3VCm/g8ntk+rfpON9AIIfNMMM3X47Bq4S4q/p RyQEcVETlEO6aJx+gTZypMBm6mUddmwkWqEulXhJeqQ9p8v2PquOaEbreQUewCf4 Narfn+Z34NoXlrWJpEgtprg3LyJiDJxY7JLiEgX10fm8iaDOIU1h8HNTQ2E/bulS baCNEHClVlpJuqBatI3/HlH8z1B+kJvCJlhSG+ypF2+CBzr6zyhyMXRoF/wJsZLp JtQBaMKXJ29aSw+m/FZC9FbhRqvrxsSIMWdnO5DH7xqN7yZCtlwWn1hANu+YP7NM 6VmxOjNaXeC/Q7JQg0hXORpyVUUzAOVOjUsCAmTnhyJzetOLC9FDxHtGPE/Zkq5r 6+CcJ4yMS/Mldzq4eRqjcFJB+5h3DPzUEHtFDsx43YM3OpUSBBvHNAXv/uNG8sa5 XI7FOcYihHMxZEi3xvF4D1/b+xPkfbe3NgvWdSERfPiNJ/ivPa39r/oNKn2vP0GY n9U7e78u0hNoCv/sO8U7 =XXxb -----END PGP SIGNATURE----- --w8JJBUgxTwP41aub4ht7uC0sBvnpG1SbC--