all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: lawrence mitchell <wence@gmx.li>
Subject: Re: any Emacs features to help keep code/comments under 80 columns width?
Date: Thu, 28 Nov 2002 23:48:41 +0000	[thread overview]
Message-ID: <usmxlfe7a.fsf@ID-97657.usr.dfncis.de> (raw)
In-Reply-To: mailman.1038525802.11759.help-gnu-emacs@gnu.org

seberino@spawar.navy.mil wrote:

> I often write comments and code and look at modeline's Column# display
> to verify I did not go beyond the 80th column when I type.

> Are there any goodies in Emacs to help me accomplish this???

> Maybe....

> 1. Emacs flashes the screen when I reach column 80

> 2. Emacs automatically adds a hard return and moves me to next line
>    when I reach column 80.

You could use `auto-fill-mode'[1] which automatically wraps text
once it reaches a certain column (specified by the variable
`fill-column').  Alternately, if you merely want a visual
indication of whether you've typed beyond a certain column, take
a look at vvb-mode <URL:
http://www.geocities.com/gchen275/xemacs/>.  If you're using it
with Emacs (as opposed to XEmacs), you'll have to
(require 'lucid) first.

[1]  Enabled by typing M-x auto-fill-mode RET

-- 
lawrence mitchell <wence@gmx.li>

       reply	other threads:[~2002-11-28 23:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1038525802.11759.help-gnu-emacs@gnu.org>
2002-11-28 23:48 ` lawrence mitchell [this message]
2002-11-29 12:32 ` any Emacs features to help keep code/comments under 80 columns width? Phillip Lord
2002-12-02 15:03 ` kgold
2002-12-04 14:38 ` Gareth Rees
     [not found] <20021202173058.A3985@spawar.navy.mil>
2002-12-03 21:09 ` ken
     [not found] <mailman.1038620491.29401.help-gnu-emacs@gnu.org>
2002-11-30 17:19 ` Kai Großjohann
2002-11-30 23:26   ` ken
2002-12-01 13:17     ` Kai Großjohann
2002-11-28 23:22 seberino
2002-11-30  1:40 ` ken

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=usmxlfe7a.fsf@ID-97657.usr.dfncis.de \
    --to=wence@gmx.li \
    /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.