From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.help Subject: Re: Possible bug? font-lock-add-keywords in minor mode and auto-mode-alist Date: Mon, 26 Jan 2015 17:20:36 +0200 Message-ID: <54C65B44.1050808@yandex.ru> References: <54C6466D.1050608@yandex.ru> <87386x60cr.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1422285662 15498 80.91.229.3 (26 Jan 2015 15:21:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Jan 2015 15:21:02 +0000 (UTC) To: Michael Heerdegen , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 26 16:21:02 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 1YFlTJ-0003KS-OM for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Jan 2015 16:21:01 +0100 Original-Received: from localhost ([::1]:42262 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFlTJ-0003Xs-38 for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Jan 2015 10:21:01 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38672) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFlT5-0003XQ-2l for help-gnu-emacs@gnu.org; Mon, 26 Jan 2015 10:20:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YFlT1-0006WK-IC for help-gnu-emacs@gnu.org; Mon, 26 Jan 2015 10:20:46 -0500 Original-Received: from mail-we0-x230.google.com ([2a00:1450:400c:c03::230]:49992) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFlT1-0006W3-70 for help-gnu-emacs@gnu.org; Mon, 26 Jan 2015 10:20:43 -0500 Original-Received: by mail-we0-f176.google.com with SMTP id w62so9650274wes.7 for ; Mon, 26 Jan 2015 07:20:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=H2IESk5lud+aM2nf/a76kEPqTTqGoMo/tIxZMIGdiYI=; b=MzBm9OtifBJfVh6NXVN+iNX/oGNvfAgnofbHD30CVtbUpHFife4rWfelR81aWYYv1y F0RylfSM86h8LZcRoT+Q1uvKq/GmDiDVEcyMYvSEJ7S0b1nC2MbWOQZDdt/AlSnMUhLw sNBTKTCRFFh1WbZtQzH2jmGlXKijNbNYBG4A+plWBPYIXcqLtAVnDNg8o4mVeiXQ99fp UeYpzYKLeh2I7PvIWTHP1bWxoBrGox6izRaeK2Un/Ft669gUk7yh+NMCB8a1R/qgLV5v N+DONmFTOGQzoUd3s8JbXaJIlffT9iufodzXthnsd2bOwHeo3LHEGOwOiSwqvYThylcY W5cQ== X-Received: by 10.194.23.6 with SMTP id i6mr44143686wjf.26.1422285642550; Mon, 26 Jan 2015 07:20:42 -0800 (PST) Original-Received: from [192.168.1.2] ([82.102.93.54]) by mx.google.com with ESMTPSA id i4sm5346216wje.20.2015.01.26.07.20.41 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Jan 2015 07:20:41 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Thunderbird/33.0 In-Reply-To: <87386x60cr.fsf@web.de> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c03::230 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:102287 Archived-At: On 01/26/2015 05:13 PM, Michael Heerdegen wrote: > Dmitry Gutov writes: > >> I can reproduce this, looks like a bug. > > Could that be another occurrence of the "changing major mode kills all > local variables" thing? Now sure what previous occurrence you're referring to, but killing happens before the major mode function runs, not after. Right?