unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: vc with svn and git
Date: Sat, 25 Feb 2017 09:01:46 +0100	[thread overview]
Message-ID: <87inny66mt.fsf@detlef> (raw)
In-Reply-To: <jwvbmtrl2f9.fsf-monnier+gmane.emacs.devel@gnu.org> (Stefan Monnier's message of "Fri, 24 Feb 2017 16:16:38 -0500")

Stefan Monnier <monnier@iro.umontreal.ca> 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.



  parent reply	other threads:[~2017-02-25  8:01 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-24 15:23 vc with svn and git Alfred M. Szmidt
2017-02-24 15:35 ` Andreas Schwab
2017-02-24 15:54   ` Alfred M. Szmidt
2017-02-24 17:28 ` Karl Fogel
2017-02-24 17:49   ` Stefan Monnier
2017-02-24 18:11   ` Alfred M. Szmidt
2017-02-24 18:45     ` Karl Fogel
2017-02-24 20:04       ` Richard Copley
2017-02-24 21:16         ` Stefan Monnier
2017-02-24 21:44           ` Richard Copley
2017-02-25  0:11             ` Stefan Monnier
2017-02-25  8:01           ` Michael Albinus [this message]
2017-02-25 13:06             ` Stefan Monnier
2017-02-25 13:18               ` Michael Albinus
2017-02-25 13:36               ` tramp-sh-handle-vc-registered (was: vc with svn and git) Stefan Monnier
2017-02-28 14:54       ` vc with svn and git Alfred M. Szmidt
2017-02-28 18:32         ` Karl Fogel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87inny66mt.fsf@detlef \
    --to=michael.albinus@gmx.de \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).