tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: file properties cache


From: Ted Zlatanov
Subject: Re: file properties cache
Date: Fri, 02 Feb 2007 10:09:15 -0500
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux)

On  1 Feb 2007, address@hidden wrote:

> Ted Zlatanov <address@hidden> writes:
>
>> Perforce (a VCS) checkout of a file makes it +w; checkin makes it -w.
>> Often I'll open a file that's not checked out for a quick look, then
>> close it and revisit after it's been checked out on the remote
>> system.  The effect is the same as chmod +w or -w FILE.
>
> I've checked the code, and surprisingly it supports you already:
> revert-buffer does exactly what you want. Tramp has hooked into
> before-revert-hook, removing cached properties of buffer-file-name. So
> there is even no need for you to close the buffer, "M-x revert-buffer"
> shall be sufficient.

OK.  Thanks for checking on it.

> Additionally, you've convinced me to add this functionality to
> kill-buffer-hook as well.

Great!  Let me know when it's in CVS and I'll test it.

Ted




reply via email to

[Prev in Thread] Current Thread [Next in Thread]