GNU bug report logs - #24176
Confusing interaction between define-derived-mode and font-lock-add-keywords

Previous Next

Package: emacs;

Reported by: Clément Pit--Claudel <clement.pitclaudel <at> live.com>

Date: Sun, 7 Aug 2016 06:42:01 UTC

Severity: minor

Tags: confirmed

Found in version 25.1

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Clément Pit--Claudel <clement.pitclaudel <at> live.com>, npostavs <at> users.sourceforge.net, 24176 <at> debbugs.gnu.org
Subject: bug#24176: Confusing interaction between define-derived-mode and font-lock-add-keywords
Date: Mon, 24 Jan 2022 11:56:18 +0100
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

>> Stefan, is this working as designed?
>
> Not really, no.  The design didn't take this into account at least.
>
>> If so, the behaviour should perhaps be mentioned in the doc for
>> font-lock-add-keywords and/or define-derived-mode?
>
> I think it'd be better to fix it ;-)

I think I've fixed this in Emacs 29.

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




This bug report was last modified 3 years and 120 days ago.

Previous Next


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