From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joe Riel Newsgroups: gmane.emacs.help Subject: Basic font-lock without font-locking double-quoted strings Date: Thu, 19 Dec 2013 15:58:00 -0800 Message-ID: <20131219155800.22f4b5fd@gauss> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1387497512 21735 80.91.229.3 (19 Dec 2013 23:58:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Dec 2013 23:58:32 +0000 (UTC) To: Help GNU Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 20 00:58:34 2013 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 1VtnUA-0006qX-KL for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Dec 2013 00:58:34 +0100 Original-Received: from localhost ([::1]:46930 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtnU9-0005a8-Ot for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Dec 2013 18:58:33 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33253) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtnTs-0005Yu-JN for help-gnu-emacs@gnu.org; Thu, 19 Dec 2013 18:58:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VtnTl-0001GS-8Q for help-gnu-emacs@gnu.org; Thu, 19 Dec 2013 18:58:16 -0500 Original-Received: from cdptpa-omtalb.mail.rr.com ([75.180.132.120]:63862) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtnTl-0001FN-3u for help-gnu-emacs@gnu.org; Thu, 19 Dec 2013 18:58:09 -0500 X-Authority-Analysis: v=2.0 cv=b8cwE66x c=1 sm=0 a=GGzZdJT2oJO+GUpSCk/8YQ==:17 a=loIIsSsxT5gA:10 a=05ChyHeVI94A:10 a=A67dEwaWxOsA:10 a=kj9zAlcOel0A:10 a=ayC55rCoAAAA:8 a=KGjhK52YXX0A:10 a=7q48_jiA00oA:10 a=QTmIP60c8wMJwjARAE4A:9 a=CjuIK1q_8ugA:10 a=xAPvmcfM4EgA:10 a=r9GvvJupxmgA:10 a=GGzZdJT2oJO+GUpSCk/8YQ==:117 X-Cloudmark-Score: 0 X-Authenticated-User: X-Originating-IP: 66.75.5.27 Original-Received: from [66.75.5.27] ([66.75.5.27:54313] helo=gauss) by cdptpa-oedge02.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id 88/78-21976-D0883B25; Thu, 19 Dec 2013 23:58:06 +0000 X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 75.180.132.120 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:95102 Archived-At: Why would the following minimal mode (define-derived-mode msdbg-mode fundamental-mode (setq font-lock-keywords '(("EA" . font-lock-warning-face)))) cause text delimited by double-quotes, say "This gets font-locked" to get font-locked? Is this syntactic font-locking? How can I turn it off in that mode? If I set font-lock-keywords to nil, then the strings don't get font-locked, nor anything else. -- Joe Riel