[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#1741: 23.0.60; vc fail to register file while logged as /su:: with t
From: |
Michael Albinus |
Subject: |
bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp |
Date: |
Thu, 09 Apr 2009 17:06:00 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>>> If I create a new file: "/su:root@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@localhost:/tmp/RCS/blah,v") RET
>>>> the result is nil.
>>>
>>>> If I start a new emacs and do:
>>>> M-: (file-exists-p "/su:root@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?
That would be too invasive, I believe. The whole cache would be flushed,
even all data which are not related too.
And there might be the case, that a file is registered in RCS (or
whatever backend is used) outside Emacs. Tramp would still have stale
cache data for "/su:root@localhost:/tmp/RCS/blah,v" then.
> Stefan
Best regards, Michael.
- bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp, Dan Nicolaescu, 2009/04/07
- bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp, thierry . volpiatto, 2009/04/08
- bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp, Dan Nicolaescu, 2009/04/08
- bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp, Stefan Monnier, 2009/04/08
- bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp, Michael Albinus, 2009/04/09
- bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp, Stefan Monnier, 2009/04/09
- bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp,
Michael Albinus <=
- bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp, Stefan Monnier, 2009/04/09
- bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp, Michael Albinus, 2009/04/12
- bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp, Stefan Monnier, 2009/04/12
- bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp, Michael Albinus, 2009/04/12
- bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp, Stefan Monnier, 2009/04/12
- bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp, Michael Albinus, 2009/04/13
- bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp, Stefan Monnier, 2009/04/13
- bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp, Michael Albinus, 2009/04/14
- bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp, Stefan Monnier, 2009/04/14
- bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp, Michael Albinus, 2009/04/15