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: Fri, 19 Nov 2004 17:06:51 +0000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.2 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> [I once suggested a different fix for Imenu hits in comments which
>> didn't fail like this, but it was vetoed.]
>
> Can't remember what that was.

[I think I used syntax-ppss for what it's worth.]

> It does, if you're careful to call comment-normalize-vars before.

OK, it looks as though comment-beginning shouldn't be called like
that.  However, if comment-normalize-vars gets called, you may get a
prompt for comment-start, even if comments aren't relevant.

Perhaps you could DTRT one way or another.




reply via email to

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