[Top][All Lists]

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

Re: [PATCH] Unconditional quit on SIGUSR2

From: chad
Subject: Re: [PATCH] Unconditional quit on SIGUSR2
Date: Mon, 28 Mar 2011 13:10:45 -0700

On Mar 28, 2011, at 12:56 PM, Daniel Colascione wrote:

> On 3/28/2011 12:52 PM, Lennart Borgman wrote:
>> But can't that be taken care of by letting font lock run again?
> It depends on how fontification is being run.  If we're using jit-lock, then 
> I believe we'll try again automatically.  If we're using some other approach, 
> then fontification will likely just be canceled until the next time that 
> portion of the buffer is modified. 

It also doesn't help the problem where emacs needs to read the user's mind to 
figure out if the user wanted to cancel font-lock or whatever other process was 
running. Experience with predecessors to font-lock that were interrupted by C-g 
(so, admittedly quite old) suggest that emacs will guess wrong often enough 
that users will (did) find the colorizing not worth the headache. We might be 
able to do better now, but it isn't obvious to me how, and C-g handling is 
already pretty quirky when you consider all of the platforms, IIRC.


reply via email to

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