From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Performance degradation from long lines Date: Sat, 13 Jul 2019 11:07:31 +0300 Message-ID: <83muhi1hoc.fsf@gnu.org> References: <20190107065207.21793.53271@vcs0.savannah.gnu.org> <20190107065208.BA36C21736@vcs0.savannah.gnu.org> <16bb3884-c2de-b178-afe8-0b13a8b116a8@orcon.net.nz> <3f78c29c0c7c01e21180be5fe4f9e70a@webmail.orcon.net.nz> <11eaa87e-b4e4-2cf8-e9d1-658757b97ffe@orcon.net.nz> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="77473"; mail-complaints-to="usenet@blaine.gmane.org" Cc: mithraeum@protonmail.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Phil Sainty Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 13 10:07:49 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hmD4P-000K1j-2o for ged-emacs-devel@m.gmane.org; Sat, 13 Jul 2019 10:07:49 +0200 Original-Received: from localhost ([::1]:54110 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmD4O-0003N2-30 for ged-emacs-devel@m.gmane.org; Sat, 13 Jul 2019 04:07:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60247) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmD4E-0003Hx-PA for emacs-devel@gnu.org; Sat, 13 Jul 2019 04:07:39 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58992) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hmD4D-0006Mz-SK; Sat, 13 Jul 2019 04:07:37 -0400 Original-Received: from [176.228.60.248] (port=1259 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hmD4D-0007g2-0S; Sat, 13 Jul 2019 04:07:37 -0400 In-reply-to: (message from Phil Sainty on Sun, 7 Jul 2019 02:18:17 +1200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:238543 Archived-At: > From: Phil Sainty > Cc: Eli Zaretskii , mithraeum , > Stefan Monnier > Date: Sun, 7 Jul 2019 02:18:17 +1200 > > I'll merge scratch/so-long to master in another week or so if there's > no objections. > > I'm keen to get additional input on some of the default config, but > it'll be that much easier to get people to test and provide additional > suggestions once it's been merged. Thanks for merging this. I made a few minor fixes to the docs. One comment I have is that disabling bidi-display-reordering should probably be removed from the defaults, because doing so puts the display engine in a state that is not being tested, and can cause inconsistencies and even bugs (because some portions of the code were written under the assumption that this variable is never nil). OTOH, I'd suggest setting bidi-paragraph-direction to 'left-to-right by default when so-long-mode is turned on. Also, I don't understand why the defaults disable display-line-number-mode, it AFAIK does not slow down redisplay in any significant ways. Do you have any evidence it should be disabled in buffers with long lines? IME, truncate-lines sometimes makes display of long lines _faster_, so I'm not sure we should disable that by default.