emacs-devel
[Top][All Lists]
Advanced

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

Re: font-lock-syntactic-keywords obsolet?


From: Dmitry Gutov
Subject: Re: font-lock-syntactic-keywords obsolet?
Date: Wed, 22 Jun 2016 00:17:53 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2

On 06/22/2016 12:05 AM, Alan Mackenzie wrote:

What I object to is you trying
to dictate to the Emacs community that they are only to be allowed to
handle syntax-table text properties in your favoured manner.

I'm not doing that. Again: please go on with doing whatever you wish in CC Mode.

There is, at the very least an implication there, that you consider
"syntax-ppss users" in some way privileged, in that other Emacs
developers must constrain their development strategies to fit in with
the desires and defficiencies of these "syntax-ppss users".

Only when you try to change how Emacs primitives work. Then yes, you damn better consider the existing facilities and their users. I'm again referring to comment-cache here and your proposed implementation.

I say that it is up to the "syntax-ppss users" to keep their software
compatible with Emacs, not the other way around.

By the same reasoning, you could push for renaming `car' into `cr' for efficiency reasons, without an alias, and demand that all other users adapt to keep their code compatible. That's not how Emacs works, and you know it.

> They have no right to
> impose constraints on other developers, certainly not on how they will
> manipulate syntax-table text properties.

That sounds like a different discussion.

I'm not sure how you imagine that implementing
something in CC Mode somehow "ignores the needs of the rest of the
modes".

It does not while it stays in CC Mode. Or, if extracted from it, remains fully optional.

That's not true. You've critiqued it a lot (does that not count as
persuading to abandon?), ....

No, it doesn't.  It's technical discussion leading to greater
understanding on both sides.

I really hope it does.



reply via email to

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