[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Slow access to files using UNC path
From: |
Kim F. Storm |
Subject: |
Re: Slow access to files using UNC path |
Date: |
Wed, 08 Sep 2004 10:18:14 +0200 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) |
Dhruva Krishnamurthy <address@hidden> writes:
> + (defvar vc-hostname-fs-path-re "\\`\\([\\/][\\/]\\|/net/\\|/afs/\\)"
> + "Regex variable used to avoid determining whether file is under vc-arch
> + or vc-mcvs. The default regexp prevents the determination of type of vc for
> + folders in UNC, net and afs. This speeds up opening of files by not trying
> to
> + determine whether file is under vc. This can be modified by user to match a
> + different path or paths")
In Emacs, a 'path' is something like load-path, and we never use the
term 'path' for a directory name or file name.
IMO, a better name would be something like `vc-ignore-file-re'.
(defvar vc-ignore-file-re "\\`\\([\\/][\\/]\\|/net/\\|/afs/\\)"
"Regular expression matching file names that are not under vc control.
Specifically, it is used to avoid determining whether file is under vc-arch
or vc-mcvs. The default regexp prevents the determination of type of vc for
folders in UNC, net and afs. This speeds up opening of files by not trying to
determine whether file is under vc. This can be modified by user to match a
different directory or file names.")
BTW, I don't understand why this is specific for vc-arch and vc-mcvs ?
> +
> (defcustom vc-handled-backends '(RCS CVS SVN SCCS Arch MCVS)
> ;; Arch and MCVS come last because they are per-tree rather than per-dir.
> "*List of version control backends for which VC will be used.
> *** D:/tmp/cvs/emacs/lisp/vc-mcvs.el 2004-05-31 14:05:26.938250000 +0530
> --- vc-mcvs.el 2004-09-08 12:07:35.548205800 +0530
> *************** This is only meaningful if you don't use
> *** 118,123 ****
> --- 118,125 ----
> ;;;###autoload (while (and (stringp dir)
> ;;;###autoload (not (equal
> ;;;###autoload dir (setq dir (file-name-directory
> dir))))
> + ;;;###autoload ;; avoid searching no existing computer on
> Windowz.
> + ;;;###autoload (not (string-match vc-hostname-fs-path-re
> dir))
> ;;;###autoload dir)
> ;;;###autoload (setq dir (if (file-directory-p
> ;;;###autoload (expand-file-name "MCVS/CVS" dir))
> *** D:/tmp/cvs/emacs/lisp/vc-arch.el 2004-09-08 09:35:36.187974400 +0530
> --- vc-arch.el 2004-09-08 12:07:35.608295200 +0530
> ***************
> *** 77,82 ****
> --- 77,84 ----
> ;;;###autoload (while (and (stringp dir)
> ;;;###autoload (not (equal
> ;;;###autoload dir (setq dir (file-name-directory
> dir))))
> + ;;;###autoload ;; Avoid searching no existing computer on
> Windowz.
> + ;;;###autoload (not (string-match vc-hostname-fs-path-re
> dir))
> ;;;###autoload dir)
> ;;;###autoload (setq dir (if (file-directory-p
> ;;;###autoload (expand-file-name "{arch}" dir))
> _______________________________________________
> Emacs-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-devel
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Re: Slow access to files using UNC path, Dhruva Krishnamurthy, 2004/09/01
- Re: Slow access to files using UNC path, KOBAYASHI Yasuhiro, 2004/09/01
- Re: Slow access to files using UNC path, Andre Spiegel, 2004/09/01
- Re: Slow access to files using UNC path, Dhruva Krishnamurthy, 2004/09/01
- Re: Slow access to files using UNC path, Dhruva Krishnamurthy, 2004/09/01
- Re: Slow access to files using UNC path, Andreas Schwab, 2004/09/01
- Re: Slow access to files using UNC path, Dhruva Krishnamurthy, 2004/09/01
- Re: Slow access to files using UNC path, Andreas Schwab, 2004/09/01
- Re: Slow access to files using UNC path, Stefan Monnier, 2004/09/01
- Re: Slow access to files using UNC path, Dhruva Krishnamurthy, 2004/09/08
- Re: Slow access to files using UNC path,
Kim F. Storm <=
- Re: Slow access to files using UNC path, Miles Bader, 2004/09/08
- Re: Slow access to files using UNC path, Dhruva Krishnamurthy, 2004/09/08
- Re: Slow access to files using UNC path, Stefan, 2004/09/08
- Re: Slow access to files using UNC path, Dhruva Krishnamurthy, 2004/09/08
- Re: Slow access to files using UNC path, Stefan Monnier, 2004/09/08
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Re: Slow access to files using UNC path, Dhruva Krishnamurthy, 2004/09/13
- Re: Slow access to files using UNC path, Stefan Monnier, 2004/09/13
- Re: Slow access to files using UNC path, Romain Francoise, 2004/09/18
- Re: Slow access to files using UNC path, Stefan, 2004/09/18
- Re: Slow access to files using UNC path, Romain Francoise, 2004/09/18