unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Fix in vc-ignore-dir-regexp
@ 2007-04-27 20:39 Richard Stallman
  2007-04-28  3:57 ` T. V. Raman
  2007-04-28 14:10 ` Stefan Monnier
  0 siblings, 2 replies; 9+ messages in thread
From: Richard Stallman @ 2007-04-27 20:39 UTC (permalink / raw)
  To: emacs-devel

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

------- 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 -------

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Fix in vc-ignore-dir-regexp
  2007-04-27 20:39 Richard Stallman
@ 2007-04-28  3:57 ` T. V. Raman
  2007-04-28 14:10   ` Stefan Monnier
  2007-04-28 14:47   ` Richard Stallman
  2007-04-28 14:10 ` Stefan Monnier
  1 sibling, 2 replies; 9+ messages in thread
From: T. V. Raman @ 2007-04-28  3:57 UTC (permalink / raw)
  To: rms; +Cc: emacs-devel


I had reported a related bug many months ago about VC being too
aggressive with defaulting to the number of versioning systems
that it wants to support.

I suggest that we take out all except svn  cvs and rcs from that
list.

In particular vc systems that need to ascend the directory tree
looking for  vc directories should not appear in the default list.

>>>>> "Richard" == Richard Stallman <rms@gnu.org> writes:
    Richard> Would an expert in VC please install this if it is
    Richard> correct?  ------- Start of forwarded message -------
    Richard> X-Spam-Status: No, score=0.5 required=5.0
    Richard> tests=DNS_FROM_RFC_ABUSE, UNPARSEABLE_RELAY
    Richard> autolearn=no version=3.1.0 From: Smith
    Richard> <pedzan@austin.ibm.com> MIME-Version: 1.0
    Richard> Content-Type: text/plain; charset=us-ascii Date:
    Richard> Wed, 25 Apr 2007 18:18:52 -0500 To:
    Richard> emacs-pretest-bug@gnu.org Subject: stat problems
    Richard> Reply-To: pedzan@austin.ibm.com
    Richard> 
    Richard> I am running emacs 22.0.95 on AIX 5.3 (the latest
    Richard> levels).
    Richard> 
    Richard> The special feature is IBM has dfs.  I guess it is
    Richard> normal but the dfs file system at IBM starts out
    Richard> with /.../path/to/files
    Richard> 
    Richard> When I open a file, emacs hangs for a long time.  I
    Richard> put in some fprintf's into file-exists-p (dbx told
    Richard> me that is where I was hanging).  The output looks
    Richard> like this:
    Richard> 
    Richard> stat for
    Richard> '/.../austin.ibm.com/fs/projects/aix/aix52Q/{arch}/=tagging-method'
    Richard> stat for
    Richard> '/.../austin.ibm.com/fs/projects/aix/{arch}/=tagging-method'
    Richard> stat for
    Richard> '/.../austin.ibm.com/fs/projects/{arch}/=tagging-method'
    Richard> stat for
    Richard> '/.../austin.ibm.com/fs/{arch}/=tagging-method' stat
    Richard> for '/.../austin.ibm.com/{arch}/=tagging-method'
    Richard> stat for '/.../{arch}/=tagging-method' stat for
    Richard> '/{arch}/=tagging-method' ...snip...  stat for
    Richard> '/.../austin.ibm.com/fs/projects/aix/aix52Q/MCVS/CVS'
    Richard> stat for
    Richard> '/.../austin.ibm.com/fs/projects/aix/MCVS/CVS' stat
    Richard> for '/.../austin.ibm.com/fs/projects/MCVS/CVS' stat
    Richard> for '/.../austin.ibm.com/fs/MCVS/CVS' stat for
    Richard> '/.../austin.ibm.com/MCVS/CVS' stat for
    Richard> '/.../MCVS/CVS' stat for '/MCVS/CVS'
    Richard> 
    Richard> This is for a single open.  I removed some (many)
    Richard> lines.
    Richard> 
    Richard> The killer are these two stats:
    Richard> 
    Richard> stat for '/.../MCVS/CVS' stat for
    Richard> '/.../{arch}/=tagging-method'
    Richard> 
    Richard> With IBM's dfs set up, these each hang for quite
    Richard> some time (minutes).
    Richard> 
    Richard> I discovered vc-ignore-dir-regexp
    Richard> 
    Richard> I changed it to be this:
    Richard> 
    Richard> ## this is from my custom-set-variables in my
    Richard> init.el file (vc-ignore-dir-regexp
    Richard> "\\`\\([\\/][\\/]\\|/\\.\\.\\./\\|/net/\\|/afs/\\)\\'")
    Richard> 
    Richard> As you can see, I added /.../ into the pattern.
    Richard> This seems to be exactly what I need.  Now the stats
    Richard> look like this:
    Richard> 
    Richard> stat for
    Richard> '/.../austin.ibm.com/fs/projects/aix/aix53H/{arch}/=tagging-method'
    Richard> stat for
    Richard> '/.../austin.ibm.com/fs/projects/aix/{arch}/=tagging-method'
    Richard> stat for
    Richard> '/.../austin.ibm.com/fs/projects/{arch}/=tagging-method'
    Richard> stat for
    Richard> '/.../austin.ibm.com/fs/{arch}/=tagging-method' stat
    Richard> for '/.../austin.ibm.com/{arch}/=tagging-method'
    Richard> ...snip...  stat for
    Richard> '/.../austin.ibm.com/fs/projects/aix/aix53H/MCVS/CVS'
    Richard> stat for
    Richard> '/.../austin.ibm.com/fs/projects/aix/MCVS/CVS' stat
    Richard> for '/.../austin.ibm.com/fs/projects/MCVS/CVS' stat
    Richard> for '/.../austin.ibm.com/fs/MCVS/CVS' stat for
    Richard> '/.../austin.ibm.com/MCVS/CVS'
    Richard> 
    Richard> I thought this might be a good general change to add
    Richard> in.  The pattern already has afs in the list.  I
    Richard> believe this is the dfs equivlalent.  Although I
    Richard> have not been bit by it yet, I might need to add in
    Richard> /gsa/ as well for the gsa file system.  It has the
    Richard> same pattern:
    Richard> 
    Richard> /gsa/region/path/to/file
    Richard> 
    Richard> So, probably stat of /gsa/CVS/ is going to hang
    Richard> (although from the command line it does not seem
    Richard> to).
    Richard> 
    Richard> I hope this makes it to the list.  I don't know if I
    Richard> am signed up from this email address or not.
    Richard> 
    Richard> Take care, Perry Smith
    Richard> 
    Richard> 
    Richard> _______________________________________________
    Richard> emacs-pretest-bug mailing list
    Richard> emacs-pretest-bug@gnu.org
    Richard> http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
    Richard> ------- End of forwarded message -------
    Richard> 
    Richard> 
    Richard> _______________________________________________
    Richard> Emacs-devel mailing list Emacs-devel@gnu.org
    Richard> http://lists.gnu.org/mailman/listinfo/emacs-devel

