From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Amin Bandali Newsgroups: gmane.emacs.devel Subject: Re: Changing line widths in the Emacs source code Date: Sun, 13 Sep 2020 13:07:14 -0400 Organization: GNU Message-ID: <87h7s1vc59.fsf@gnu.org> References: <87tuw1x016.fsf@gnus.org> <87o8m9k7gu.fsf@telefonica.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16097"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Lars Ingebrigtsen , emacs-devel@gnu.org To: =?utf-8?Q?=C3=93scar?= Fuentes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Sep 13 19:08:09 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 1kHVU1-00046R-Ju for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Sep 2020 19:08:09 +0200 Original-Received: from localhost ([::1]:43390 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHVU0-0000xA-MU for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Sep 2020 13:08:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHVTD-0000FA-UJ for emacs-devel@gnu.org; Sun, 13 Sep 2020 13:07:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33144) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHVTA-0000Pw-DZ; Sun, 13 Sep 2020 13:07:18 -0400 Original-Received: from [2607:fea8:3fdf:f688::8] (port=35772 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kHVT9-0006h7-Ur; Sun, 13 Sep 2020 13:07:16 -0400 Mail-Followup-To: =?utf-8?Q?=C3=93scar?= Fuentes , emacs-devel@gnu.org, Lars Ingebrigtsen In-Reply-To: <87o8m9k7gu.fsf@telefonica.net> 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:255530 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable =C3=93scar Fuentes writes: > 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. > > My difficulties for understanding Emacs sources are not related to > formatting to comply with the max line width rule, but to excessive > nesting levels and overly long functions. > > Increasing line width is the wrong approach to fix this deeper problem, > because it would make it worse. Well said, I agree. Also, as touched on by the others, the current line width allows me to read two code windows side-by-side comfortably on my trusty X200, where ~160 characters fit on the screen horizontally. Bumping the limit up to 100 characters would certainly take that away or make it much harder. I'm in favour of keeping the line limits as they are for the time being. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJEBAEBCAAuFiEEObM8jZRIDS3cwqSYi0Sgzce5VvIFAl9eUcIQHGJhbmRhbGlA Z251Lm9yZwAKCRCLRKDNx7lW8tWhD/9Ed7LR4+BeQPUAeAB09gAKN8hkGl3hmud5 4R5QIQfi/KDNOdSufaY3hEXDQ1QLigrzbr393tWp2s/i8nKGSfVll0hDzOrFsQ19 ooOKKQ65kVel+BnR8nwaWb6SXsk/ciE21nPc1x1cVZEubaoOmwqUQYgLeh83wWTF IQGJprq7IpX8ozaVIbljZGELAjANTqnbESPunn01OAKrWlwIFNXbj9XVK56RKmnc KlKoOiMGr9q3dJYc8PMqxk/0etqYEY4RewBf1IL7p4e9Lb/wWZZcGw0UU9CRfCNa JE+9z750qapaxMkeBw7GADqxcJCh5RBtrnAE2nNbyMRMJDk56B6yFERlO9ekzBJl nwK4LRuuoiEDCIUvC0m/fY2DywT5gvL4Zcoi5Efg43w0yAoGPeRMbSlpLNz6JByT K8eCjXsHyAMwUOZsqrBaWLyhVNeDFmqg2/MKaIjF5+E0LmIjhgmNj3+hHBlZlRY5 QICTxDd6wyKKptmWM14KW9XRFNKlm3zb9eUWuC043qfA3NoQM/wnFMU91FJYKeXN dqz2vOfnf+Wc9P0Bq29FrDiqHrzZ3/6x06uAqhV6l6PlZO6LlK1AFDkCBitZqu82 9wNTZep0mn5A8yVfEksvlswiuk0kUIC8iJsoY7AgnSR2XZtBmdSWvjdEhrsRj/R3 dbK0r+OAjg== =OsQZ -----END PGP SIGNATURE----- --=-=-=--