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: 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




reply via email to

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