-- 
Best Regards,
--raman

      
Email:  raman@users.sf.net
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: tv.raman.tv@gmail.com
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 
IRC:    irc://irc.freenode.net/#emacs

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Fix in vc-ignore-dir-regexp
  2007-04-28  3:57 ` T. V. Raman
@ 2007-04-28 14:10   ` Stefan Monnier
  2007-04-28 19:07     ` Glenn Morris
  2007-04-28 14:47   ` Richard Stallman
  1 sibling, 1 reply; 9+ messages in thread
From: Stefan Monnier @ 2007-04-28 14:10 UTC (permalink / raw)
  To: raman; +Cc: rms, emacs-devel

> I had reported a related bug many months ago about VC being too
> aggressive with defaulting to the number of versioning systems
> that it wants to support.

> I suggest that we take out all except svn,, cvs and rcs from that
> list.

> In particular vc systems that need to ascend the directory tree
> looking for vc directories should not appear in the default list.

Given that all recent vc systems (other than Subversion) need to ascend the
directory tree, I think it's too drastic.

But it did occur to me recently that maybe a good heuristic to decide when
to stop looking up is to check the directory's owner (and stop when it
changes).

In the mean time I've added /.../ to the vc-ignored-dir regexp as suggested.
I didn't add the /gsa/ one because I've never heard of the gsa filesystem
and Google didn't seem to have heard of it either.


        Stefan


