From: Alan Wehmann <wehmann@fnal.gov>
Subject: Re: shading after column x
Date: 18 Dec 2003 22:56:19 -0600 [thread overview]
Message-ID: <v0xllp9iex8.fsf@fsui03.fnal.gov> (raw)
In-Reply-To: mailman.567.1069779698.399.help-gnu-emacs@gnu.org
The following is from Toby Speight, posted 26 Jan 1999 in comp.emacs.
It may be of interest.
Kai has already mentioned vvb.el. There was also a post that
mentioned wide-column.el.
David> Is there a package available in either GNU or Xemacs which will
David> help me know when I've "crossed the line". I do display the
David> column number in my mode bar, but dont' always watch it. I
David> need something like a vertical bar drawn at col 80 or other
David> visual notification when I've entered text beyond col 80. I
David> don't want to _not_ be able to type past 80 cols, just to know
David> when I've done it.
When I wanted to do this in Message mode, I used font-lock to help
me. I added this match to the end of font-lock-keywords for the mode:
(list (concat "^" (make-string 76 ?.) "\\(.+$\\)") '(1 warning-face
t))
You'll want to change the 76 to 80, of course. And you might perhaps
need to define/change the face, too.
--
Alan Wehmann
wehmann@fnal.gov
next prev parent reply other threads:[~2003-12-19 4:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.567.1069779698.399.help-gnu-emacs@gnu.org>
2003-11-25 16:46 ` shading after column x Dan Anderson
2003-11-25 17:48 ` Arthur Davis
2003-12-01 21:31 ` Arthur Davis
[not found] ` <mailman.855.1070331266.399.help-gnu-emacs@gnu.org>
2003-12-02 2:23 ` don provan
2003-12-02 2:24 ` Johan Bockgård
2003-12-17 20:26 ` Kai Grossjohann
2003-12-19 4:56 ` Alan Wehmann [this message]
2003-11-25 15:59 Arthur Davis
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=v0xllp9iex8.fsf@fsui03.fnal.gov \
--to=wehmann@fnal.gov \
/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.