help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Question on syntax-propertize-function


From: Stefan Monnier
Subject: Re: Question on syntax-propertize-function
Date: Fri, 07 Jun 2013 20:46:03 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> BTW: you should have the same problem in tuareg.  How do you solve it?

AFAIK we don't.  IIRC the precise commenting rules in OCaml are pretty
subtle, and Tuareg mode doesn't try to obey them all.

> I noticed that when font-lock-mode is disabled, the text is not propertized.
> Is syntax-propertize run only by font-lock or is used also for other purpose?

It is propertized on demand.  So if noone asks for it, it's not run.
When you need it, call syntax-propertize.


        Stefan




reply via email to

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