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 15:51:41 +0200 Message-ID: <54C6466D.1050608@yandex.ru> References: 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 1422280344 19206 80.91.229.3 (26 Jan 2015 13:52:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Jan 2015 13:52:24 +0000 (UTC) To: Joost Kremers , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 26 14:52:17 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 1YFk5L-0003zg-82 for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Jan 2015 14:52:11 +0100 Original-Received: from localhost ([::1]:41697 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFk5E-0002vY-Ry for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Jan 2015 08:52:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFk51-0002ux-Gt for help-gnu-emacs@gnu.org; Mon, 26 Jan 2015 08:51:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YFk4y-0001VB-90 for help-gnu-emacs@gnu.org; Mon, 26 Jan 2015 08:51:51 -0500 Original-Received: from mail-we0-x230.google.com ([2a00:1450:400c:c03::230]:50156) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFk4y-0001Ut-3H for help-gnu-emacs@gnu.org; Mon, 26 Jan 2015 08:51:48 -0500 Original-Received: by mail-we0-f176.google.com with SMTP id w62so9150142wes.7 for ; Mon, 26 Jan 2015 05:51:47 -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=NNEqw5URyPpK5vNF/xFbNBrObd6PvPXPtq9F+AnFNGw=; b=S1YoEdHL0r4KA0X2xVh/6+qeLfl2Vf6WD9X8zhMzhY+yUAVyU27h8ZBxykyu7J/1wl fMDr2TYIz5PojGIuMMYRNcq9nJG5uw80h6Wk7i9xFztXsa8ttb6eCdprCREdzCIFT6Ya 8+u6NgQ0D8VT3dOMdNAYUSueV8T/IPBJOwnpICyAJlejJ3ep8OGT2Wjrt4IZM51sXwtY fj3rc2JsG1Ehk6Ygiz3eR6YNlRFX0v/LQ3Yr7DcXfLv5i9nNjUMi4oq01DVtL7SQk/rQ LnXZnUlyNTA9mT++W0WlGKc7U+Xu/piVFH0djhecxTU/7MQZLM8qdSxlbh4oWmihO1b8 AtmQ== X-Received: by 10.194.161.170 with SMTP id xt10mr45490171wjb.4.1422280307438; Mon, 26 Jan 2015 05:51:47 -0800 (PST) Original-Received: from [192.168.1.2] ([82.102.93.54]) by mx.google.com with ESMTPSA id r3sm14029687wic.10.2015.01.26.05.51.46 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Jan 2015 05:51:46 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Thunderbird/33.0 In-Reply-To: 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:102284 Archived-At: On 01/26/2015 01:28 PM, Joost Kremers wrote: > Everything works fine if I call the major mode function interactively > (`M-x markdown-mode', to be precise). The minor mode is activated and > the font-lock keywords are added correctly. > > However, if `markdown-mode' is activated through `auto-font-alist', the > additional font-lock keywords are not added. I can reproduce this, looks like a bug.