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: Tue, 30 Nov 2004 22:41:54 +0000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.2 (gnu/linux)

Richard Stallman <address@hidden> writes:

> Maybe this is not really a possibility.  Maybe it depends on whether
> the loop scans forwards or backwards.  It would depend on what kind of
> caching features there are inside syntax-ppss, which is a question I
> don't recall the answer to.

The whole point is efficiency compared with parse-partial-sexp -- see
NEWS -- though that's not explicit in syntax.el's commentary.  I think
it should be documented in lispref with parse-partial-sexp.  It should
also be mentioned that it can clobber the match data through running
syntax-begin-function.

This is orthogonal to imenu issues.




reply via email to

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