GNU bug report logs - #46039
26.3; Mention how to get _only_ syntactic font lock

Previous Next

Package: emacs;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 46039 in the body.
You can then email your comments to 46039 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#46039; Package emacs. (Fri, 22 Jan 2021 16:59:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Drew Adams <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 22 Jan 2021 16:59:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: 26.3; Mention how to get _only_ syntactic font lock
Date: Fri, 22 Jan 2021 16:58:42 +0000
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''





Severity set to 'wishlist' from 'normal' Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Sun, 31 Oct 2021 02:42:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#46039; Package emacs. (Mon, 13 Jun 2022 18:58:02 GMT) Full text and rfc822 format available.

Message #10 received at 46039 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 46039 <at> debbugs.gnu.org
Subject: Re: bug#46039: 26.3; Mention how to get _only_ syntactic font lock
Date: Mon, 13 Jun 2022 20:57:43 +0200
Drew Adams <drew.adams <at> oracle.com> writes:

> 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.

I've now mentioned it in the Emacs 29 lispref manual.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 29.1, send any further explanations to 46039 <at> debbugs.gnu.org and Drew Adams <drew.adams <at> oracle.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 13 Jun 2022 18:58:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 12 Jul 2022 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 287 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.