GNU bug report logs -
#46039
26.3; Mention how to get _only_ syntactic font lock
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Fri, 22 Jan 2021 16:59:02 UTC
Severity: wishlist
Found in version 26.3
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Please see this question (and comments):
https://emacs.stackexchange.com/q/62926/105
I supposed, but wasn't sure, that the answer is to just set
`font-lock-keywords' to nil (e.g. using `font-lock-defaults').
I looked for doc that spoke to this directly, but didn't find any. The
doc tells you how to do the _opposite_: get only search-based
font-locking, and not also syntactic font-locking. But I didn't find
anything explicitly saying how to get only syntactic font-locking.
If I'm right that this isn't mentioned explicitly, please consider
mentioning it. It's a reasonable use case.
In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32)
of 2019-08-29
Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd
Windowing system distributor `Microsoft Corp.', version 10.0.18362
Configured using:
`configure --without-dbus --host=x86_64-w64-mingw32
--without-compress-install 'CFLAGS=-O2 -static -g3''
This bug report was last modified 2 years and 339 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.