GNU bug report logs - #1741
23.0.60; vc fail to register file while logged as /su:: with tramp

Previous Next

Package: emacs;

Reported by: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>

Date: Tue, 30 Dec 2008 11:00:03 UTC

Severity: normal

Done: Dan Nicolaescu <dann <at> ics.uci.edu>

Bug is archived. No further changes may be made.

Full log


Message #33 received at 1741 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: Dan Nicolaescu <dann <at> ics.uci.edu>, 1741 <at> debbugs.gnu.org
Subject: Re: bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp
Date: Thu, 09 Apr 2009 10:38:13 -0400
>>> If I create a new file: "/su:root <at> localhost:/tmp/blah"
>>> then to C-x v v to register it, it fails.  But I can see that the 
>>> /tmp/RCS/blah,v is created.  If after that I do:
>> 
>>> M-: (file-exists-p "/su:root <at> localhost:/tmp/RCS/blah,v") RET
>>> the result is nil.
>> 
>>> If I start a new emacs and do:
>>> M-: (file-exists-p "/su:root <at> localhost:/tmp/RCS/blah,v") RET
>>> the result is t.
>> 
>> Hmm... looks like a stale cache.
>> Michael?

> Yes, a stale cache. I've committed a patch, which adds a file name
> handler for `vc-registered'. There the cache is disabled temporarily.
> Works for me. Could you guys, please, check?

I'd rather find a more generic fix.  E.g. can't you flush the cache when
handling process-file?


        Stefan




This bug report was last modified 16 years and 101 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.