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#56393: Actually fix the long lines display bug Date: Sat, 09 Jul 2022 10:20:51 +0000 Message-ID: References: <38c1a31040d2d2bc47ae@heytings.org> <87a69n98yy.fsf@yahoo.com> <38c1a31040f5546dbd3a@heytings.org> <83a69n90t8.fsf@gnu.org> <38c1a31040ad21b41adc@heytings.org> <835ykb8x3z.fsf@gnu.org> <38c1a310403dbabc7270@heytings.org> <834jzv8sv4.fsf@gnu.org> <38c1a31040ba2976eb4d@heytings.org> <83y1x77c2w.fsf@gnu.org> <87k08rkvgb.fsf@gnus.org> <38c1a31040e94458bd3d@heytings.org> <83o7y277b8.fsf@gnu.org> <762d224809bcab0d6bbc@heytings.org> <83fsje74pz.fsf@gnu.org> <762d224809bc038d2030@heytings.org> <838rp672p7.fsf@gnu.org> <762d224809114fbaf4af@heytings.org> <834jzu6wnu.fsf@gnu.org> <762d224809c7a439895e@heytings.org> <83wncq5dvu.fsf@gnu.org> <3ffab1919622ce555e12@heytings.org> <83ilo95uz8.fsf@gnu.org> <3ffab19196bc0451adb6@heytings.org> <83edyx5j2u.fsf@gnu.org> <83tu7q3iz5.fsf@gnu.org> <83pmie3ayo.fsf@gnu.org> <83k08m38uy.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="28427"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, larsi@gnus.org, 56393@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 09 12:21:28 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 1oA7aZ-0007Bp-FF for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 09 Jul 2022 12:21:27 +0200 Original-Received: from localhost ([::1]:33976 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oA7aY-00083I-3q for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 09 Jul 2022 06:21:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39906) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oA7a9-0007lm-UQ for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2022 06:21:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39955) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oA7a9-0004bP-Lm for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2022 06:21:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oA7a9-0000f9-IS for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2022 06:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Jul 2022 10:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56393 X-GNU-PR-Package: emacs Original-Received: via spool by 56393-submit@debbugs.gnu.org id=B56393.16573620552528 (code B ref 56393); Sat, 09 Jul 2022 10:21:01 +0000 Original-Received: (at 56393) by debbugs.gnu.org; 9 Jul 2022 10:20:55 +0000 Original-Received: from localhost ([127.0.0.1]:33852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oA7a2-0000ei-KA for submit@debbugs.gnu.org; Sat, 09 Jul 2022 06:20:54 -0400 Original-Received: from heytings.org ([95.142.160.155]:59026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oA7a0-0000ea-Qw for 56393@debbugs.gnu.org; Sat, 09 Jul 2022 06:20:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1657362051; bh=/pJrEYmkZLNxKMNGppSfJ98cKFvFH0jAF1PUkw8eMqY=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=bbkWROC8HReaZi81172ByNnIfHHGMQw+UQ7WnbIoix62R7epmdhFVorK/lfpiN/nv tkJYlcIsWD7BGo4BA88VIBROSxSHwIexnTqu1BNWSdllNlmJ+UZMrulul6NmJkJB3s YK/ryBEE2Hlr0PoYJMtD24IAqtWIfWToryylzk3AXgLRAMG2eU+78BN8j+pr/xnOuV 0nxy5Mf9PTDnOH2TJfS1c1Oi7eRd13NFStoz+oW1bEHSYZo/16HtM6ATp2p5pMWZL6 p6edR3qIP4MbdOdnb7dHwJujQz7IjgdNEaaZQQsvQ5h5MEO3pDlGUPJWR0C5HLO9Lq qKGB5v6KgLHCg== In-Reply-To: <83k08m38uy.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:236495 Archived-At: > > And maybe this is not needed at all if restricting find_newline_no_quit > is enough to solve the problem. > Indeed, that's what I think. > > That's awesome, thanks. I guess we will only need more measures if some > situations are reported where this is not fast enough, or causes some > other problems. > I don't think it's possible to make it faster. I forgot to mention that C-s works instantly, too. To anticipate one possible criticism: this feature comes at a (IMO) very little price, namely that inside long lines (and only inside long lines) line-move-visual does always not work as expected, point sometimes moves to another column (but in most cases does not). That's the only compromise I did, and it is unavoidable.