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: Thu, 18 Nov 2004 16:50:11 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

> [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 don't think Imenu should require `comment-start-skip' to be defined
> (or anything comment-related), but the problem is probably with
> newcomment.el.  I'd guess that `comment-beginning' should just return
> nil in, say, Fundamental mode.

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


        Stefan




reply via email to

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