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

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

bug#11417: 24.0.96; infinite looping in xdisp.c


From: Leo
Subject: bug#11417: 24.0.96; infinite looping in xdisp.c
Date: Thu, 10 May 2012 17:15:40 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.96 (Mac OS X 10.6.8)

On 2012-05-08 11:37 +0800, Chong Yidong wrote:
> I also am puzzled by where the display string "!" causing the problem
> comes from.  The only appearance of a "!" in Flymake is applied to the
> mode-line, not as a display string within the buffer text.  Neither
> Flymake nor Python mode seem to use overlay display strings.
>
> Do you have any idea what "!" is used for in your buffer?

Just realised this was triggered by me patching flymake to support
fringe indicator.

> Could you check the value of it->object, it->n_overlay_strings, and
> it->overlay_strings[0]?

On 2012-05-09 01:26 +0800, Eli Zaretskii wrote:
> I think Leo's time and energy will be better spent looking for a
> reproducible test case.  Then debugging will be much more efficient.

OK, I have prepared a test case. It requires python and the package
pyflakes¹ which is used by flymake. Normally one can install pyflakes by
using:

    pip install pyflakes
OR
    easy_install pyflakes

in a terminal.

Decompress the attached tar ball and go into the directory 11417/ in a
terminal and launch emacs like this:

 emacs -nw -q -L . -l bug.el setup.py

You should see a buffer with contents partially displayed. Move around
in that buffer by typing C-v, M-v, C-n or C-p until it freezes (it
usually takes me no more than 3 key strokes).

Footnotes: 
¹  http://pypi.python.org/pypi/pyflakes/0.5.0

Attachment: 11417.tgz
Description: 11417.tgz


reply via email to

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