From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Lee Newsgroups: gmane.emacs.help Subject: Re: best to have max width of 79 or 80 in source code? Date: Sun, 30 Nov 2008 12:50:40 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <30ea20ec-ffcb-4ea1-a7d8-14e1caed696f@r36g2000prf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1228081314 17229 80.91.229.12 (30 Nov 2008 21:41:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 30 Nov 2008 21:41:54 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 30 22:42:56 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L6u40-00044w-56 for geh-help-gnu-emacs@m.gmane.org; Sun, 30 Nov 2008 22:42:48 +0100 Original-Received: from localhost ([127.0.0.1]:43261 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6u2q-0001Sp-4F for geh-help-gnu-emacs@m.gmane.org; Sun, 30 Nov 2008 16:41:36 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!r37g2000prr.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 36 Original-NNTP-Posting-Host: 24.6.185.159 Original-X-Trace: posting.google.com 1228078240 11830 127.0.0.1 (30 Nov 2008 20:50:40 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 30 Nov 2008 20:50:40 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r37g2000prr.googlegroups.com; posting-host=24.6.185.159; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_4_11; en) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:164937 X-Mailman-Approved-At: Sun, 30 Nov 2008 16:41:18 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:60266 Archived-At: On Nov 30, 11:10 am, "seber...@spawar.navy.mil" wrote: > Many try to keep their source code to a max width of around 80. > > Someone recommended 79 for some reason but I can't remember why. > > Is it because you need to allow another column for newline? > > (I think there is a good reason for 79 but for the life of me I can't > remember > what it is.) > > Chris in my opinion, hard wrappnig lines or in general any manual code formatting is a major damage in computing, to the degree that influenced bad tools and language design which forces humans to think and do what dumb machines can easily automate. The line wrapping convention largely spurred the perpetual time wasted on arguing about code formatting and tools about it. See: =E2=80=A2 The Harm of Hard-wrapping Lines http://xahlee.org/UnixResource_dir/writ/hard-wrap.html =E2=80=A2 A Simple Lisp Code Formatter http://xahlee.org/emacs/lisp_formatter.html =E2=80=A2 A Text Editor Feature: Extend Selection By Semantic Unit http://xahlee.org/emacs/syntax_tree_walk.html Xah =E2=88=91 http://xahlee.org/ =E2=98=84