From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Joe Corneli Newsgroups: gmane.emacs.help Subject: Re: writing a minor mode Date: Wed, 02 Jun 2004 20:33:00 -0500 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1086226405 32189 80.91.224.253 (3 Jun 2004 01:33:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 3 Jun 2004 01:33:25 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 03 03:33:16 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 1BVh6a-0002P9-00 for ; Thu, 03 Jun 2004 03:33:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BVh6t-0005DN-NZ for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Jun 2004 21:33:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BVh6n-0005D8-97 for help-gnu-emacs@gnu.org; Wed, 02 Jun 2004 21:33:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BVh6l-0005C8-Ps for help-gnu-emacs@gnu.org; Wed, 02 Jun 2004 21:33:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BVh6l-0005Bt-KW for help-gnu-emacs@gnu.org; Wed, 02 Jun 2004 21:33:27 -0400 Original-Received: from [146.6.139.124] (helo=dell3.ma.utexas.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BVh6P-0005RT-26 for help-gnu-emacs@gnu.org; Wed, 02 Jun 2004 21:33:05 -0400 Original-Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i531X0525103; Wed, 2 Jun 2004 20:33:01 -0500 Original-Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1BVh6K-0003lM-00; Wed, 02 Jun 2004 20:33:00 -0500 Original-To: help-gnu-emacs@gnu.org X-all-your-base-are-belong-to-us: You are on the way to destruction. 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:18887 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18887 ,----[ C-h f auto-fill-mode RET ] That isn't a mode I'd prefer to use for writing code. I think highlight-beyond-fill-column.el from the Emacs Lisp List is more like what the OP had in mind. YMMV (I couldn't get it to work.) Look around the net for other things that do the same thing. For help with writing minor modes, read the elisp manual.