From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: David Koppelman Newsgroups: gmane.emacs.devel Subject: Re: Changing line widths in the Emacs source code Date: Mon, 14 Sep 2020 14:25:58 -0500 Message-ID: References: <87tuw1x016.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14620"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Sep 14 21:27:24 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 1kHu8J-0003ft-Dk for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Sep 2020 21:27:23 +0200 Original-Received: from localhost ([::1]:46180 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHu8I-0003h2-GO for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Sep 2020 15:27:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46626) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHu75-0002hL-GO for emacs-devel@gnu.org; Mon, 14 Sep 2020 15:26:08 -0400 Original-Received: from relaymail002.lsu.edu ([130.39.6.157]:48860 helo=relay.lsu.edu) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHu6y-0005U4-MM for emacs-devel@gnu.org; Mon, 14 Sep 2020 15:26:06 -0400 Original-Received: from cyc.ece.lsu.edu (cyc.ece.lsu.edu [96.125.115.182]) by relay.lsu.edu (Postfix) with ESMTPS id 5259C219BD3C for ; Mon, 14 Sep 2020 14:25:58 -0500 (CDT) In-Reply-To: <87tuw1x016.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 13 Sep 2020 15:45:57 +0200") Received-SPF: pass client-ip=130.39.6.157; envelope-from=eekopp@lsu.edu; helo=relay.lsu.edu X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/14 15:25:58 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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:255687 Archived-At: Keep it at 80 columns, it's a widely adopted standard. I keep my Emacs frames 80 columns wide because that fits many coding styles, including my own work. I'd hate to see all those line continuation characters when visiting elisp files. I don't think there's any way to agree on an optimal width for E-lisp code, or for material in other languages. Too large a width will tire those reading code, the same holds for text (as someone here pointed out), which is why newspaper columns are narrow. Lars Ingebrigtsen writes: > Now for the most controversial suggestion of all: Make the Emacs code > wider! > > Emacs has tried to keep the line width of the source code at 80 > characters since Emacs was created. It was a good choice (perhaps the > only) back then, but most screens are wide and short these days, and the > folding contortions we have to do to make everything fit in 80 > characters is sometimes annoying, and leads to code that's awkward to > read. > > So my suggestion is: Change the default to 100. > > (This, of course, doesn't mean that we change any of the existing code, > but we stop formatting all new code to fit within 80 columns, and > instead aim for 100 instead.)