From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alan Wehmann Newsgroups: gmane.emacs.help Subject: Re: shading after column x Date: 18 Dec 2003 22:56:19 -0600 Organization: Fermi National Accelerator Laboratory Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1071809989 22416 80.91.224.253 (19 Dec 2003 04:59:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 19 Dec 2003 04:59:49 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 19 05:59:46 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AXCjq-0007xw-00 for ; Fri, 19 Dec 2003 05:59:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AXDgp-0004qm-ML for geh-help-gnu-emacs@m.gmane.org; Fri, 19 Dec 2003 01:00:43 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!info1.fnal.gov!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: fsui03.fnal.gov Original-X-Trace: info4.fnal.gov 1071809713 13726 131.225.68.24 (19 Dec 2003 04:55:13 GMT) Original-X-Complaints-To: abuse@fnnews.fnal.gov Original-NNTP-Posting-Date: 19 Dec 2003 04:55:13 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Portable Code) Original-Xref: shelby.stanford.edu gnu.emacs.help:119509 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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 Xref: main.gmane.org gmane.emacs.help:15448 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15448 The following is from Toby Speight, posted 26 Jan 1999 in comp.emacs. It may be of interest. Kai has already mentioned vvb.el. There was also a post that mentioned wide-column.el. David> Is there a package available in either GNU or Xemacs which will David> help me know when I've "crossed the line". I do display the David> column number in my mode bar, but dont' always watch it. I David> need something like a vertical bar drawn at col 80 or other David> visual notification when I've entered text beyond col 80. I David> don't want to _not_ be able to type past 80 cols, just to know David> when I've done it. When I wanted to do this in Message mode, I used font-lock to help me. I added this match to the end of font-lock-keywords for the mode: (list (concat "^" (make-string 76 ?.) "\\(.+$\\)") '(1 warning-face t)) You'll want to change the 76 to 80, of course. And you might perhaps need to define/change the face, too. -- Alan Wehmann wehmann@fnal.gov