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: Eli Zaretskii
Subject: bug#21747: 25.0.50; while-no-input breaks kbd event handling when called from post-command-hook
Date: Sat, 24 Oct 2015 17:06:04 +0300

> Date: Sat, 24 Oct 2015 14:57:40 +0100
> From: Artur Malabarba <bruce.connor.am@gmail.com>
> Cc: Eli Zaretskii <eliz@gnu.org>, Stefan Monnier <monnier@iro.umontreal.ca>, 
> Kim Storm <storm@cua.dk>, 
>       21747@debbugs.gnu.org
> 
> 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.

Indeed, it is.  See my other message.





reply via email to

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