From: Barry Margolin <barry.margolin@level3.com>
Subject: Re: does emacs wrap lines that are exactly 80 characters long??
Date: Wed, 29 Oct 2003 20:02:19 GMT [thread overview]
Message-ID: <f1Vnb.292$lK3.9@news.level3.com> (raw)
In-Reply-To: bf23f78f.0310291130.16f9c787@posting.google.com
In article <bf23f78f.0310291130.16f9c787@posting.google.com>,
Christian Seberino <seberino@spawar.navy.mil> wrote:
>I don't know what this means but Python style guide says to set Emacs to 79
>character long lines....
>
> There are still many devices around that are limited to 80
> character lines; plus, limiting windows to 80 characters makes it
> possible to have several windows side-by-side. The default
> wrapping on such devices looks ugly. Therefore, please limit all
> lines to a maximum of 79 characters (Emacs wraps lines that are
> exactly 80 characters long). For flowing long blocks of text
> (docstrings or comments), limiting the length to 72 characters is
> recommended.
>
>I don't seem to have a problem with 80 char long lines. Maybe I'm
>missing something
>here??
What size is your window? The comment is probably referring to Emacs being
used on a traditional 24x80 terminal. With a window system, you can change
the window size, and the wrapping will be appropriate to that size.
Also, prior to Emacs 21, Emacs wasted a column for the "\" character that's
used to indicate that a line has wrapped (Emacs 21 replaced this with a
marker closer to the window border). So a line that's exactly the window's
width would be wrapped -- the first n-1 characters would be on the line,
then there would be a "\", and then the next line would contain the nth
character.
--
Barry Margolin, barry.margolin@level3.com
Level(3), Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
next prev parent reply other threads:[~2003-10-29 20:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-29 19:30 does emacs wrap lines that are exactly 80 characters long?? Christian Seberino
2003-10-29 20:02 ` Barry Margolin [this message]
2003-10-30 1:51 ` Christian Seberino
2003-10-30 17:02 ` Stefan Monnier
2003-10-30 17:33 ` 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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='f1Vnb.292$lK3.9@news.level3.com' \
--to=barry.margolin@level3.com \
/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.
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).