bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#21747: 25.0.50; while-no-input breaks kbd event handling when called


From: Artur Malabarba
Subject: bug#21747: 25.0.50; while-no-input breaks kbd event handling when called from post-command-hook
Date: Sat, 24 Oct 2015 14:57:40 +0100

2015-10-24 14:30 GMT+01:00 Tassilo Horn <tsdh@gnu.org>:
> Eli Zaretskii <eliz@gnu.org> writes:
>
>>> My recipe for reproduction is
>>>
>>>   1. emacs -Q
>>>   2. M-x package-initialize
>>>   3. M-x global-aggressive-indent-mode
>>>   4. C-x C-f ~/test.sh
>>>   5. type the keyword if where the i is displayed immediately
>>>      and the display of f is delayed
>>>
>>> This does only occur for sh-mode keywords like if, while, etc. where the
>>> delaying starts with after entering the last char of the keyword.  Also,
>>> I can reproduce that problem only if test.sh doesn't exist.
>>
>> I don't understand: are you saying that the post-command-hook finished
>> its job, and yet redisplay is not entered?
>
> Yes, or rather the function aggressive-indent--indent-if-changed which
> is in post-command-hook finished.

Are you positive? It could be an infinite loop in the indentation engine.

Disclaimer: I didn't read the backtrace you posted.





reply via email to

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