From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#56683: 29.0.50; long lines fix doesn't work correctly when lines are truncated Date: Tue, 26 Jul 2022 12:50:51 +0000 Message-ID: References: <87h73ab8bo.fsf@gmail.com> <83zgh2kzlo.fsf@gnu.org> <83y1wlllnc.fsf@gnu.org> <83mtd1li6o.fsf@gnu.org> <835yjpl5vm.fsf@gnu.org> <83y1wljmkn.fsf@gnu.org> <83r12djjvm.fsf@gnu.org> <8a3eaeef01b9a103450a@heytings.org> <835yjkdrrk.fsf@gnu.org> <83r128cane.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5151"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, andreyorst@gmail.com, 56683@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 26 14:52:00 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1oGK2a-00018R-EH for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 26 Jul 2022 14:52:00 +0200 Original-Received: from localhost ([::1]:56546 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oGK2Y-0000kp-V8 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 26 Jul 2022 08:51:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGK1e-0000QN-RG for bug-gnu-emacs@gnu.org; Tue, 26 Jul 2022 08:51:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34601) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oGK1e-0005dt-Gw for bug-gnu-emacs@gnu.org; Tue, 26 Jul 2022 08:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oGK1e-000415-D4 for bug-gnu-emacs@gnu.org; Tue, 26 Jul 2022 08:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Jul 2022 12:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56683 X-GNU-PR-Package: emacs Original-Received: via spool by 56683-submit@debbugs.gnu.org id=B56683.165883985415422 (code B ref 56683); Tue, 26 Jul 2022 12:51:02 +0000 Original-Received: (at 56683) by debbugs.gnu.org; 26 Jul 2022 12:50:54 +0000 Original-Received: from localhost ([127.0.0.1]:52583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGK1W-00040g-Ck for submit@debbugs.gnu.org; Tue, 26 Jul 2022 08:50:54 -0400 Original-Received: from heytings.org ([95.142.160.155]:53536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGK1V-00040Y-Es for 56683@debbugs.gnu.org; Tue, 26 Jul 2022 08:50:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1658839852; bh=oh8J8omaty/wuQwGLfTo+DcrLlRnwPVvMxZMIJRb6WQ=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=grWlE/gRy5RdC02ocMVF26yhOuMA855KtW3On1LxxOwV9ddYEbELvdF0XLxeiIlku d/mcP+kqhupW2cSo4RS/PkJFudbS/hUL+AySIXmhE/Pw8o9ILgJlXdwpoUYcMMks+R 6ADpCjfzBMqRzRevQLz9GcWWl29bVyqgvuQmL18w5ACx1aBQUN5SS3N8Lkcrv34n1H +aL+8tIUbtYdDXsEBw4ThaFg2DnVX7dj9rbjlnqtcnvE9T2tgYmc9BssveMEl+yd1q nKCMkOkM2NHLzWDc/FdRI36kJjO4ECq+dy3aDCpSH/4sGzDENm1iuAVgTJc+qBsp+q ajuY8d3xAfJAQ== In-Reply-To: <83r128cane.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:237962 Archived-At: >>> Maybe optionally. Or maybe displaying a message/warning suggesting >>> that. I don't like disabling truncate-lines unconditionally in such >>> buffers, I prefer leaving that to the user. >> >> The user would still have the choice to disable the automatic disabling >> by setting long-line-threshold to nil. > > Yes, I understand. I still don't like it very much. But if many users > will complain, we might change that before Emacs 29 is released. > Do I understand correctly that it's okay to do that on the feature (and later master) branch, and that it will be perhaps be revisited later? > > No, I said making the type of the struct member current_x a ptrdiff_t or > intmax_t will affect performance. The above doesn't propose any such > changes, it just enlarges the "infinity" value. With that value, lines > up to (/ (expt 2 31) 20) => 107374182 (i.e. about 107 million > characters) per line will still display correctly with truncate-lines > when hscrolling is required. > Sorry, I misunderstood what you said. Now it's much clearer, indeed. But still, as you say, that puts a limit at around 100 MB, which isn't "that much" nowadays.