>>>>> "Richard" == Richard Stallman <rms@gnu.org> writes:
Richard> Would an expert in VC please install this if it is
Richard> correct?  ------- Start of forwarded message -------
Richard> X-Spam-Status: No, score=0.5 required=5.0
Richard> tests=DNS_FROM_RFC_ABUSE, UNPARSEABLE_RELAY
Richard> autolearn=no version=3.1.0 From: Smith
Richard> <pedzan@austin.ibm.com> MIME-Version: 1.0
Richard> Content-Type: text/plain; charset=us-ascii Date:
Richard> Wed, 25 Apr 2007 18:18:52 -0500 To:
Richard> emacs-pretest-bug@gnu.org Subject: stat problems
Richard> Reply-To: pedzan@austin.ibm.com
Richard> 
Richard> I am running emacs 22.0.95 on AIX 5.3 (the latest
Richard> levels).
Richard> 
Richard> The special feature is IBM has dfs.  I guess it is
Richard> normal but the dfs file system at IBM starts out
Richard> with /.../path/to/files
Richard> 
Richard> When I open a file, emacs hangs for a long time.  I
Richard> put in some fprintf's into file-exists-p (dbx told
Richard> me that is where I was hanging).  The output looks
Richard> like this:
Richard> 
Richard> stat for
Richard> '/.../austin.ibm.com/fs/projects/aix/aix52Q/{arch}/=tagging-method'
Richard> stat for
Richard> '/.../austin.ibm.com/fs/projects/aix/{arch}/=tagging-method'
Richard> stat for
Richard> '/.../austin.ibm.com/fs/projects/{arch}/=tagging-method'
Richard> stat for
Richard> '/.../austin.ibm.com/fs/{arch}/=tagging-method' stat
Richard> for '/.../austin.ibm.com/{arch}/=tagging-method'
Richard> stat for '/.../{arch}/=tagging-method' stat for
Richard> '/{arch}/=tagging-method' ...snip...  stat for
Richard> '/.../austin.ibm.com/fs/projects/aix/aix52Q/MCVS/CVS'
Richard> stat for
Richard> '/.../austin.ibm.com/fs/projects/aix/MCVS/CVS' stat
Richard> for '/.../austin.ibm.com/fs/projects/MCVS/CVS' stat
Richard> for '/.../austin.ibm.com/fs/MCVS/CVS' stat for
Richard> '/.../austin.ibm.com/MCVS/CVS' stat for
Richard> '/.../MCVS/CVS' stat for '/MCVS/CVS'
Richard> 
Richard> This is for a single open.  I removed some (many)
Richard> lines.
Richard> 
Richard> The killer are these two stats:
Richard> 
Richard> stat for '/.../MCVS/CVS' stat for
Richard> '/.../{arch}/=tagging-method'
Richard> 
Richard> With IBM's dfs set up, these each hang for quite
Richard> some time (minutes).
Richard> 
Richard> I discovered vc-ignore-dir-regexp
Richard> 
Richard> I changed it to be this:
Richard> 
Richard> ## this is from my custom-set-variables in my
Richard> init.el file (vc-ignore-dir-regexp
Richard> "\\`\\([\\/][\\/]\\|/\\.\\.\\./\\|/net/\\|/afs/\\)\\'")
Richard> 
Richard> As you can see, I added /.../ into the pattern.
Richard> This seems to be exactly what I need.  Now the stats
Richard> look like this:
Richard> 
Richard> stat for
Richard> '/.../austin.ibm.com/fs/projects/aix/aix53H/{arch}/=tagging-method'
Richard> stat for
Richard> '/.../austin.ibm.com/fs/projects/aix/{arch}/=tagging-method'
Richard> stat for
Richard> '/.../austin.ibm.com/fs/projects/{arch}/=tagging-method'
Richard> stat for
Richard> '/.../austin.ibm.com/fs/{arch}/=tagging-method' stat
Richard> for '/.../austin.ibm.com/{arch}/=tagging-method'
Richard> ...snip...  stat for
Richard> '/.../austin.ibm.com/fs/projects/aix/aix53H/MCVS/CVS'
Richard> stat for
Richard> '/.../austin.ibm.com/fs/projects/aix/MCVS/CVS' stat
Richard> for '/.../austin.ibm.com/fs/projects/MCVS/CVS' stat
Richard> for '/.../austin.ibm.com/fs/MCVS/CVS' stat for
Richard> '/.../austin.ibm.com/MCVS/CVS'
Richard> 
Richard> I thought this might be a good general change to add
Richard> in.  The pattern already has afs in the list.  I
Richard> believe this is the dfs equivlalent.  Although I
Richard> have not been bit by it yet, I might need to add in
Richard> /gsa/ as well for the gsa file system.  It has the
Richard> same pattern:
Richard> 
Richard> /gsa/region/path/to/file
Richard> 
Richard> So, probably stat of /gsa/CVS/ is going to hang
Richard> (although from the command line it does not seem
Richard> to).
Richard> 
Richard> I hope this makes it to the list.  I don't know if I
Richard> am signed up from this email address or not.
Richard> 
Richard> Take care, Perry Smith
Richard> 
Richard> 
Richard> _______________________________________________
Richard> emacs-pretest-bug mailing list
Richard> emacs-pretest-bug@gnu.org
Richard> http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
Richard> ------- End of forwarded message -------
Richard> 
Richard> 
Richard> _______________________________________________
Richard> Emacs-devel mailing list Emacs-devel@gnu.org
Richard> http://lists.gnu.org/mailman/listinfo/emacs-devel

