From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vladimir Sedach Newsgroups: gmane.emacs.devel Subject: Re: Changing line widths in the Emacs source code Date: Sun, 13 Sep 2020 11:38:40 -0700 Message-ID: <87d02pmsi7.fsf@t510.orion.oneofus.la> References: <87tuw1x016.fsf@gnus.org> <20200913142210.GA4285@ACM> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6133"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.3.10; emacs 26.2 Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Sep 13 20:43:25 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kHWyC-0001UX-Mg for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Sep 2020 20:43:24 +0200 Original-Received: from localhost ([::1]:37462 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHWyB-0005Nc-Q0 for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Sep 2020 14:43:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53600) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHWxY-0004x9-DU for emacs-devel@gnu.org; Sun, 13 Sep 2020 14:42:44 -0400 Original-Received: from forward100p.mail.yandex.net ([2a02:6b8:0:1472:2741:0:8b7:100]:50357) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHWxR-00032J-Dh for emacs-devel@gnu.org; Sun, 13 Sep 2020 14:42:44 -0400 Original-Received: from forward100q.mail.yandex.net (forward100q.mail.yandex.net [IPv6:2a02:6b8:c0e:4b:0:640:4012:bb97]) by forward100p.mail.yandex.net (Yandex) with ESMTP id E55D25980684; Sun, 13 Sep 2020 21:42:30 +0300 (MSK) Original-Received: from mxback3q.mail.yandex.net (mxback3q.mail.yandex.net [IPv6:2a02:6b8:c0e:39:0:640:4545:437c]) by forward100q.mail.yandex.net (Yandex) with ESMTP id E08337080008; Sun, 13 Sep 2020 21:42:30 +0300 (MSK) Original-Received: from vla1-1bc5b51c612f.qloud-c.yandex.net (vla1-1bc5b51c612f.qloud-c.yandex.net [2a02:6b8:c0d:89c:0:640:1bc5:b51c]) by mxback3q.mail.yandex.net (mxback/Yandex) with ESMTP id YWIt0BBthe-gUdC9jwa; Sun, 13 Sep 2020 21:42:30 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oneofus.la; s=mail; t=1600022550; bh=fEdLfJcIi6FSpooB611hYA6FAsMmRk0YBg+EmVbTI4c=; h=In-reply-to:Subject:Cc:To:From:Date:References:Message-ID; b=SaGu2R+Y033oMVzjSrePQSK6lJXHjtdd+gp6iJLepwz5PiiH1lpp3beI6xB1T6/bY KR6Yuc4bQrKpsXsLl3crum3jtbGiuRs2YNidtyeHWNP0fTBehZVLDJXWhYh9fDLrs/ urhA+3dOjussOYNtebIi+Dpmq8OpupYnyLr/J6Oo= Authentication-Results: mxback3q.mail.yandex.net; dkim=pass header.i=@oneofus.la Original-Received: by vla1-1bc5b51c612f.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id n8PB4CQlsL-gTJWOZXr; Sun, 13 Sep 2020 21:42:29 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) In-reply-to: <20200913142210.GA4285@ACM> Received-SPF: pass client-ip=2a02:6b8:0:1472:2741:0:8b7:100; envelope-from=vas@oneofus.la; helo=forward100p.mail.yandex.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/13 14:42:31 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:255557 Archived-At: Alan Mackenzie writes: > It remains a good choice, now. Wide text is more difficult to read. > For that reason, newspaper columns (remember them?) were typically much > less than 80 columns wide. The optimum line length for legibility has been found to be 55-60 characters over hundreds of years of book publishing experience. 90 characters per line is considered the absolute maximum, and you rarely see it. "Today's wide screens" is as bad of a reason for increasing line length in text files as "today's wide paper" would be an excuse to increase line length in books. > My Linux TTY screen is 240 characters wide and 67 lines high. With that > I can get Follow Mode three windows wide, giving me a total display of > 195 contiguous lines of a single buffer. There are only occasional > lines which need to be wrapped. This is very helpful, particularly > whilst debugging. I did a lot of testing in 2017, and found that even the lowest resolution 16:9 laptop displays could show 3 columns of 70 character wide text side-by-side, which works really well with Emacs and particularly with EXWM. I switched from 120 character line width for code to 70 columns everywhere. The main motivation was that this allows more information to be displayed on the screen, and easier buffer/EXWM window navigation. What I found is that this actually improved code legibility, and had the unexpected side-effect of making it easier to include code in e-mails, documentation, and blog posts, improving communication. If anything, consider formatting your code to less than 80 characters per line. -- Vladimir Sedach Software engineering services in Los Angeles https://oneofus.la