[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "Font-lock is limited to text matching" is a myth
From: |
Lennart Borgman |
Subject: |
Re: "Font-lock is limited to text matching" is a myth |
Date: |
Mon, 10 Aug 2009 20:55:28 +0200 |
On Mon, Aug 10, 2009 at 8:47 PM, Stefan Monnier<address@hidden> wrote:
>>> it'd be nice if emacs provides syntax parsing infrastructure.... nmxl, js2,
>>> cedet, can be leads in this direction and see how things work out.
>> It already does. It's called font-lock.
>
> No, font-lock doesn't do any parsing. parse-partial-sexp does a very
> limited kind of parsing, and font-lock makes use of it, but font-lock
> itself doesn't do any parsing.
I think Daniel suggested that it is a frame-work that can be used for
book-keeping of how far parsing has gone (the state must be kept
elsewhere) and parsing while Emacs is idle. Don't you think it can be
used for that?
> Your font-lock-keywords may of course do an arbitrarily complex form of
> parsing, but it's still not font-lock that does it.
>
>
> Stefan
>
- Re: "Font-lock is limited to text matching" is a myth, (continued)
- asynchronous parsing (was: "Font-lock is limited to text matching" is a myth), Ted Zlatanov, 2009/08/12
- Re: asynchronous parsing, joakim, 2009/08/12
- Re: asynchronous parsing, Ted Zlatanov, 2009/08/12
- Re: asynchronous parsing, joakim, 2009/08/12
- Re: asynchronous parsing, Stefan Monnier, 2009/08/12
- Re: asynchronous parsing, Ted Zlatanov, 2009/08/13
- Re: "Font-lock is limited to text matching" is a myth, Lennart Borgman, 2009/08/11
- Re: "Font-lock is limited to text matching" is a myth, Stefan Monnier, 2009/08/10
- Re: "Font-lock is limited to text matching" is a myth,
Lennart Borgman <=
- Re: "Font-lock is limited to text matching" is a myth, Stefan Monnier, 2009/08/10
- Re: Why js2-mode in Emacs 23.2?, Stefan Monnier, 2009/08/10
- Re: Why js2-mode in Emacs 23.2?, Deniz Dogan, 2009/08/10
- Re: Why js2-mode in Emacs 23.2?, Stefan Monnier, 2009/08/10
- Re: Why js2-mode in Emacs 23.2?, Stephen Eilert, 2009/08/10
- Re: Why js2-mode in Emacs 23.2?, Lennart Borgman, 2009/08/10
- Re: Why js2-mode in Emacs 23.2?, Deniz Dogan, 2009/08/10
- Re: Why js2-mode in Emacs 23.2?, Stephen Eilert, 2009/08/10
- Re: Why js2-mode in Emacs 23.2?, Deniz Dogan, 2009/08/10
- Re: Why js2-mode in Emacs 23.2?, Lennart Borgman, 2009/08/10