> -- 
> Best Regards,
> --raman

      
> Email:  raman@users.sf.net
> WWW:    http://emacspeak.sf.net/raman/
> AIM:    emacspeak       GTalk: tv.raman.tv@gmail.com
> PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
> Google: tv+raman 
> IRC:    irc://irc.freenode.net/#emacs


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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Fix in vc-ignore-dir-regexp
  2007-04-27 20:39 Richard Stallman
  2007-04-28  3:57 ` T. V. Raman
@ 2007-04-28 14:10 ` Stefan Monnier
  1 sibling, 0 replies; 9+ messages in thread
From: Stefan Monnier @ 2007-04-28 14:10 UTC (permalink / raw)
  To: rms; +Cc: emacs-devel

> 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Fix in vc-ignore-dir-regexp
  2007-04-28  3:57 ` T. V. Raman
  2007-04-28 14:10   ` Stefan Monnier
@ 2007-04-28 14:47   ` Richard Stallman
  1 sibling, 0 replies; 9+ messages in thread
From: Richard Stallman @ 2007-04-28 14:47 UTC (permalink / raw)
  To: raman; +Cc: emacs-devel

    In particular vc systems that need to ascend the directory tree
    looking for  vc directories should not appear in the default list.

Would you please be more concrete?
Which systems do that?

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Fix in vc-ignore-dir-regexp
  2007-04-28 14:10   ` Stefan Monnier
@ 2007-04-28 19:07     ` Glenn Morris
  2007-04-30  0:19       ` Stefan Monnier
  0 siblings, 1 reply; 9+ messages in thread
From: Glenn Morris @ 2007-04-28 19:07 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: raman, rms, emacs-devel

Stefan Monnier wrote:

>> In particular vc systems that need to ascend the directory tree
>> looking for vc directories should not appear in the default list.
>
> Given that all recent vc systems (other than Subversion) need to ascend the
> directory tree, I think it's too drastic.
>
> But it did occur to me recently that maybe a good heuristic to decide when
> to stop looking up is to check the directory's owner (and stop when it
> changes).

