[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tramp prevents opening new frame while offline?
From: |
Michael Albinus |
Subject: |
Re: Tramp prevents opening new frame while offline? |
Date: |
Mon, 10 May 2010 17:47:11 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
yary <address@hidden> writes:
Hi,
> I have an emacs session open with some remotely-edited files on it,
> using tramp 2.1.16. There's no internet connection, and I want to open
> a new frame to do some other, local work. But when I hit ^x52 instead
> of a new frame I see this in the debugger- not sure how to fix the
> core issue. It looks like opening a frame causes emacs to try to
> verify the contents of the buffer, and since there's no connection, it
> can't verify. An easy workaround is to open a local or temp buffer
> before opening a new frame, but can tramp do anything to allow
> "parent" operations to complete in this kind of situation?
The crucial function is this one:
> verify-visited-file-modtime(#<buffer rpr_catprofile_p.ksh>)
I've committed a patch, that tramp-handle-verify-visited-file-modtime
does not send a remote command when the connection is disrupted. This
shall prevent this annoyance.
Thanks for reporting, and best regards, Michael.