emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Really prevent quitting in sensitive contexts


From: Robert Pluim
Subject: Re: [PATCH] Really prevent quitting in sensitive contexts
Date: Thu, 12 Mar 2020 11:21:39 +0100

>>>>> On Thu, 12 Mar 2020 11:07:29 +0100, Michael Albinus <address@hidden> said:

    Michael> Daniel Colascione <address@hidden> writes:
    >>> Are there bug#NNN where these are discussed?
    >> 
    >> No. The motiviation is Tramp inflooping after a quit because it uses
    >> with-local-quit inside tramp-accept-process-output, which causes
    >> tramp-wait-for-regexp to retry infinitely and quickly.
    >> 
    >> I found *that* behavior trying to figure out why M-x compile over
    >> Tramp was hanging not only Emacs, but also the SSH connection more
    >> generally. I *think* it has something to do with compilation-filter
    >> calling file-truename, which invokes Tramp's handler, which wants to
    >> talk over the same SSH connection that's spewing compilation messages,
    >> deadlocking something somewhere.

    Michael> Please write a bug report, it should be solved in Tramp.

    Michael> with-local-quit is used in tramp-accept-process-output by
    Michael> intention. There were reports that Tramp hung, and couldn't be 
quit ...

    Michael> Would the appended patch help (completely untested)?

Yes! This solves my 'tramp hangs when visiting a patch' hang (or at
least, I can now C-g out of it).

Robert



reply via email to

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