From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Grid lines in background Date: Mon, 20 Jun 2011 11:27:10 -0700 Message-ID: References: <4DFF40BD.3010200@gmx.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1308594760 27488 80.91.229.12 (20 Jun 2011 18:32:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 20 Jun 2011 18:32:40 +0000 (UTC) To: "'William King'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 20 20:32:36 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QYjH1-0006gH-3S for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Jun 2011 20:32:35 +0200 Original-Received: from localhost ([::1]:49583 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QYjGz-0006ia-HG for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Jun 2011 14:32:33 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:60442) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QYjC0-0005tj-FF for help-gnu-emacs@gnu.org; Mon, 20 Jun 2011 14:27:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QYjBw-0001RT-SO for help-gnu-emacs@gnu.org; Mon, 20 Jun 2011 14:27:24 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]:46831) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QYjBw-0001RC-4h for help-gnu-emacs@gnu.org; Mon, 20 Jun 2011 14:27:20 -0400 Original-Received: from rtcsinet22.oracle.com (rtcsinet22.oracle.com [66.248.204.30]) by rcsinet10.oracle.com (Switch-3.4.4/Switch-3.4.2) with ESMTP id p5KIRFja010033 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 20 Jun 2011 18:27:17 GMT Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by rtcsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p5KIREZk017374 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 20 Jun 2011 18:27:14 GMT Original-Received: from abhmt104.oracle.com (abhmt104.oracle.com [141.146.116.56]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p5KIR8vP024986; Mon, 20 Jun 2011 13:27:08 -0500 Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 20 Jun 2011 11:27:08 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcwvdYlpssVB5082S266HuRcxOXi0wAAT6IA In-Reply-To: <4DFF40BD.3010200@gmx.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Source-IP: rtcsinet22.oracle.com [66.248.204.30] X-CT-RefId: str=0001.0A090204.4DFF9105.0179:SCFSTAT5015188, ss=1, re=-4.000, fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 148.87.113.121 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81374 Archived-At: > have some kind of grid lines in the background of all windows, > for example for the shading of the background to alternate > every 10 columns, so that I can tell reasonably easily at a > glance that a particular character is in column x. > > I can't work out a way of doing this. "column-number-mode" does not > provide what I need. I have looked at vline.el, but this > seems only to highlight the column that the cursor is in. > > I would really appreciate any advice about how I might approach this > problem. Dunno whether this helps, but you might want to take a look at Alp Aker's code for column highlighting: http://www.emacswiki.org/emacs/FillColumnIndicator I don't know whether you can use it to do what you want, but perhaps take a look. There are other column-highlighting libraries on the wiki as well, but perhaps you have already tried them. Here is are two entry points, which mention some of them: http://www.emacswiki.org/emacs/HighlightCurrentColumn http://www.emacswiki.org/emacs/EightyColumnRule