That's clever. I have removed MCVS et al from my vc-handled-backends
after getting annoyed with all the messages from the automounter when
it failed to find /home/MCVS etc.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Fix in vc-ignore-dir-regexp
@ 2007-04-29 19:30 Josh Triplett
  2007-04-30  0:20 ` Stefan Monnier
  0 siblings, 1 reply; 9+ messages in thread
From: Josh Triplett @ 2007-04-29 19:30 UTC (permalink / raw)
  To: emacs-devel; +Cc: monnier


[-- Attachment #1.1: Type: text/plain, Size: 1126 bytes --]

Smith wrote:
> Although I have not been bit by it yet, I might need to add in /gsa/ as well
> for the gsa file system.

Stefan Monnier wrote:
> In the mean time I've added /.../ to the vc-ignored-dir regexp as suggested.
> I didn't add the /gsa/ one because I've never heard of the gsa filesystem
> and Google didn't seem to have heard of it either.

GSA doesn't represent a filesystem; it refers to IBM's "Global Storage
Architecture", which to the best of my knowledge only exists inside IBM.  It
provides network-accessible storage for IBM employees, available via various
protocols, and generally kept on servers close to the employee's location in
network topology.  IBMers often mount it on /gsa .  Some use /gsa to refer to
the entire hierarchy, with paths like /gsa/server/path, and some use /gsa to
refer to their home server or home directory, with paths like /gsa/path; in
the latter case, VC *should* search /gsa.  I don't think vc-ignored-dir should
include paths based on IBM-internal services and conventions, particularly
when those conventions vary. :)

Hope that helps,
Josh Triplett


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

[-- Attachment #2: Type: text/plain, Size: 142 bytes --]

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Fix in vc-ignore-dir-regexp
  2007-04-28 19:07     ` Glenn Morris
@ 2007-04-30  0:19       ` Stefan Monnier
  0 siblings, 0 replies; 9+ messages in thread
From: Stefan Monnier @ 2007-04-30  0:19 UTC (permalink / raw)
  To: Glenn Morris; +Cc: raman, rms, emacs-devel

>> But it did occur to me recently that maybe a good heuristic to decide when
>> to stop looking up is to check the directory's owner (and stop when it
>> changes).

> That's clever.  I have removed MCVS et al from my vc-handled-backends
> after getting annoyed with all the messages from the automounter when
> it failed to find /home/MCVS etc.

You should probably just add the automounter's directory to
vc-ignored-dir-regexp.


        Stefan

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Fix in vc-ignore-dir-regexp
  2007-04-29 19:30 Fix in vc-ignore-dir-regexp Josh Triplett
@ 2007-04-30  0:20 ` Stefan Monnier
  0 siblings, 0 replies; 9+ messages in thread
From: Stefan Monnier @ 2007-04-30  0:20 UTC (permalink / raw)
  To: Josh Triplett; +Cc: emacs-devel

> Smith wrote:
>> Although I have not been bit by it yet, I might need to add in /gsa/ as well
>> for the gsa file system.

> Stefan Monnier wrote:
>> In the mean time I've added /.../ to the vc-ignored-dir regexp as suggested.
>> I didn't add the /gsa/ one because I've never heard of the gsa filesystem
>> and Google didn't seem to have heard of it either.

> GSA doesn't represent a filesystem; it refers to IBM's "Global Storage
> Architecture", which to the best of my knowledge only exists inside IBM.  It
> provides network-accessible storage for IBM employees, available via various
> protocols, and generally kept on servers close to the employee's location in
> network topology.  IBMers often mount it on /gsa .  Some use /gsa to refer to
> the entire hierarchy, with paths like /gsa/server/path, and some use /gsa to
> refer to their home server or home directory, with paths like /gsa/path; in
> the latter case, VC *should* search /gsa.  I don't think vc-ignored-dir should
> include paths based on IBM-internal services and conventions, particularly
> when those conventions vary. :)

Thanks for that very clear explanation.


        Stefan

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-04-30  0:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-29 19:30 Fix in vc-ignore-dir-regexp Josh Triplett
2007-04-30  0:20 ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2007-04-27 20:39 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

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).