[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vc with svn and git
From: |
Michael Albinus |
Subject: |
Re: vc with svn and git |
Date: |
Sat, 25 Feb 2017 09:01:46 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> 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.
- Re: vc with svn and git, (continued)
- Re: vc with svn and git, Andreas Schwab, 2017/02/24
- Re: vc with svn and git, Karl Fogel, 2017/02/24
- Re: vc with svn and git, Stefan Monnier, 2017/02/24
- Re: vc with svn and git, Alfred M. Szmidt, 2017/02/24
- Re: vc with svn and git, Karl Fogel, 2017/02/24
- Re: vc with svn and git, Richard Copley, 2017/02/24
- Re: vc with svn and git, Stefan Monnier, 2017/02/24
- Re: vc with svn and git, Richard Copley, 2017/02/24
- Re: vc with svn and git, Stefan Monnier, 2017/02/24
- Re: vc with svn and git,
Michael Albinus <=
- Re: vc with svn and git, Stefan Monnier, 2017/02/25
- Re: vc with svn and git, Michael Albinus, 2017/02/25
- tramp-sh-handle-vc-registered (was: vc with svn and git), Stefan Monnier, 2017/02/25
- Re: vc with svn and git, Alfred M. Szmidt, 2017/02/28
- Re: vc with svn and git, Karl Fogel, 2017/02/28