From: Marcelo Toledo <marcelo@marcelotoledo.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: writing a minor mode
Date: Wed, 02 Jun 2004 17:49:48 -0300 [thread overview]
Message-ID: <87brk1k7mb.fsf@kali.intranet> (raw)
In-Reply-To: <20040602150517.A96730-100000@exigence.rootnode.com> (R. Sean Bowman's message of "Wed, 2 Jun 2004 15:09:47 -0500 (CDT)")
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
next prev parent reply other threads:[~2004-06-02 20:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-02 20:09 writing a minor mode R. Sean Bowman
2004-06-02 20:49 ` Marcelo Toledo [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-06-03 1:33 Joe Corneli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87brk1k7mb.fsf@kali.intranet \
--to=marcelo@marcelotoledo.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.