From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: Checkerboard background colours Date: Mon, 22 Feb 2010 21:13:30 +0100 Message-ID: References: <20100222164021.GA1938@eeepc> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1266870215 8767 80.91.229.12 (22 Feb 2010 20:23:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 22 Feb 2010 20:23:35 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Jeffrey Ratcliffe Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 22 21:23:31 2010 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.69) (envelope-from ) id 1NjeoP-00067O-9K for geh-help-gnu-emacs@m.gmane.org; Mon, 22 Feb 2010 21:23:25 +0100 Original-Received: from localhost ([127.0.0.1]:53604 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Njefu-00079O-O7 for geh-help-gnu-emacs@m.gmane.org; Mon, 22 Feb 2010 15:14:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NjefB-0006nh-2o for help-gnu-emacs@gnu.org; Mon, 22 Feb 2010 15:13:53 -0500 Original-Received: from [140.186.70.92] (port=36154 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NjefA-0006mo-BR for help-gnu-emacs@gnu.org; Mon, 22 Feb 2010 15:13:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Njef9-00045J-I7 for help-gnu-emacs@gnu.org; Mon, 22 Feb 2010 15:13:52 -0500 Original-Received: from mail-fx0-f222.google.com ([209.85.220.222]:55592) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Njef9-000450-9f for help-gnu-emacs@gnu.org; Mon, 22 Feb 2010 15:13:51 -0500 Original-Received: by fxm22 with SMTP id 22so2954506fxm.26 for ; Mon, 22 Feb 2010 12:13:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=0M2d0a1W34D/tismEzJ/srRIcvT7zqfpaYAXm+VV6D8=; b=mWWVopyLfFE5GesgVpvAi29tAIHYJTpJykv+aX0jaRPOXPzHkI8SMTsgYrNXYE+bqa /EpQ7ilhRb2eH1a9so/8d/NYUwmXC5sEN7GIwjiZRHj0Fr4VdjAFDeUwhF86rtH/5ZUi 5zldtqOZULb6VPidlZzDrZZP8VChMi3k1oBbw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=XnFt9qPsquxGiEgaAzg5CfObqnQh8Ho6tRmBbnGx9oj6D8naCVirr72fmErHsOh97K nSaclrGsai9IlaiOmvUajeuJ6AZlxrNZvBUHnzhwSgpuNUu/aQdNr0VaP8DLeZQlNDpB KhrmsJsQBf3asCyuJi9Helnn02OYDBltgMy3g= Original-Received: by 10.239.185.84 with SMTP id b20mr1691756hbh.91.1266869630132; Mon, 22 Feb 2010 12:13:50 -0800 (PST) In-Reply-To: <20100222164021.GA1938@eeepc> X-detected-operating-system: by eggs.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:72031 Archived-At: On Mon, Feb 22, 2010 at 5:42 PM, Jeffrey Ratcliffe wrote: > I'm trying to write a major mode for a data language that uses fixed > field widths. In order to highlight the fields, I'd like to change the > background colour so that adjacent fields do not have the same > background colour, creating a checkerboard effect. > > How can I achieve this? > > Please cc me as I am not subscribed. See for example ocr-user.el in nXhtml.