From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Arthur Davis Newsgroups: gmane.emacs.help Subject: Re: does emacs wrap lines that are exactly 80 characters long?? Date: Thu, 30 Oct 2003 12:33:51 -0500 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <16289.19327.722828.794893@red.torrentnet.com> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1067535533 19868 80.91.224.253 (30 Oct 2003 17:38:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Oct 2003 17:38:53 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 30 18:38:50 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AFGkv-0003kA-00 for ; Thu, 30 Oct 2003 18:38:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AFGjA-0005VJ-E7 for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Oct 2003 12:36:56 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AFGgo-0004a1-TU for help-gnu-emacs@gnu.org; Thu, 30 Oct 2003 12:34:30 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AFGgG-0004Mq-Fu for help-gnu-emacs@gnu.org; Thu, 30 Oct 2003 12:34:27 -0500 Original-Received: from [198.78.51.110] (helo=emerson.torrentnet.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AFGgF-0004M7-OT for help-gnu-emacs@gnu.org; Thu, 30 Oct 2003 12:33:55 -0500 Original-Received: from imperial.torrentnet.com (imperial.torrentnet.com [198.78.51.109]) by emerson.torrentnet.com (8.11.6p2/8.11.2) with ESMTP id h9UHXrH49739; Thu, 30 Oct 2003 12:33:53 -0500 (EST) Original-Received: from castillo.torrentnet.com (castillo.torrentnet.com [4.18.161.34]) by imperial.torrentnet.com (8.11.6p2/8.11.2) with ESMTP id h9UHXrp78619; Thu, 30 Oct 2003 12:33:53 -0500 (EST) Original-Received: from red.torrentnet.com (red.torrentnet.com [4.18.161.17]) by castillo.torrentnet.com (8.9.3/8.9.3) with ESMTP id MAA21196; Thu, 30 Oct 2003 12:33:52 -0500 (EST) Original-Received: (from adavis@localhost) by red.torrentnet.com (8.11.6/8.11.6) id h9UHXp102091; Thu, 30 Oct 2003 12:33:51 -0500 Original-To: seberino@spawar.navy.mil (Christian Seberino) Original-Newsgroups: gnu.emacs.help In-Reply-To: X-Mailer: VM 7.17 under Emacs 21.2.1 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:13653 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13653 Even though the extra column exists to give the long line wrap indication (which is an improvement, I agree), emacs still displays an additional, blank line below the 80 char line. This has always been an irritation to me that I have just learned to ignore. However, is there something that I can set to cause emacs to not display a new line until it actually contains characters from a line wrap? Showing the cursor on the first column of the new line is fine, but if I pressed return at the end of an 80 character line, I would want the cursor to stay put. But regarding the quote from the original post referring to long lines in program code, I couldn't agree more. It makes code *very* unreadable when lines wrap 4 and 5 (or more) times in the window. A few characters wrapped to the next line are occasionally tolerable, but I still feel that there is rarely a time when you are unable to keep lines within the 80 character limit, assuming you don't use 8-character tab widths. Arthur Christian Seberino writes: > So if I understand you correctly, 80 char long lines WERE a problem > in 80 char long windows PRIOR TO VERSION 21 because of the slash at the end?? > > But, in current version of Emacs and beyond this is not a problem > anymore and I don't need to have <= 79 char wide l lines?? > > Chris > > Barry Margolin wrote in message news:... > > In article , > > Christian Seberino 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. > _______________________________________________ > Help-gnu-emacs mailing list > Help-gnu-emacs@gnu.org > http://mail.gnu.org/mailman/listinfo/help-gnu-emacs