GNU bug report logs - #24109
24.5; Long lines in message mode make Emacs irresponsive

Previous Next

Package: emacs;

Reported by: Christophe Troestler <Christophe.Troestler <at> umons.ac.be>

Date: Sat, 30 Jul 2016 01:13:01 UTC

Severity: normal

Found in version 24.5

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #62 received at 24109 <at> debbugs.gnu.org (full text, mbox):

From: Yuri D'Elia <wavexx <at> thregr.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 24109 <at> debbugs.gnu.org, djcb <at> djcbsoftware.nl,
 Christophe.Troestler <at> umons.ac.be, rudalics <at> gmx.at
Subject: Re: bug#24109: 24.5;
 Long lines in message mode make Emacs irresponsive
Date: Wed, 31 Aug 2016 17:51:04 +0200
On Wed, Aug 31 2016, Eli Zaretskii <eliz <at> gnu.org> wrote:
> The main loop in try_window is this:
>
>   /* Display all lines of W.  */
>   while (it.current_y < it.last_visible_y)
>     {
>       if (display_line (&it))
>       last_text_row = it.glyph_row - 1;
>       if (f->fonts_changed && !(flags & TRY_WINDOW_IGNORE_FONTS_CHANGE))
>       return 0;
>     }
>
> Please see if the loop terminates, by setting a breakpoint on the
> 'return 0' statement and on the line after the loop.
>
> If it terminates, it means try_window does its job correctly, and we
> will need to look in the caller, redisplay_window, for the reasons of
> this infloop.

It actually terminates.

I've narrowed it down to redisplay_internal(), hitting a goto in
xdisp.c:14144:

    if (hscroll_windows (selected_window))
=>    goto retry;




This bug report was last modified 8 years and 304 days ago.

Previous Next


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