From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#1534: Font lock decoration levels mismatch? Date: Thu, 11 Dec 2008 18:52:18 -0500 Message-ID: References: <1228938693.24919.50.camel@eep> Reply-To: Glenn Morris , 1534@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1229040305 31394 80.91.229.12 (12 Dec 2008 00:05:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Dec 2008 00:05:05 +0000 (UTC) Cc: 1534@emacsbugs.donarmstrong.com To: Derick Eddington Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 12 01:06:09 2008 Return-path: Envelope-to: geb-bug-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 1LAvXT-0004MG-Rq for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Dec 2008 01:05:58 +0100 Original-Received: from localhost ([127.0.0.1]:45023 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LAvWI-00088X-MQ for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Dec 2008 19:04:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LAvW1-000805-Tr for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2008 19:04:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LAvW1-0007zf-43 for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2008 19:04:21 -0500 Original-Received: from [199.232.76.173] (port=39158 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LAvW0-0007za-Va for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2008 19:04:21 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:49786) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LAvW0-0007np-6H for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2008 19:04:20 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBC04IrN009611; Thu, 11 Dec 2008 16:04:18 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mBC003B8008355; Thu, 11 Dec 2008 16:00:03 -0800 X-Loop: don@donarmstrong.com Resent-From: Glenn Morris Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 12 Dec 2008 00:00:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1534 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1534-submit@emacsbugs.donarmstrong.com id=B1534.12290395796861 (code B ref 1534); Fri, 12 Dec 2008 00:00:03 +0000 X-Spam-Bayes: score:0.0000 Tokens: new, 27; hammy, 96; neutral, 66; spammy, 0. spammytokens: hammytokens:0.000-+--H*M:fsf, 0.000-+--H*UA:Emacs, 0.000-+--H*u:Emacs, 0.000-+--H*MI:fsf, 0.000-+--H*UA:Gnus Original-Received: (at 1534) by emacsbugs.donarmstrong.com; 11 Dec 2008 23:52:59 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBBNqulg006849 for <1534@emacsbugs.donarmstrong.com>; Thu, 11 Dec 2008 15:52:57 -0800 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LAvKM-0005LI-4i; Thu, 11 Dec 2008 18:52:18 -0500 X-Spook: dictionary industrial espionage bluebird MIT-LL Perl-RSA X-Ran: y43klQw^zfp&wwAE>P6s0&tJ?UK+XBkYA[GXt_CZ;rl+"@4w X-Hue: yellow X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 11 Dec 2008 19:04:21 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:23213 Archived-At: Derick Eddington wrote: > The documentation at "23.6.1 Font Lock Basics" and "23.6.5 Levels of > Font Lock" refers to level numbers starting at 1, but when I customize > the level for a specific mode (one I'm still developing) the number > given to Customize is 0-based not 1-based; i.e., my `font-lock-defaults' > `KEYWORDS' member is like `(level-1 level-2 level-3 level-4)' and, e.g., > to make Customize use level-3 I have to tell it the number 2. I don't really understand the problem. What exactly are you customizing, and how? In general, the actual Lisp expression used by Customize is not terribly important - use a tag instead to give a more human-readable set of choices (eg "minimum", "medium", "maximum" rather than 1, 2, 3).