From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marcelo Toledo Newsgroups: gmane.emacs.help Subject: Re: writing a minor mode Date: Wed, 02 Jun 2004 17:49:48 -0300 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87brk1k7mb.fsf@kali.intranet> References: <20040602150517.A96730-100000@exigence.rootnode.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1086209608 31771 80.91.224.253 (2 Jun 2004 20:53:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 2 Jun 2004 20:53:28 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 02 22:53: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 1BVcjc-0001ZV-00 for ; Wed, 02 Jun 2004 22:53:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BVcju-00041Q-Us for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Jun 2004 16:53:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BVcjl-00040B-87 for help-gnu-emacs@gnu.org; Wed, 02 Jun 2004 16:53:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BVcji-0003zQ-5P for help-gnu-emacs@gnu.org; Wed, 02 Jun 2004 16:53:24 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BVcji-0003zN-3K for help-gnu-emacs@gnu.org; Wed, 02 Jun 2004 16:53:22 -0400 Original-Received: from [200.213.197.161] (helo=hm61.locaweb.com.br) by monty-python.gnu.org with smtp (Exim 4.34) id 1BVcj6-0007fh-W2 for help-gnu-emacs@gnu.org; Wed, 02 Jun 2004 16:52:59 -0400 Original-Received: (qmail 4536 invoked from network); 2 Jun 2004 20:52:36 -0000 Original-Received: from hm10.locaweb.com.br (200.246.179.88) by hm61.locaweb.com.br with QMTP; 2 Jun 2004 20:52:36 -0000 Original-Received: (qmail 3359 invoked from network); 2 Jun 2004 20:52:39 -0000 Original-Received: from unknown (HELO kali.intranet.marcelotoledo.org) (marcelo@marcelotoledo.org@200.164.22.35) by hm10.locaweb.com.br with SMTP; 2 Jun 2004 20:52:39 -0000 Original-To: "R. Sean Bowman" Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUREBKVenaCZF94VlBp TEhXPzzH0uJJMS+5w9gzIiKEqtMzAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEgAACxIB0t1+/AAA AAd0SU1FB9MGCwAYJycum7IAAAH+SURBVHjavVO5bttAECUCGMGWOwICtTtL5Si1s4ThLuBRuEwk gfEPCCptwQHBUh3LRWiC2L/NLGNHqyNtCJDFPL735kyS//mIf8Z94q4BToirJDe9FxThJoYX4oqD F975Sxc/Nq33/vx/kQzr0lZVfUHxa4Na26o+A8TPghCRys0ZZdgYRECylTsDVoRKgaasPVUaC6OU VKz14E5KGRiQUuq6aWMtEQCOQ72mVsQmbqjKfC6BU749YYhmbNashWmZPbqvEcPniBynuirbIYu0 RtRkkLCydP8rjxgvtMk1EaDRVa8jk5esYiDj8jF7AhcBlsDmtpiAiPE4EBoys5xrsc/pEfjSk0a9 BOIqF/3iCNCzQTlTklOWdv/pCHyz3CoA0AykT3dHYH/LrQKjtJGg48a/mwCUQAhpEwE3C84HlZyR AV3Hg6KcDTgnWPJM4r7vC+Bcu0MA1jEgeim57aEQvToZ+w0bsAmPXRdtPPX3y8ldKm3pgSf3F3N5 KFsB75a5c7wF7u04egW8QBwnzHjx3ygiGZUKnUJjIPXJtKhMY64g/AMg6Kr+cYBXCydW3GCWCp8y nXeHcHguHN8+rDuGzCDV3bybnINaH1QgLCqg6rouxFkocaPiQwhxNvq8YyAkxqfpfNh3fuZM+bjb 7kJmju/Yie+v/x+k/LDddr8BShKMrI4evB8AAAAASUVORK5CYII= In-Reply-To: <20040602150517.A96730-100000@exigence.rootnode.com> (R. Sean Bowman's message of "Wed, 2 Jun 2004 15:09:47 -0500 (CDT)") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) 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:18884 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18884 Isn't better just to use: ,----[ C-h f auto-fill-mode RET ] | auto-fill-mode is an interactive compiled Lisp function in `simple'. | (auto-fill-mode &optional ARG) | | Toggle Auto Fill mode. | With arg, turn Auto Fill mode on if and only if arg is positive. | In Auto Fill mode, inserting a space at a column beyond | `current-fill-column' | automatically breaks the line at a previous space. | | The value of `normal-auto-fill-function'specifies the function to use | for àuto-fill-function'when turning Auto Fill mode on. `---- "R. Sean Bowman" writes: > 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 > > > > _______________________________________________ > Help-gnu-emacs mailing list > Help-gnu-emacs@gnu.org > http://lists.gnu.org/mailman/listinfo/help-gnu-emacs > > -- Marcelo Toledo marcelo@marcelotoledo.org http://www.marcelotoledo.org Mobile: 55 71 9141-7181