From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "R. Sean Bowman" Newsgroups: gmane.emacs.help Subject: writing a minor mode Date: Wed, 2 Jun 2004 15:09:47 -0500 (CDT) Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <20040602150517.A96730-100000@exigence.rootnode.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1086207017 24264 80.91.224.253 (2 Jun 2004 20:10:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 2 Jun 2004 20:10:17 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 02 22:10:07 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BVc3q-0006G5-00 for ; Wed, 02 Jun 2004 22:10:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BVc49-0006wI-GD for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Jun 2004 16:10:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BVc43-0006w1-Mn for help-gnu-emacs@gnu.org; Wed, 02 Jun 2004 16:10:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BVc42-0006vi-KD for help-gnu-emacs@gnu.org; Wed, 02 Jun 2004 16:10:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BVc42-0006vf-HQ for help-gnu-emacs@gnu.org; Wed, 02 Jun 2004 16:10:18 -0400 Original-Received: from [204.117.117.219] (helo=exigence.opensoftwareservices.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BVc3e-0003bB-W9 for help-gnu-emacs@gnu.org; Wed, 02 Jun 2004 16:09:55 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by exigence.opensoftwareservices.com (Postfix) with ESMTP id 83B3EA686 for ; Wed, 2 Jun 2004 15:09:48 -0500 (CDT) Original-Received: by exigence.opensoftwareservices.com (Postfix, from userid 1006) id EFB91A683; Wed, 2 Jun 2004 15:09:47 -0500 (CDT) Original-Received: from localhost (localhost [127.0.0.1]) by exigence.opensoftwareservices.com (Postfix) with ESMTP id E89ABA67B for ; Wed, 2 Jun 2004 15:09:47 -0500 (CDT) X-X-Sender: rsbowman@exigence.rootnode.com Original-To: help-gnu-emacs@gnu.org X-Virus-Scanned: by AMaViS snapshot-20020531 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 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:18883 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18883 hello, I use emacs to edit Python code, and I hate lines longer than 80 characters. I'd like to write a minor mode that draws a vertical line or darkens the character at the 80th spot, but I'm confused about how to do that. Should I use a bunch of overlays? Is there some better way? Any help would be greatly appreciated. Sean