From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don@donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#1534: marked as done (Font lock decoration levels mismatch?) Date: Fri, 12 Dec 2008 20:25:05 -0800 Message-ID: References: <1228938693.24919.50.camel@eep> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1229142305-32645-0" X-Trace: ger.gmane.org 1229143507 14767 80.91.229.12 (13 Dec 2008 04:45:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Dec 2008 04:45:07 +0000 (UTC) To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 13 05:46:10 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 1LBMOH-0007Yx-MA for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Dec 2008 05:46:10 +0100 Original-Received: from localhost ([127.0.0.1]:35620 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LBMN6-0004sc-4n for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Dec 2008 23:44:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LBMMb-0004go-2S for bug-gnu-emacs@gnu.org; Fri, 12 Dec 2008 23:44:25 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LBMMa-0004gY-KE for bug-gnu-emacs@gnu.org; Fri, 12 Dec 2008 23:44:24 -0500 Original-Received: from [199.232.76.173] (port=51249 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LBMMa-0004gJ-3A for bug-gnu-emacs@gnu.org; Fri, 12 Dec 2008 23:44:24 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:57944) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LBMMX-0002sc-5K; Fri, 12 Dec 2008 23:44:21 -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 mBD4iIDl005358; Fri, 12 Dec 2008 20:44:19 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mBD4P5O1032761; Fri, 12 Dec 2008 20:25:05 -0800 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 1534 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:23262 Archived-At: This is a multi-part message in MIME format... ------------=_1229142305-32645-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Fri, 12 Dec 2008 23:21:35 -0500 with message-id and subject line Re: bug#1534: Font lock decoration levels mismatch? has caused the Emacs bug report #1534, regarding Font lock decoration levels mismatch? to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact don@donarmstrong.com immediately.) --=20 1534: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D1534 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1229142305-32645-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.0000 Tokens: new, 53; hammy, 110; neutral, 53; spammy, 5. spammytokens:0.997-1--decoration, 0.987-1--indexing, 0.987-1--basics, 0.987-1--Basics, 0.857-+--UD:com hammytokens:0.000-+--emacs, 0.000-+--Emacs, 0.000-+--gnu, 0.000-+--GNU, 0.000-+--HDKIM-Signature:sk:content X-Spam-Status: No, score=-7.0 required=4.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 10 Dec 2008 19:51:45 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBAJpf7v020247 for ; Wed, 10 Dec 2008 11:51:42 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LAV5x-0004j3-Ab for bug-gnu-emacs@gnu.org; Wed, 10 Dec 2008 14:51:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LAV5w-0004ir-Ou for bug-gnu-emacs@gnu.org; Wed, 10 Dec 2008 14:51:40 -0500 Received: from [199.232.76.173] (port=45606 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LAV5w-0004io-Je for bug-gnu-emacs@gnu.org; Wed, 10 Dec 2008 14:51:40 -0500 Received: from yx-out-1718.google.com ([74.125.44.152]:29717) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LAV5w-0002Hj-7W for bug-gnu-emacs@gnu.org; Wed, 10 Dec 2008 14:51:40 -0500 Received: by yx-out-1718.google.com with SMTP id 34so317297yxf.66 for ; Wed, 10 Dec 2008 11:51:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=X8KTrq9Nbcnh1PgxvPTWwQQVftAk8OWJuOd2ESF3ZP4=; b=XNvba8vo/aaS3rqdEq/Ag/5D/xQ+s0S26RWqJGo7nDa9I7LHZTPcSh/TQoMqgEdowR P3Tgcf9bhGRtJRTn5QfvqSRaKm06Z8pMa1jeRO3wUkIZA3ZwU5M7yrCOMFE9h5FQjszG xJTLVafjl+R+eELghDPkiBx5c7hT0oFOhYhhI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=r58/NGgR71fZMKWaHTLkZDXFf8bZD/dcRXfS4F+D3g2nzyTGPW4Uq/YqAEup028Vie 9TPohzFTy4nFFp83f73H60kYsAOF/kMAXQcaYckCWjyT+R39KhjgLAnNSikLjiHJMTsi +oZBfrd1dML2KH92+8lBcE7+RkxYlVgzkdHfo= Received: by 10.143.160.1 with SMTP id m1mr371342wfo.2.1228938697909; Wed, 10 Dec 2008 11:51:37 -0800 (PST) Received: from ?192.168.1.2? (pool-173-51-86-88.lsanca.fios.verizon.net [173.51.86.88]) by mx.google.com with ESMTPS id 24sm1075475wff.17.2008.12.10.11.51.35 (version=SSLv3 cipher=RC4-MD5); Wed, 10 Dec 2008 11:51:36 -0800 (PST) Subject: Font lock decoration levels mismatch? From: Derick Eddington To: bug-gnu-emacs@gnu.org Content-Type: text/plain Date: Wed, 10 Dec 2008 11:51:33 -0800 Message-Id: <1228938693.24919.50.camel@eep> Mime-Version: 1.0 X-Mailer: Evolution 2.24.2 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) I'm using: GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.14.3) of 2008-10-13 on rothera, modified by Debian 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. Should Customize do 1-based indexing instead so it corresponds to the documentation, or the documentation use 0-based? -- : Derick ---------------------------------------------------------------- ------------=_1229142305-32645-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.0000 Tokens: new, 19; hammy, 62; neutral, 47; 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 X-Spam-Status: No, score=-12.4 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1534-done) by emacsbugs.donarmstrong.com; 13 Dec 2008 04:22:18 +0000 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 mBD4MFUM032531 for <1534-done@emacsbugs.donarmstrong.com>; Fri, 12 Dec 2008 20:22:16 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LBM0V-0002JE-Gl; Fri, 12 Dec 2008 23:21:35 -0500 From: Glenn Morris To: 1534-done@emacsbugs.donarmstrong.com Subject: Re: bug#1534: Font lock decoration levels mismatch? References: <1228938693.24919.50.camel@eep> <1229107734.29413.18.camel@eep> <4xoczhuo86.fsf@fencepost.gnu.org> X-Spook: quarter BCCI Vickie Weaver encryption ASPIC Security X-Ran: Xg/tZ"p44q&x+1Z]U[LbiFnlK0yXL^a;`{H4Cl6792P8S%2N6"*no_6g>acjnN/tF#,{N$ X-Hue: magenta X-Debbugs-No-Ack: yes X-Attribution: GM Date: Fri, 12 Dec 2008 23:21:35 -0500 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I have clarified the documentation. Glenn Morris wrote: > There should be a separate element at the start giving the default > highlighting for the mode. BTW, it's not really the "default" any more. It's the level used when font-lock-maximum-decoration has a nil value. Nowaways it is t by default. ------------=_1229142305-32645-0--