tramp-devel
[Top][All Lists]
Advanced

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

Re: file-exists-p can return t when file doesn't exist


From: Leo
Subject: Re: file-exists-p can return t when file doesn't exist
Date: Wed, 04 Aug 2010 17:48:11 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (Mac OS X 10.6.4)

On 2010-08-02 14:35 +0100, Michael Albinus wrote:
>>> I have no good idea how to solve it. One could set a process sentinel,
>>> but this will be overwritten, if the process owner sets an own sentinel,
>>> like it is done in `magit-run*'.
>
> And this is still true as well :-(
>
> As workaround, one could add the following lines in `magit-process-sentinel',
> inside the `with-current-buffer' form (untested):
>
>   (with-parsed-tramp-file-name default-directory nil
>     (tramp-flush-directory-property v (file-name-directory localname)))
>
> But this would be a crude hack.

I can't think of a better way to handle this so I am using this hack for
now. Thank you very much.

BTW, do you see a general way to improve remote editing support in
emacs, not necessarily within the tramp framework?

Best wishes,
Leo




reply via email to

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