[Top][All Lists]
[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: |
Sat, 27 Nov 2004 17:08:54 +0000 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.2 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> It's just `(syntax-ppss-context (syntax-ppss))'. That says whether
> point is in a string or comment, assuming any necessary syntax
> properties are installed, but it's what Stefan is arguing against.
>
> I tend to think that efficiency would call for other changes.
Python mode's Imenu code uses it (implicitly if I remember correctly).
That seems to work OK on an oldish Sun Ultra 5 with an 80k Python
file, which was the largest I could find. I don't know how
representative that is of other modes, though -- Python tends to have
largeish blocks of strings as function doc.
If this sort of thing isn't efficient enough, it needs speeding up
(and having the syntaxification decoupled from font-lock). I don't
mean do it now, and I should probably have done it long ago.
- Re: imenu fails in mode without comment-start-skip defined, (continued)
- Re: imenu fails in mode without comment-start-skip defined, Dave Love, 2004/11/22
- Re: imenu fails in mode without comment-start-skip defined, Stefan Monnier, 2004/11/22
- Re: imenu fails in mode without comment-start-skip defined, Dave Love, 2004/11/23
- Re: imenu fails in mode without comment-start-skip defined, Stefan Monnier, 2004/11/23
- Re: imenu fails in mode without comment-start-skip defined, Dave Love, 2004/11/24
- Re: imenu fails in mode without comment-start-skip defined, Richard Stallman, 2004/11/23
- Re: imenu fails in mode without comment-start-skip defined, Dave Love, 2004/11/24
- Re: imenu fails in mode without comment-start-skip defined, Stefan Monnier, 2004/11/24
- Re: imenu fails in mode without comment-start-skip defined, Dave Love, 2004/11/27
- Re: imenu fails in mode without comment-start-skip defined, Richard Stallman, 2004/11/26
- Re: imenu fails in mode without comment-start-skip defined,
Dave Love <=
- Re: imenu fails in mode without comment-start-skip defined, Stefan Monnier, 2004/11/27
- Re: imenu fails in mode without comment-start-skip defined, Richard Stallman, 2004/11/28
- Re: imenu fails in mode without comment-start-skip defined, Dave Love, 2004/11/28
- Re: imenu fails in mode without comment-start-skip defined, Stefan, 2004/11/28
- Re: imenu fails in mode without comment-start-skip defined, Richard Stallman, 2004/11/30
- Re: imenu fails in mode without comment-start-skip defined, Stefan, 2004/11/30
- Re: imenu fails in mode without comment-start-skip defined, Dave Love, 2004/11/30
- Re: imenu fails in mode without comment-start-skip defined, Dave Love, 2004/11/30
Re: imenu fails in mode without comment-start-skip defined, Richard Stallman, 2004/11/19