[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] master 7836e42: Fix infloop in redisplay introduced by
From: |
Eli Zaretskii |
Subject: |
Re: [Emacs-diffs] master 7836e42: Fix infloop in redisplay introduced by a recent change |
Date: |
Sat, 24 Oct 2015 17:18:52 +0300 |
> From: Stefan Monnier <address@hidden>
> Cc: Eli Zaretskii <address@hidden>
> Date: Sat, 24 Oct 2015 09:57:45 -0400
>
> > * src/xdisp.c (redisplay_internal): Avoid inflooping when
> > redisplaying the selected window sets the selected frame's
> > redisplay flag. (Bug#21745)
>
> Thanks. Could you include in a comment a precise description of the
> inf-loop?
Done.
> Reading the new code along with the above commit message I'm
> left wondering exactly what was the problem: was a single redisplay
> inf-looping (if so, where?), or was one redisplay immediately
> causing another redisplay (if so, why do the subsequent redisplays
> still set the selected frame's redisplay flag)?
A single redisplay was inflooping.
The frame's redisplay flag is reset only after a successful call to
update_frame, so we haven't yet reach that point.