[Top][All Lists]

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

Re: [PATCH] Really prevent quitting in sensitive contexts

From: Michael Albinus
Subject: Re: [PATCH] Really prevent quitting in sensitive contexts
Date: Thu, 12 Mar 2020 11:07:29 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

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.

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

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

Would the appended patch help (completely untested)?

Best regards, Michael.

Attachment: txtYJU8k8Uzzx.txt
Description: Text Data

reply via email to

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