On  1 Feb 2007, [EMAIL PROTECTED] wrote:

> Ted Zlatanov <[EMAIL PROTECTED]> 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


_______________________________________________
Tramp-devel mailing list
Tramp-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to