help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: writing a minor mode


From: Marcelo Toledo
Subject: Re: writing a minor mode
Date: Wed, 02 Jun 2004 17:49:48 -0300
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux)

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" <sean@rootnode.com> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]