all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: rms@gnu.org
Cc: emacs-devel@gnu.org
Subject: Re: Fix in vc-ignore-dir-regexp
Date: Sat, 28 Apr 2007 10:10:45 -0400	[thread overview]
Message-ID: <jwvtzv0wpwi.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <E1HhXEH-0004y5-F5@fencepost.gnu.org> (Richard Stallman's message of "Fri\, 27 Apr 2007 16\:39\:45 -0400")

> Would an expert in VC please install this if it is correct?

Done.

> ------- Start of forwarded message -------
> X-Spam-Status: No, score=0.5 required=5.0 tests=DNS_FROM_RFC_ABUSE,
> 	UNPARSEABLE_RELAY autolearn=no version=3.1.0
> From: Smith <pedzan@austin.ibm.com>
> MIME-Version: 1.0
> Content-Type: text/plain; charset=us-ascii
> Date: Wed, 25 Apr 2007 18:18:52 -0500
> To: emacs-pretest-bug@gnu.org
> Subject: stat problems
> Reply-To: pedzan@austin.ibm.com

> I am running emacs 22.0.95 on AIX 5.3 (the latest levels).

> The special feature is IBM has dfs.  I guess it is normal but the dfs
> file system at IBM starts out with /.../path/to/files

> When I open a file, emacs hangs for a long time.  I put in some
> fprintf's into file-exists-p (dbx told me that is where I was
> hanging).  The output looks like this:

> stat for '/.../austin.ibm.com/fs/projects/aix/aix52Q/{arch}/=tagging-method'
> stat for '/.../austin.ibm.com/fs/projects/aix/{arch}/=tagging-method'
> stat for '/.../austin.ibm.com/fs/projects/{arch}/=tagging-method'
> stat for '/.../austin.ibm.com/fs/{arch}/=tagging-method'
> stat for '/.../austin.ibm.com/{arch}/=tagging-method'
> stat for '/.../{arch}/=tagging-method'
> stat for '/{arch}/=tagging-method'
>  ...snip...
> stat for '/.../austin.ibm.com/fs/projects/aix/aix52Q/MCVS/CVS'
> stat for '/.../austin.ibm.com/fs/projects/aix/MCVS/CVS'
> stat for '/.../austin.ibm.com/fs/projects/MCVS/CVS'
> stat for '/.../austin.ibm.com/fs/MCVS/CVS'
> stat for '/.../austin.ibm.com/MCVS/CVS'
> stat for '/.../MCVS/CVS'
> stat for '/MCVS/CVS'

> This is for a single open.  I removed some (many) lines.

> The killer are these two stats:

> stat for '/.../MCVS/CVS'
> stat for '/.../{arch}/=tagging-method'

> With IBM's dfs set up, these each hang for quite some time (minutes).

> I discovered vc-ignore-dir-regexp

> I changed it to be this:

> ## this is from my custom-set-variables in my init.el file
> (vc-ignore-dir-regexp "\\`\\([\\/][\\/]\\|/\\.\\.\\./\\|/net/\\|/afs/\\)\\'")

> As you can see, I added /.../ into the pattern.  This seems to be
> exactly what I need.  Now the stats look like this:

> stat for '/.../austin.ibm.com/fs/projects/aix/aix53H/{arch}/=tagging-method'
> stat for '/.../austin.ibm.com/fs/projects/aix/{arch}/=tagging-method'
> stat for '/.../austin.ibm.com/fs/projects/{arch}/=tagging-method'
> stat for '/.../austin.ibm.com/fs/{arch}/=tagging-method'
> stat for '/.../austin.ibm.com/{arch}/=tagging-method'
>  ...snip...
> stat for '/.../austin.ibm.com/fs/projects/aix/aix53H/MCVS/CVS'
> stat for '/.../austin.ibm.com/fs/projects/aix/MCVS/CVS'
> stat for '/.../austin.ibm.com/fs/projects/MCVS/CVS'
> stat for '/.../austin.ibm.com/fs/MCVS/CVS'
> stat for '/.../austin.ibm.com/MCVS/CVS'

> I thought this might be a good general change to add in.  The pattern
> already has afs in the list.  I believe this is the dfs equivlalent.
> Although I have not been bit by it yet, I might need to add in /gsa/
> as well for the gsa file system.  It has the same pattern:

> /gsa/region/path/to/file

> So, probably stat of /gsa/CVS/ is going to hang (although from the
> command line it does not seem to).

> I hope this makes it to the list.  I don't know if I am signed up from
> this email address or not.

> Take care,
> Perry Smith


> _______________________________________________
> emacs-pretest-bug mailing list
> emacs-pretest-bug@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
> ------- End of forwarded message -------


> _______________________________________________
> Emacs-devel mailing list
> Emacs-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-devel

  parent reply	other threads:[~2007-04-28 14:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-27 20:39 Fix in vc-ignore-dir-regexp Richard Stallman
2007-04-28  3:57 ` T. V. Raman
2007-04-28 14:10   ` Stefan Monnier
2007-04-28 19:07     ` Glenn Morris
2007-04-30  0:19       ` Stefan Monnier
2007-04-28 14:47   ` Richard Stallman
2007-04-28 14:10 ` Stefan Monnier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-04-29 19:30 Josh Triplett
2007-04-30  0:20 ` Stefan Monnier

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=jwvtzv0wpwi.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=rms@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.