[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: |
Wed, 24 Nov 2004 19:20:51 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
>> 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.
>>
>> I didn't want to try to figure out how to go that far.
>> If someone else wants to, please go ahead.
> 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'm not arguing against it. I'm aguaging against including it *right now*
because it's a new feature and we're in feature freeze.
For the same reason I think we should take out the recent change that uses
comment-beginning (and which was already source of one bug which lead to
this thread, which is proof if there is one that such features can cost
a lot of time).
Stefan
- 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/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, 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 <=
- 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
- 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