[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: |
Stefan Monnier |
Subject: |
Re: imenu fails in mode without comment-start-skip defined |
Date: |
Mon, 22 Nov 2004 17:26:31 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
> Actually, the trouble is anyway that this only takes into account
> comments, not strings. What you really want to test is whether the
> position is in a string or comment (regardless of whether the mode
> uses comments or string syntax). That's why I suggested a patch using
> `syntax-ppss' before.
Indeed. And I agree that syntax-ppss is the way to solve those problems.
But syntax-ppss does not work correctly in all modes, so I still recommend
we wait for post-21.4 to install this change and we should then provide
a way for major modes to explicitly turn on (or off) the "ignore match in
comment/string".
Stefan
- imenu fails in mode without comment-start-skip defined, Dave Love, 2004/11/18
- Re: imenu fails in mode without comment-start-skip defined, Stefan Monnier, 2004/11/18
- Re: imenu fails in mode without comment-start-skip defined, Dave Love, 2004/11/19
- Re: imenu fails in mode without comment-start-skip defined, Richard Stallman, 2004/11/20
- Re: imenu fails in mode without comment-start-skip defined, Stefan Monnier, 2004/11/20
- 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 <=
- 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, 2004/11/27
- Re: imenu fails in mode without comment-start-skip defined, Stefan Monnier, 2004/11/27