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 09:00:58 +0300 Message-ID: <8335d1dr39.fsf@gnu.org> References: <87y1uujufi.fsf@dick> <83k06effg6.fsf@gnu.org> <87tu5ijcqg.fsf@dick> <2e25ca87e3d9ee13ba3e@heytings.org> <87illxka46.fsf@dick> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39083"; 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 08:11:45 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 1oWXEv-000A4s-Ol for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 09 Sep 2022 08:11:45 +0200 Original-Received: from localhost ([::1]:59248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oWXEu-0000cs-OM for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 09 Sep 2022 02:11:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49986) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWX5a-0004rs-Pg for bug-gnu-emacs@gnu.org; Fri, 09 Sep 2022 02:02:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43799) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oWX5W-00014s-6Q for bug-gnu-emacs@gnu.org; Fri, 09 Sep 2022 02:02:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oWX5W-0003IM-22 for bug-gnu-emacs@gnu.org; Fri, 09 Sep 2022 02:02: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 06:02: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.166270328012618 (code B ref 57669); Fri, 09 Sep 2022 06:02:02 +0000 Original-Received: (at 57669) by debbugs.gnu.org; 9 Sep 2022 06:01:20 +0000 Original-Received: from localhost ([127.0.0.1]:60731 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWX4q-0003HS-BQ for submit@debbugs.gnu.org; Fri, 09 Sep 2022 02:01:20 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46138) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWX4o-0003HB-3k for 57669@debbugs.gnu.org; Fri, 09 Sep 2022 02:01:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58544) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWX4i-0000zM-OG; Fri, 09 Sep 2022 02:01:12 -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=qiEol60stj/firDKBczYi7IKVL+BC/dInqN0lC30LnU=; b=SMY4YTE8mZIL lZIUD2xueeUkcSOu1d21s1Fz7cfRaSvpZfPh1JsGdbQffHK++eRfD/UFG/CcKSU1T+BIWYwsyhGMA jef2X46Yl/tDCcyasiNFV3iTkkVSxgmMCUHH/5snDZxF60IznXP5lvzSzABkDY/At6GBeSewbzqHC NJ/D1UOpKH6r6LmGp96fEUaxPSHjvh/ZS+GiX+BjzUGhW2ZiWQUOOxn0yGcAVeLnstqQJXo8eUqtr ZjaRi2jSlvsRTE3EFl8ivQJPms2yXURGtO0PliO5k2sI8QHVeYWSNt9FxJk/jw5rl8Sv5gOqXXRTH eAqktiA1+1fQxPWb0dU7Mg==; Original-Received: from [87.69.77.57] (port=4764 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 1oWX4h-0003w1-4E; Fri, 09 Sep 2022 02:01:12 -0400 In-Reply-To: <87illxka46.fsf@dick> (message from dick on Thu, 08 Sep 2022 14:13:29 -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:241956 Archived-At: > Cc: 57669@debbugs.gnu.org > From: dick > Date: Thu, 08 Sep 2022 14:13:29 -0400 > > This is an uncontrived, "in the wild" log file that I was C-n and > C-p'ing when I discovered this "non-problem." Are you saying that this log file didn't have lines whose length is in excess of the long-line-threshold value? Then it's a bug that we would like to investigate, so please tell more details, and perhaps post an example of such a file. If the file did have such very long lines, then the question is: are your Emacs and your patience capable of coping with editing this file with the long-line optimizations disabled? If the answer is YES, all you need to do is make the value of long-line-threshold higher, or even set it to nil, and you get what Emacs did previously. C-n and C-p will work correctly. It might take them forever to do their job, but it will be done much more accurately. > I speculate at least half your users would consider this a regression, > although perhaps not one serious enough to revert your changes. Some of > them would consider this a bug. It is a regression if it happens in files with reasonable line length. It is not a regression if it happens in files with very long lines, because before the change Emacs couldn't cope with such files at all, to the degree that would cause users kill the Emacs session. Now such files _can_ be edited, but with some minor features working in sub-optimal manner. Specifically, wrt C-n/C-p, let me remind you that the line-move-visual = t operation that you say doesn't always work with very long lines, didn't exist at all before Emacs 23, so at least one solution is to turn it off, if its occasional misbehavior is unacceptable for you.