emacs-devel
[Top][All Lists]
Advanced

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

Re: Need help fixing comint fontification for python.


From: Stefan Monnier
Subject: Re: Need help fixing comint fontification for python.
Date: Sun, 07 Oct 2012 10:37:28 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

> What would be the best way remove the syntax class for all the output?

Use a syntax-propertize-function.

Look at the `field' property and wherever its value is `output', place
an appropriate syntax-table property.
Or alternatively, use a "safe" syntax-table in the buffer, but add
Python's syntax-table as a property whereas the `field' property is nil.


        Stefan



reply via email to

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