From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: Possible bug? font-lock-add-keywords in minor mode and auto-mode-alist Date: 27 Jan 2015 20:36:02 GMT Message-ID: References: <54C6466D.1050608@yandex.ru> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1422391222 26713 80.91.229.3 (27 Jan 2015 20:40:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Jan 2015 20:40:22 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 27 21:40:22 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YGCvt-00020V-Cc for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Jan 2015 21:40:21 +0100 Original-Received: from localhost ([::1]:49856 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGCvs-0003bm-LO for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Jan 2015 15:40:20 -0500 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-X-Trace: individual.net plmIECznhKJaZzxwdbcvMQrWOn48SZc1+171HcrjkbhNisP3VT Cancel-Lock: sha1:FtukXXnAXFmWtI8WlxcEF+GuoCo= Mail-Copies-To: nobody X-Editor: Emacs of course! User-Agent: slrn/pre1.0.0-18 (Linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:210040 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102319 Archived-At: Stefan Monnier wrote: >>> I can reproduce this, looks like a bug. >> Could that be another occurrence of the "changing major mode kills all >> local variables" thing? > > No, it looks more like when global-font-lock-mode's hook runs, it > gets fooled into thinking that the font-lock-keywords was setup for > a parent mode and needs to be re-set. So should I file a bug report? -- Joost Kremers joostkremers@fastmail.fm Selbst in die Unterwelt dringt durch Spalten Licht EN:SiS(9)