GNU bug report logs - #16594
24.3.50; very slow redraw when resizing windows horizontally

Previous Next

Package: emacs;

Reported by: Darren Hoo <darren.hoo <at> gmail.com>

Date: Thu, 30 Jan 2014 08:03:01 UTC

Severity: normal

Tags: unreproducible

Merged with 17124

Found in version 24.3.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Adrian Robert <Adrian.B.Robert <at> gmail.com>, Paul Eggert <eggert <at> cs.ucla.edu>, 16594 <at> debbugs.gnu.org, Darren Hoo <darren.hoo <at> gmail.com>
Subject: bug#16594: 24.3.50; very slow redraw when resizing windows horizontally
Date: Sun, 9 Mar 2014 14:27:56 +0100
Hello.

11 feb 2014 kl. 07:03 skrev Jan Djärv <jan.h.d <at> swipnet.se>:

> Hi.
> 
> 9 feb 2014 kl. 20:43 skrev Stefan Monnier <monnier <at> iro.umontreal.ca>:
> 
>>>> -  Fset_input_interrupt_mode (Qnil);
>>>> +  Fset_input_interrupt_mode (Qt);
>>> That reverses a change made 2009-01-29 10:36:22 +0000 by Adrian Robert in
>>> trunk bzr 94305.  The ChangeLog entry doesn't say why the change was made.
>>> I'll CC: this to Adrian to see whether he can explain.  Adrian, the context
>>> for this email can be found at:
>> 
>> I think Jan made changes in that area since then, so he may be able to
>> bring some light to this subject.
>> 
>> Jan?
> 
> The input loop is redone, but I haven't made changes in interrupt mode.
> It may be that is works better now.


I think the reason for polling on NS is that when doing things like
M-! sleep 1000

Emacs reads the output from the process in a loop.  This loop never allows the NS event loop to run, so C-g or any other key is not detected, thus it can't be interrupted.
I suspect it is similar for a lisp loop.

	Jan D.


	Jan D.





This bug report was last modified 4 years and 259 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.