unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* writing a minor mode
@ 2004-06-02 20:09 R. Sean Bowman
  2004-06-02 20:49 ` Marcelo Toledo
  0 siblings, 1 reply; 3+ messages in thread
From: R. Sean Bowman @ 2004-06-02 20:09 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread
* Re: writing a minor mode
@ 2004-06-03  1:33 Joe Corneli
  0 siblings, 0 replies; 3+ messages in thread
From: Joe Corneli @ 2004-06-03  1:33 UTC (permalink / raw)



   ,----[ 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.  

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-06-03  1:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-02 20:09 writing a minor mode R. Sean Bowman
2004-06-02 20:49 ` Marcelo Toledo
  -- strict thread matches above, loose matches on Subject: below --
2004-06-03  1:33 Joe Corneli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).