From: Drew Adams <drew.adams@oracle.com>
To: 46039@debbugs.gnu.org
Subject: bug#46039: 26.3; Mention how to get _only_ syntactic font lock
Date: Fri, 22 Jan 2021 16:58:42 +0000 [thread overview]
Message-ID: <SA2PR10MB4474C6A9392824F20A050DC4F3A09@SA2PR10MB4474.namprd10.prod.outlook.com> (raw)
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''
next reply other threads:[~2021-01-22 16:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-22 16:58 Drew Adams [this message]
2022-06-13 18:57 ` bug#46039: 26.3; Mention how to get _only_ syntactic font lock Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=SA2PR10MB4474C6A9392824F20A050DC4F3A09@SA2PR10MB4474.namprd10.prod.outlook.com \
--to=drew.adams@oracle.com \
--cc=46039@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.