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: John Wiegley
Subject: Re: font-lock-syntactic-keywords obsolet?
Date: Sun, 19 Jun 2016 22:05:43 -0700
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.95 (darwin)

>>>>> Stefan Monnier <address@hidden> writes:

> But from the point of view of Emacs, there are some good reasons to try and
> unify the way different major modes work. E.g. so that there's a standard
> agreed upon way for a package to know if point is inside a comment, without
> having to know anything about the current major mode. [ FWIW, CC-mode
> already interacts well enough with syntax-ppss that this particular need
> already works OK. ]

It would be nice to refer major modes to a centralized library for core
details like this. It makes it easier for contributors in future to know what
to do, since the major modes could eventually behave in comment in this
regard.

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2



reply via email to

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