[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: perl mode color highlighting working badly

From: Stefan Monnier
Subject: Re: perl mode color highlighting working badly
Date: Wed, 02 Nov 2005 12:51:24 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> By the way, wouldn't it make sense to define `syntax-begin-function' for
> perl-mode?  Something like a "well-formed" `sub' starting in column zero
> - ignoring any syntax-table properties.  I believe it would be less
> costly to run both `font-lock-fontify-syntactic-keywords-region' and
> `font-lock-fontify-syntactically-region' from such a position.

Setting syntax-begin-function is not enough because currently the
font-lock-syntactically-fontified logic does not take advantage of


reply via email to

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