From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#57669: 29.0.50; C-n, C-p off under long lines Date: Fri, 09 Sep 2022 18:49:16 +0300 Message-ID: <834jxgczur.fsf@gnu.org> References: <87y1uujufi.fsf@dick> <83k06effg6.fsf@gnu.org> <87tu5ijcqg.fsf@dick> <2e25ca87e3d9ee13ba3e@heytings.org> <87illxka46.fsf@dick> <8335d1dr39.fsf@gnu.org> <87mtb8hezl.fsf@dick> <87edwkhb0r.fsf@dick> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25220"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gregory@heytings.org, 57669@debbugs.gnu.org To: dick Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 09 17:50:17 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 1oWgGm-0006Os-FD for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 09 Sep 2022 17:50:16 +0200 Original-Received: from localhost ([::1]:41138 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oWgGl-0002sZ-B8 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 09 Sep 2022 11:50:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45066) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWgGZ-0002qs-B1 for bug-gnu-emacs@gnu.org; Fri, 09 Sep 2022 11:50:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46390) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oWgGY-00007y-Tc for bug-gnu-emacs@gnu.org; Fri, 09 Sep 2022 11:50:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oWgGY-0006Q0-Q2 for bug-gnu-emacs@gnu.org; Fri, 09 Sep 2022 11:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Sep 2022 15:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57669 X-GNU-PR-Package: emacs Original-Received: via spool by 57669-submit@debbugs.gnu.org id=B57669.166273857224625 (code B ref 57669); Fri, 09 Sep 2022 15:50:02 +0000 Original-Received: (at 57669) by debbugs.gnu.org; 9 Sep 2022 15:49:32 +0000 Original-Received: from localhost ([127.0.0.1]:35088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWgG3-0006P7-VG for submit@debbugs.gnu.org; Fri, 09 Sep 2022 11:49:32 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47890) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWgG0-0006Or-UM for 57669@debbugs.gnu.org; Fri, 09 Sep 2022 11:49:30 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53116) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWgFv-0008VV-EE; Fri, 09 Sep 2022 11:49:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=NrGzO5EfQjctYgw7TeiKEq1f9KktK86QPC/P/ZZCejk=; b=WgWEzqAi7qIZ 6Tz1ZrX3V98ldD4C37BntFDBKkfmn1Bk1deir9gGMVOaid6daEWqWih94wbp3kkqgvULeGzJ1MvSh Uv4Zxkzkxs2BlR0Vt64wBLun5XCGhI+JmcdT+RsbPpjWuP5HFN3jLJ1jmz2oAp5+qHstvSFNYuR7g oBYk9pSEKCs9ZZQE0/nwwdxD0mLsHHjPbvnLYHUMDVfRCmWplFCjYYXYsO5payNtAKXFfjCQSO/q0 PomLMJAa81pQfXPuCzRETvaqryKjbwKRkXoPjhilcmhH5i3W5O9MSZO0UlYfqHWQUJmG7yt8Z+vcT ken06MwVof85pzHI4lFylQ==; Original-Received: from [87.69.77.57] (port=1471 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWgFt-0003d2-Ox; Fri, 09 Sep 2022 11:49:22 -0400 In-Reply-To: <87edwkhb0r.fsf@dick> (message from dick on Fri, 09 Sep 2022 10:34:28 -0400) 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:241994 Archived-At: > Cc: 57669@debbugs.gnu.org > From: dick > Date: Fri, 09 Sep 2022 10:34:28 -0400 > > > Try the same with a buffer with 10 lines, each of which is 10 MB long. > > I don't have the patience for 10MB. How about 0.1MB? > > OUTPUT: > > Under long-line-threshold=nil find-file ineffable > Under long-line-threshold=10000 find-file 99s This means on average 1 sec per C-n. Which is tolerable. > Under long-line-threshold=nil find-file-literally ineffable > Under long-line-threshold=10000 find-file-literally 8s We know that visiting a file literally makes this much faster, but it also loses a lot of features that we prefer not to lose. Like display of non-ASCII characters, for example.