[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: |
Stefan Monnier |
Subject: |
Re: "Font-lock is limited to text matching" is a myth |
Date: |
Mon, 10 Aug 2009 14:47:01 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
>> 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.
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 <=
- Re: "Font-lock is limited to text matching" is a myth, Lennart Borgman, 2009/08/10
- 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