|
From: | Dmitry Gutov |
Subject: | Re: Clarification needed: syntax-propertize vs font-lock-syntax-table |
Date: | Wed, 18 Nov 2015 20:37:15 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0 |
On 11/18/2015 08:06 PM, Wedler, Christoph wrote:
* Solution 1: the font-lock syntax table must not differ too much from the normal syntax table, i.e., the function in
I think this is the current consensus. It shouldn't differ in paren, comment or string syntax. IOW, it should be syntax-ppss-compatible with the main one.
syntax-propertize-function should behave the same. If so, it should be probably documented.
It should.
Any other ideas?
Support different syntax tables in different parts of the buffer. That must be a part of our eventual multi-major-mode solution.
[Prev in Thread] | Current Thread | [Next in Thread] |