[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: |
Tue, 14 Apr 2020 10:40:57 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Daniel Colascione <address@hidden> writes:
Hi Daniel,
> No, it shouldn't. This use of with-local-quit can *never* be correct
> because a stray C-g can *always* interfere with a filter. Don't do
> long-running operations in process filters. Period. The fix isn't to
> make quitting these operations possible in some defined manner. The
> fix is not to do them in the first place.
How do you want to prevent use of such a basic operation like
`file-truename' in a process filter? And yes, in the remote case this
could be a "long-running operation".
Best regards, Michael.