From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jeffrey Ratcliffe Newsgroups: gmane.emacs.help Subject: Checkerboard background colours Date: Mon, 22 Feb 2010 17:42:48 +0100 Message-ID: <20100222164021.GA1938@eeepc> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UHN/qo2QbUvPLonB" X-Trace: dough.gmane.org 1266869037 3752 80.91.229.12 (22 Feb 2010 20:03:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 22 Feb 2010 20:03:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 22 21:03:53 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 1NjeS5-0004UB-EI for geh-help-gnu-emacs@m.gmane.org; Mon, 22 Feb 2010 21:01:16 +0100 Original-Received: from localhost ([127.0.0.1]:59256 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NjeRl-0005vW-AT for geh-help-gnu-emacs@m.gmane.org; Mon, 22 Feb 2010 15:00:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NjbN6-0006MR-In for help-gnu-emacs@gnu.org; Mon, 22 Feb 2010 11:43:00 -0500 Original-Received: from [140.186.70.92] (port=58878 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NjbN5-0006MJ-3G for help-gnu-emacs@gnu.org; Mon, 22 Feb 2010 11:42:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NjbN4-0003rY-Aj for help-gnu-emacs@gnu.org; Mon, 22 Feb 2010 11:42:58 -0500 Original-Received: from mail-fx0-f222.google.com ([209.85.220.222]:56078) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NjbN4-0003rS-51 for help-gnu-emacs@gnu.org; Mon, 22 Feb 2010 11:42:58 -0500 Original-Received: by fxm22 with SMTP id 22so2722393fxm.26 for ; Mon, 22 Feb 2010 08:42:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mime-version:content-type:content-disposition:user-agent; bh=xFf+PGkSZYb+YV8qaB1XR/wjcYQD/PYY9ZA4O+Xiya0=; b=Zgr8h3S8XrMwYHLPawObbmlzj6J9sj5O/rhCnN5QqOypgF2PmzXEgpHJD47A4OzpS2 Ks2Nh3s5fK1dckRSRv5XvvpJ3DUO3A6hXGMsE5Vq6bpA47xjSzRnpD44EAP7CDq7hU1T AYCJEmE0xJPlz0xtMBGewat92ltRps7AOihNQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=vArOGx77arnKqV3dKFzdTChb2PgrAZdnSOTm17eKmiu2R7GP8FJ4wohjlqXLUD1/+a 92EpNyZburHuZnEC78JUTPUxrK2MeOFnjLcdUr4No6UgSLVu3CWv36AyRyMkpif7+wbf T3Cau8X/nfA14eb9ujEG2cZ4ra7FrtlGMDxa8= Original-Received: by 10.223.75.155 with SMTP id y27mr7071122faj.79.1266856976349; Mon, 22 Feb 2010 08:42:56 -0800 (PST) Original-Received: from eeepc ([92.116.131.233]) by mx.google.com with ESMTPS id z15sm5546493fkz.51.2010.02.22.08.42.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 22 Feb 2010 08:42:54 -0800 (PST) Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Mon, 22 Feb 2010 14:59:35 -0500 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:72029 Archived-At: --UHN/qo2QbUvPLonB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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. Regards Jeff --UHN/qo2QbUvPLonB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkuCtAgACgkQVDAgnE3XzJOI7gCgjxoirxknrRH+/GVr4x3Lgfj3 qHMAnjydf3WpLvNtBKWGWcqL9Nmoirpm =nzhv -----END PGP SIGNATURE----- --UHN/qo2QbUvPLonB--