all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Derick Eddington <derick.eddington@gmail.com>
To: bug-gnu-emacs@gnu.org
Subject: bug#1534: Font lock decoration levels mismatch?
Date: Wed, 10 Dec 2008 11:51:33 -0800	[thread overview]
Message-ID: <1228938693.24919.50.camel@eep> (raw)

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
----------------------------------------------------------------








             reply	other threads:[~2008-12-10 19:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fcr64c7lio.fsf@fencepost.gnu.org>
2008-12-10 19:51 ` Derick Eddington [this message]
2008-12-11 23:52   ` bug#1534: Font lock decoration levels mismatch? Glenn Morris
2008-12-12 18:48     ` Derick Eddington
2008-12-12 20:34       ` Glenn Morris
2008-12-13  4:25   ` bug#1534: marked as done (Font lock decoration levels mismatch?) Emacs bug Tracking System

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1228938693.24919.50.camel@eep \
    --to=derick.eddington@gmail.com \
    --cc=1534@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.