From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: vc with svn and git Date: Sat, 25 Feb 2017 09:01:46 +0100 Message-ID: <87inny66mt.fsf@detlef> References: <87bmtrsdkl.fsf@kwork> <87innzqvfi.fsf@kwork> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1488009763 9655 195.159.176.226 (25 Feb 2017 08:02:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 25 Feb 2017 08:02:43 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 25 09:02:39 2017 Return-path: Envelope-to: ged-emacs-devel@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 1chXJO-0001vh-Dd for ged-emacs-devel@m.gmane.org; Sat, 25 Feb 2017 09:02:38 +0100 Original-Received: from localhost ([::1]:41689 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chXJU-0003dK-8L for ged-emacs-devel@m.gmane.org; Sat, 25 Feb 2017 03:02:44 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49201) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chXIo-0003Yf-SC for emacs-devel@gnu.org; Sat, 25 Feb 2017 03:02:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1chXIl-0003o1-Qg for emacs-devel@gnu.org; Sat, 25 Feb 2017 03:02:02 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:49340) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1chXIl-0003nV-I1 for emacs-devel@gnu.org; Sat, 25 Feb 2017 03:01:59 -0500 Original-Received: from detlef.gmx.de ([93.197.222.223]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MFAaV-1cWkis1lAR-00GL3L; Sat, 25 Feb 2017 09:01:49 +0100 In-Reply-To: (Stefan Monnier's message of "Fri, 24 Feb 2017 16:16:38 -0500") X-Provags-ID: V03:K0:fOCwg/oMNFql7Z/iIbiAbc/WZMbe0hUPZAKz+JWRTk6/xiGTv9G ErqOBvnbe7RUQEmt+X6+h/Rqey75lRyBx0wr9eTnvK9/JkeKRhkDJCykkxan41O+0e+F7at OoIy3q67T5Vdcaa2dOEoyC3euqWmkZz4O59V9hJtfOi5GIM3wxYqj7tCsBfOQQMNRyKVHwE tTZNsqGSb1CzK0H6v+s9w== X-UI-Out-Filterresults: notjunk:1;V01:K0:11xOhJtOU3U=:SsCXTx0NEDv3fbnTYCLo1H m5YbCcADQiS971vUiUMvbSp34FBZrcjt8T08FwA/Tuv6t3UHBcfbiDl1hVqniJynoLeSL3Q9p P2OwyZnsnmhpedqEA1MQvWHxo29/ELZqfByi3DwPnt/nUPLo7LnVGDz7FM3m5lJWjfqEOlXZL 4F+JnMgDZNYX2QNHZyilDg+gqZR8b/Jvs/4SONrcR11mxWgzGcjTEaRqZ2eZj7SEJGGnfnhgi kM5yX/6t5IE6aAlxabxSsB3XYnF7DqNq0GdTaslLp6rm3XaCY9BT86ornk47ROpTNdCEPrFRz znlSBaetsDofrXz9a+pJTqee6j/ER9zwaJTdJF5ACibtDBUfzUuG45DljZPcWJ81pvwq3skTv yZYF3xo+CH14TyexTj6q89mvLmDiwLPzpUzSX3750LjHgFcfa/TIG/r9wV7obfVZdvIJEW4MB /f69isNuT+lATFx9EM1S8R6JVfHtlg3nMMQjydmQ0S432W47TAiWjSaAt1engAvfpZrVWfpcG rKph30ec8hafRNXdhy5c5ob9p5lD5yBxR+X/U3kflHkSEWvm190GaRMIqJi1h3tlH8cBVlx7j gOMHAHrgEYoUIysLtCk4KJWgp+jPTQpb+4hyTiEusWslpVpsAh9CCFXU5MEYh6QftCsC1fY+d 5VEM7piuxOHyxe97b4GJG5p1r3a1fG6p3cObp+0fnxaRWZ2Ac00A1hFstwuqjo2ndlwAaz87r aAqg6PdE1kkxUno/fz/YgGOLSQUTcO0Uk8gwgPWl5y/LoJJqElNh1kS19YDIIL8w5zO/8unJ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:212588 Archived-At: Stefan Monnier writes: >>> I think there's a caching layer going on -- that appears to be what >>> this block is about: >>> >>> ((and (boundp 'file-name-handler-alist) >>> (setq handler (find-file-name-handler file 'vc-registered))) >>> ;; handler should set vc-backend and return t if registered >>> (funcall handler 'vc-registered file)) > > This is not a cache. It's a hook that was meant (I think) to support VC > on remote file names (or maybe even within tarballs). I don't know that > it's ever been used (then again, I'm biased because I never liked this > hook, so don't take my word for it). I don't know the situation with tarballs, but for Tramp it is implemented and useful. Tramp's implementation uses some caching indeed for performance improvement. See the comment in tramp-sh.el, heading `tramp-sh-handle-vc-registered'. > Stefan Best regards, Michael.