GNU bug report logs - #19720
24.4; minor mode's font-lock-add-keywords & auto-mode-alist problem

Previous Next

Package: emacs;

Reported by: Joost Kremers <joostkremers <at> fastmail.fm>

Date: Wed, 28 Jan 2015 22:56:02 UTC

Severity: minor

Found in version 24.4

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

Bug is archived. No further changes may be made.

Full log


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

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Joost Kremers <joostkremers <at> fastmail.fm>
Cc: 19720 <at> debbugs.gnu.org
Subject: Re: bug#19720: 24.4; minor mode's font-lock-add-keywords &
 auto-mode-alist problem
Date: Thu, 29 Jan 2015 13:36:41 +0200
On 01/29/2015 01:11 PM, Joost Kremers wrote:

> I've been trying to figure that out, but haven't gotten very far yet.
> I'm no expert on font-lock and I can't really tell if `markdown-mode'
> does anything out of the ordinary with it.
>
> I'll take this back to gnu.emacs.help and also send the maintainer of
> `markdown-mode' an email. Perhaps he can shed some light on this.

Looks like the problem is that `markdown-reload-extensions', which is 
called from `markdown-mode', not only sets `font-lock-defaults', but 
also calls `font-lock-refresh-defaults'.

This function is also added to `hack-local-variables-hook'.




This bug report was last modified 5 years and 210 days ago.

Previous Next


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