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: Stefan Monnier
Subject: Re: [PATCH] Really prevent quitting in sensitive contexts
Date: Wed, 11 Mar 2020 22:20:00 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> with-local-quit is actually documented to allow this sort of
> foreground quitting,

AFAIK it's not just documented to allow that, but it's designed
specifically for that.

> but since the interactive C-g race is unavoidable, we should deprecate
> use of with-local-quit for this purpose.

I tend to agree.

> This change adds a new inhibit-quit-override flag.

Sounds like an arm's race: then we'll have to add
a with-local-quit-override-override, etc...

> +behaves as if 'inhibit-quit' were t.  This change prevents
> +with-local-quit from accidentally allowing quits inside process
> +filters, redisplay callbacks, and other special contexts.

I'm not really familiar with those accidental cases.
Maybe they can be fixed more directly by not using with-local-quit?

Are there bug#NNN where these are discussed?


        Stefan




reply via email to

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