From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikolaj Schumacher Newsgroups: gmane.emacs.help Subject: Re: problem understanding font-lock-defaults structure Date: Fri, 10 Oct 2008 01:27:40 +0200 Message-ID: References: <13173afe-f51c-4c67-b738-1949f2b28b5f@f40g2000pri.googlegroups.com> <296d3d40-598c-4ea4-8394-c69975c0399f@a3g2000prm.googlegroups.com> <5f116baa-33e0-48ed-a27e-8446a7791c1d@a18g2000pra.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1223594989 7262 80.91.229.12 (9 Oct 2008 23:29:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Oct 2008 23:29:49 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Xah Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 10 01:30:47 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ko4xE-0002In-23 for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Oct 2008 01:30:00 +0200 Original-Received: from localhost ([127.0.0.1]:37543 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ko4wA-0006HB-05 for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Oct 2008 19:28:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ko4v4-0005uQ-5f for help-gnu-emacs@gnu.org; Thu, 09 Oct 2008 19:27:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ko4v3-0005tw-6K for help-gnu-emacs@gnu.org; Thu, 09 Oct 2008 19:27:45 -0400 Original-Received: from [199.232.76.173] (port=36769 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ko4v3-0005ts-13 for help-gnu-emacs@gnu.org; Thu, 09 Oct 2008 19:27:45 -0400 Original-Received: from dd18200.kasserver.com ([85.13.138.168]:54940) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ko4v2-0002dQ-V6 for help-gnu-emacs@gnu.org; Thu, 09 Oct 2008 19:27:45 -0400 Original-Received: from thursday (BAH7ef0.bah.pppool.de [77.135.126.240]) by dd18200.kasserver.com (Postfix) with ESMTP id A1A2B18095078; Fri, 10 Oct 2008 01:27:48 +0200 (CEST) In-Reply-To: <5f116baa-33e0-48ed-a27e-8446a7791c1d@a18g2000pra.googlegroups.com> (Xah's message of "Thu\, 9 Oct 2008 14\:40\:13 -0700 \(PDT\)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (darwin) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:58642 Archived-At: Xah wrote: > (setq font-lock-keywords > ( > myKeywordsLevel1 > nil > nil > ) > ) > > (font-lock-fontify-buffer) > > In the =E2=80=9Csetq font-lock-keywords=E2=80=9D, block, i tried various = quoting and > nesting but no go. The idea of multiple levels of fontification is in a higher abstraction level than this. `font-lock-keywords' doesn't support it. (setq font-lock-keywords myKeywordsLevel1) regards, Nikolaj Schumacher