|
From: | Stefan Monnier |
Subject: | Re: emacs rendering comparisson between emacs23 and emacs26.3 |
Date: | Mon, 20 Apr 2020 23:41:04 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> The question remains: has anybody other than Stefan M. freely chosen to > use syntax-ppss and syntax-propertize-function, whilst being aware of > their disadvantages and of alternatives? Not quite sure I can answer that. I can point to cperl-mode which used the exact same approach as `syntax-propertize` (without using `syntax-propertize` because it didn't exist yet) and I can point to many major modes that use `syntax-propertize` successfully without my involvement. Perl is one of the languages that requires the most intense help from `syntax-table text properties. AFAIK CC-mode is the only "alternative" and last I checked there's only one human on this planet who really knows what it does. > The syntax-propertize mechanism erases s-t p's in a manner not under > the control of the major mode, which means the major mode needs to > implement workarounds (which are liable to be slow). I have no idea what you're referring to. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |