From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Manuel Giraud Newsgroups: gmane.emacs.bugs Subject: bug#56335: 29.0.50; [PATCH] Add more breakpoint chars support to longlines-mode Date: Sat, 02 Jul 2022 23:19:48 +0200 Message-ID: <87k08vrz4b.fsf@elite.giraud> References: <87czep15pf.fsf@elite.giraud> <87y1xb1zk5.fsf@gnus.org> <83sfnjbse9.fsf@gnu.org> <87edz31y62.fsf@gnus.org> <83pminbrak.fsf@gnu.org> <87fsjjzfpl.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6314"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (berkeley-unix) Cc: Eli Zaretskii , 56335@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 02 23:21:16 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 1o7kYF-0001Q6-7d for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Jul 2022 23:21:15 +0200 Original-Received: from localhost ([::1]:41070 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7kYD-0008LB-Mz for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Jul 2022 17:21:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7kY3-0008Kn-BW for bug-gnu-emacs@gnu.org; Sat, 02 Jul 2022 17:21:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49069) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o7kY2-000449-6v for bug-gnu-emacs@gnu.org; Sat, 02 Jul 2022 17:21:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o7kY2-000579-19 for bug-gnu-emacs@gnu.org; Sat, 02 Jul 2022 17:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Manuel Giraud Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Jul 2022 21:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56335 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 56335-submit@debbugs.gnu.org id=B56335.165679681019564 (code B ref 56335); Sat, 02 Jul 2022 21:21:01 +0000 Original-Received: (at 56335) by debbugs.gnu.org; 2 Jul 2022 21:20:10 +0000 Original-Received: from localhost ([127.0.0.1]:42966 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7kX8-00055R-MT for submit@debbugs.gnu.org; Sat, 02 Jul 2022 17:20:10 -0400 Original-Received: from ledu-giraud.fr ([51.159.28.247]:18218) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7kWu-00054h-9W for 56335@debbugs.gnu.org; Sat, 02 Jul 2022 17:20:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=lCtchV0aXK2yj12V hocvAZ955G6Rsjc/06CwcfSjPmE=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=cqkg1bzzQJ6kPPQkftI3fi/vXXVbKXDVrfl9cw A7OkdPJfurzmbCVTwG9r6xKuBNv902cMOvmKkUhuzJWBv1z4YZWZd22XZrI01FExFd5fWw h1meNMUKqkVgB79G/q6+qHrbhpkVG3Bcck9zJct+vpM8wsx+Z1zi0IrPQ9NhSx6NIV07AX dEH8T6Jnk242dQxruzXtAo5zMUpr1e5L8hOMS8naGJtyH8gXPPQkIDNNyD79yjUOHbxzTh WqvaBEUyRHeg62nz2b5zwwZcNomrxmANI1UPmD0M4d0CakTCqiREmQhzrKOhiIaWvS6vsy OIdrfvOSvoalOe3/5slqgFeg== Original-Received: from elite.giraud ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 5b3c99e9 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 2 Jul 2022 23:19:50 +0200 (CEST) In-Reply-To: <87fsjjzfpl.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 02 Jul 2022 17:39:34 +0200") 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:235958 Archived-At: Lars Ingebrigtsen writes: > Eli Zaretskii writes: > >>> So it was obsoleted because we had visual-line-mode instead, I guess? I >>> guess they have similar use cases, but longlines-mode has the advantage >>> that it's also a hack around the performance issues. >> >> Yes. > > It seems like everybody both here and in the other thread agreed that we > should unobsolete longlines.el, so I've now done so in Emacs 29. I've > also applied Manuel's patch to longlines. Thanks. I guess that it could be re-obsoleted when visual-line-mode is fast on *very* long lines. Now I'm going to check corner cases in longlines.el because the previous code used to replace space with soft newline. This patch should not replace any characters (just add soft newline)=E2=80=A6 but I could have mi= ssed some. --=20 Manuel Giraud