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#56335: 29.0.50; [PATCH] Add more breakpoint chars support to longlines-mode Date: Sun, 03 Jul 2022 08:14:00 +0300 Message-ID: <831qv2bwx3.fsf@gnu.org> 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> <87k08vrz4b.fsf@elite.giraud> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34597"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 56335@debbugs.gnu.org To: Manuel Giraud Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 03 07:15:14 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 1o7rww-0008qY-A2 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 03 Jul 2022 07:15:14 +0200 Original-Received: from localhost ([::1]:35278 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7rwu-0002u8-Sw for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 03 Jul 2022 01:15:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57466) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7rwk-0002tZ-Ja for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2022 01:15:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49247) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o7rwk-0002T9-BL for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2022 01:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o7rwk-0000BP-39 for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2022 01:15: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: Sun, 03 Jul 2022 05:15:02 +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.1656825261626 (code B ref 56335); Sun, 03 Jul 2022 05:15:02 +0000 Original-Received: (at 56335) by debbugs.gnu.org; 3 Jul 2022 05:14:21 +0000 Original-Received: from localhost ([127.0.0.1]:43144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7rw4-0000A1-QP for submit@debbugs.gnu.org; Sun, 03 Jul 2022 01:14:21 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7rw3-00009o-5W for 56335@debbugs.gnu.org; Sun, 03 Jul 2022 01:14:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60990) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7rvx-0002OO-Nr; Sun, 03 Jul 2022 01:14:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=Ld+ZAaderl8t1ro6MIoz2feoupPGfUJSeGsDK+Mkqc0=; b=rhwPXx0Fu09wR0lrvw/T ynh4cglahZN5SJQFwHXISJ7umnGNpWxF0WT/tD+/4ODg1XfC6i60QGgb1/QguuANYyytEqoEuHlml GNo0G4AwKaRcRMRCC5Pf67GVlJO48yAWTHPDrnle66t8k2jDGkbo5Mq2m/FkhLXvNSPF6Z/osRRta goHEucFriMlgHZHUuELG/1vHp0SDg8Rm966agjj2/OFY77jfcQawp1bHrNPfQf+f3izHAo0i6mUlQ ePEkmofEkjJuK+cPaC/ndnKYafg/j4MUJC9ZCWcNjmV1WtnpvjCqDQZ7NiMYRlyGio88Na2SroFQU SeFwNBUMzJlx0g==; Original-Received: from [87.69.77.57] (port=1934 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 1o7rvx-000843-71; Sun, 03 Jul 2022 01:14:13 -0400 In-Reply-To: <87k08vrz4b.fsf@elite.giraud> (message from Manuel Giraud on Sat, 02 Jul 2022 23:19:48 +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:235963 Archived-At: > From: Manuel Giraud > Cc: Eli Zaretskii , 56335@debbugs.gnu.org > Date: Sat, 02 Jul 2022 23:19:48 +0200 > > > 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. If and when visual-line-mode becomes fast on long lines, we won't need visual-line-mode for that. Unlike longlines, visual-line-mode does NOT insert newlines into the character stream examined by the display code, it just breaks a visual line in certain places it considers appropriate. Thus, visual-line-mode cannot help where newlines do: in breaking long lines into shorter ones. It suffers from the same problems as "normal" display, and any solution, if we find it, will fix both. > 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)… but I could have missed > some. Please indicate when you have a version that we should install. Thanks.