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

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

Re: imenu fails in mode without comment-start-skip defined


From: Dave Love
Subject: Re: imenu fails in mode without comment-start-skip defined
Date: Sun, 28 Nov 2004 21:56:35 +0000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.2 (gnu/linux)

Richard Stallman <address@hidden> writes:

>     Python mode's Imenu code uses it (implicitly if I remember correctly).
>
> We cannot deduce any firm conclusion about the code
> in Imenu from that information.  They may be different in other ways.

Well, it's easy to measure.  Using syntax-ppss instead of the current
code makes imenu--make-index-alist 4 times faster when run on
simple.el (rather surprisingly).  It's 50% slower than without any
check on the context.




reply via email to

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