all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Cc: Emacs Devel <emacs-devel@gnu.org>,
	KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp>,
	Stefan Monnier <monnier@iro.umontreal.ca>,
	Andre Spiegel <spiegel@gnu.org>, Richard Stallman <rms@gnu.org>
Subject: Re: Slow access to files using UNC path
Date: Wed, 08 Sep 2004 10:18:14 +0200	[thread overview]
Message-ID: <m3isap9nsp.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <68c73b1a040907234950a01f97@mail.gmail.com> (Dhruva Krishnamurthy's message of "Wed, 8 Sep 2004 12:19:17 +0530")

Dhruva Krishnamurthy <dhruva.krishnamurthy@gmail.com> 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
> Emacs-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-devel

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

  reply	other threads:[~2004-09-08  8:18 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-01  5:47 Slow access to files using UNC path Dhruva Krishnamurthy
2004-09-01  6:31 ` KOBAYASHI Yasuhiro
2004-09-01  6:42   ` Andre Spiegel
2004-09-01  9:50     ` Dhruva Krishnamurthy
2004-09-01 10:22       ` Dhruva Krishnamurthy
2004-09-01 12:13         ` Andreas Schwab
2004-09-01 13:15           ` Dhruva Krishnamurthy
2004-09-01 13:27             ` Andreas Schwab
2004-09-01 14:31               ` Stefan Monnier
2004-09-08  6:49     ` Dhruva Krishnamurthy
2004-09-08  8:18       ` Kim F. Storm [this message]
2004-09-08  8:41         ` Miles Bader
2004-09-08  8:53         ` Dhruva Krishnamurthy
2004-09-08 11:55         ` Stefan
2004-09-08 13:00           ` Dhruva Krishnamurthy
2004-09-08 16:44             ` Stefan Monnier
     [not found]               ` <m3656ov3ps.fsf@kfs-l.imdomain.dk>
     [not found]                 ` <68c73b1a040908220473b70936@mail.gmail.com>
     [not found]                   ` <68c73b1a04090823245a5d027c@mail.gmail.com>
     [not found]                     ` <jwvk6v3yytf.fsf-monnier+emacs@gnu.org>
     [not found]                       ` <jwv4qm7yxkx.fsf-monnier+emacs@gnu.org>
2004-09-13  6:50                         ` Dhruva Krishnamurthy
2004-09-13 12:39                           ` Stefan Monnier
2004-09-18 11:53                             ` Romain Francoise
2004-09-18 18:38                               ` Stefan
2004-09-18 20:19                                 ` Romain Francoise
2004-09-18 19:00                               ` Adrian Aichner
2004-09-18 20:09                                 ` Romain Francoise
2004-09-19  3:44                                   ` Damien Elmes
2004-09-19  7:01                                     ` Stefan
2004-09-19  7:25                                       ` Damien Elmes
2004-09-20  0:05                                         ` Richard Stallman
2004-09-20  5:28                                         ` Stefan
2004-09-21 23:46                                           ` Damien Elmes
2004-09-22 12:59                                             ` Stefan Monnier
2004-09-23 12:50                                               ` Damien Elmes
2004-09-23 13:12                                                 ` Stefan
2004-09-09  4:03           ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2004-07-18  9:29 Dhruva Krishnamurthy
2004-07-16 11:40 Dhruva Krishnamurthy
2004-07-16 13:22 ` Peter Lee
2004-07-17 13:23   ` Dhruva Krishnamurthy
2004-07-17 18:00     ` Andreas Schwab
2004-07-18  2:31       ` David Kastrup
2004-07-18  5:09         ` Eli Zaretskii
2004-07-18  6:12           ` Dhruva Krishnamurthy
2004-07-18  9:53             ` Andreas Schwab
2004-07-18 19:41             ` Eli Zaretskii
2004-07-19  4:35               ` Dhruva Krishnamurthy
2004-07-19 19:09                 ` Eli Zaretskii
2004-08-25  9:44                   ` KOBAYASHI Yasuhiro
2004-08-26  4:36                     ` Dhruva Krishnamurthy
2004-08-26  7:10                       ` KOBAYASHI Yasuhiro
2004-08-26  8:50                         ` Dhruva Krishnamurthy
2004-08-26 20:52                           ` Richard Stallman
2004-08-27  3:59                             ` Dhruva Krishnamurthy
2004-08-27 13:19                               ` Stefan Monnier
2004-08-30  4:46                                 ` Dhruva Krishnamurthy
2004-08-30  5:11                                 ` Dhruva Krishnamurthy
2004-08-30  8:32                                   ` Andreas Schwab
2004-08-30  9:27                                     ` Dhruva Krishnamurthy
2004-07-18  9:49         ` Andreas Schwab
2004-07-18 10:04           ` Dhruva Krishnamurthy

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

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

  git send-email \
    --in-reply-to=m3isap9nsp.fsf@kfs-l.imdomain.dk \
    --to=storm@cua.dk \
    --cc=emacs-devel@gnu.org \
    --cc=kobayays@otsukakj.co.jp \
    --cc=monnier@iro.umontreal.ca \
    --cc=rms@gnu.org \
    --cc=spiegel@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.