[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: |
Miles Bader |
Subject: |
Re: "Font-lock is limited to text matching" is a myth |
Date: |
Tue, 11 Aug 2009 18:17:46 +0900 |
Steve Yegge <address@hidden> writes:
> V. Font Lock framework design problems
>
> There seems to be a common misconception flitting about to the
> effect that font-lock is perfect and will never need to change.
I don't think that's true at all -- I think most of us realize that
font-lock sucks.
On the other hand, most attempts to do ad-hoc highlighting also seem to
suck (this is always my initial assumption).
Since there's a _lot_ to be gained from using a common framework
(consistency, maintainability, etc), it's far preferable that packages
use a standard sucky framework, than their own sucky code.
Thus the tendency to approach any new package that doesn't use font-lock
with skepticism: It isn't so much a vote of confidence in font-lock, as
it is a recognition that the alternative is _usually_ worse...
If that's not true in your case, then great -- as Stefan said, maybe
it's a good example of an alternative approach, and something that could
be used to experiment with possible future highlighting/parsing/etc
frameworks that do a better job than font-lock.
-Miles
--
Defenceless, adj. Unable to attack.
- Re: Why js2-mode in Emacs 23.2?, (continued)
- Re: Why js2-mode in Emacs 23.2?, Miles Bader, 2009/08/10
- Re: Why js2-mode in Emacs 23.2?, Lennart Borgman, 2009/08/10
- "Font-lock is limited to text matching" is a myth, Daniel Colascione, 2009/08/10
- 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, David Engster, 2009/08/10
- 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, Eric M. Ludlam, 2009/08/10
- 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, Eric M. Ludlam, 2009/08/10
- Re: "Font-lock is limited to text matching" is a myth, Steve Yegge, 2009/08/11
- Re: "Font-lock is limited to text matching" is a myth,
Miles Bader <=
- Re: "Font-lock is limited to text matching" is a myth, Daniel Colascione, 2009/08/11
- Re: "Font-lock is limited to text matching" is a myth, Miles Bader, 2009/08/11
- 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, Daniel Colascione, 2009/08/11
- Re: "Font-lock is limited to text matching" is a myth, Daniel Colascione, 2009/08/11
- 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, Miles Bader, 2009/08/11
- Re: "Font-lock is limited to text matching" is a myth, Stephen J. Turnbull, 2009/08/11
- 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, Stephen J. Turnbull, 2009/08/11