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

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

Re: infloop in python code


From: Chong Yidong
Subject: Re: infloop in python code
Date: Mon, 09 Apr 2007 22:21:50 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.97 (gnu/linux)

Benjamin Rutt <address@hidden> writes:

> Benjamin Rutt <rutt.4 <at> osu.edu> writes:
>
>> Is there anything I can do to make this report more useful?  It
>> doesn't happen with emacs -q unfortunately.
>
> hoorah, I can now dupe it with command line
>
>   emacs -q --eval '(add-hook (quote python-mode-hook) (lambda ()
> (imenu-add-menubar-index)))' --eval '(setq imenu-auto-rescan t)'
> bugreport.py
>
> so imenu is implicated.  can anyone else dupe it now? 

Ah yes, now I can replicate it.  The trouble was that your test
program had long lines that were automatically snipped by Gnus.

Here is a simpler test case:

#!/usr/bin/env python
def foo(bar):
    foo = foo("""foo""").bar("
    cmd = """foo"""
    bar

emacs -q foo.py
M-: (python-imenu-create-index) RET





reply via email to

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