Subject: Re: bug#20134: Acknowledgement (24.4.90; Emacs slowdown to eventual hang)

From: [email-masked] (Phillip Lord)
Date: Tue, 07 Apr 2015 17:16:41 +0100

Eli Zaretskii <[email-masked]> writes:

>> From: [email-masked] (Phillip Lord)
>> Cc: <[email-masked]>
>> Date: Tue, 07 Apr 2015 16:28:23 +0100
>> 
>> > When Emacs becomes sluggish, does pressing and holding an arrow key
>> > produces a slow response time for the first keypress, followed by more
>> > or less normal response times for the next keypresses?
>> 
>> Nope. The lag is general. If I carry one for long enough, emacs hangs
>> totally, but Emacs because unusable long before that point.
>
> Then I guess the primary suspects are non-idle timers and
> pre/post-command hooks.
>
>> timer-list is a variable defined in `C source code'.
>> Its value is
>> ([nil 21795 62426 202965 60 ac-clear-variables-every-minute nil nil 1000])
>
> Did you try running without this timer?

Will do.

>
> What about the pre/post-command hooks?

pre-command-hook is a variable defined in `C source code'.
Its value is shown below.

Value: (pabbrev-pre-command-hook preview-mark-point t)

post-command-hook is a variable defined in `C source code'.
Its value is
(yas--post-command-handler pabbrev-post-command-hook preview-move-point t)