From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Fix in vc-ignore-dir-regexp Date: Sat, 28 Apr 2007 10:10:45 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1177769480 887 80.91.229.12 (28 Apr 2007 14:11:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 28 Apr 2007 14:11:20 +0000 (UTC) Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 28 16:11:18 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hhndu-0008Lh-4q for ged-emacs-devel@m.gmane.org; Sat, 28 Apr 2007 16:11:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hhnjr-0007rG-Jf for ged-emacs-devel@m.gmane.org; Sat, 28 Apr 2007 10:17:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HhnjQ-00079B-Fh for emacs-devel@gnu.org; Sat, 28 Apr 2007 10:17:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HhnjQ-00078F-1R for emacs-devel@gnu.org; Sat, 28 Apr 2007 10:17:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HhnjP-000786-Io for emacs-devel@gnu.org; Sat, 28 Apr 2007 10:16:59 -0400 Original-Received: from tomts25.bellnexxia.net ([209.226.175.188] helo=tomts25-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HhndP-0006bF-1S; Sat, 28 Apr 2007 10:10:47 -0400 Original-Received: from pastel.home ([70.53.194.22]) by tomts25-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070428141045.ELNZ1521.tomts25-srv.bellnexxia.net@pastel.home>; Sat, 28 Apr 2007 10:10:45 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id AEE878072; Sat, 28 Apr 2007 10:10:45 -0400 (EDT) In-Reply-To: (Richard Stallman's message of "Fri\, 27 Apr 2007 16\:39\:45 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.97 (gnu/linux) X-detected-kernel: Solaris 8 (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:70325 Archived-At: > 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 > 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