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: Mon, 04 Jul 2022 10:06:03 +0200 Message-ID: <87iloduwt0.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> <87k08vrz4b.fsf@elite.giraud> <831qv2bwx3.fsf@gnu.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="35863"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (berkeley-unix) Cc: larsi@gnus.org, 56335@debbugs.gnu.org, Manuel Giraud To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 04 10:07:39 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 1o8H7K-000960-Mh for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 04 Jul 2022 10:07:38 +0200 Original-Received: from localhost ([::1]:41432 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o8H7J-0000zk-CU for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 04 Jul 2022 04:07:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56318) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8H6k-0000fP-KL for bug-gnu-emacs@gnu.org; Mon, 04 Jul 2022 04:07:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52093) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o8H6k-0000es-A5 for bug-gnu-emacs@gnu.org; Mon, 04 Jul 2022 04:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o8H6k-0002wS-2y for bug-gnu-emacs@gnu.org; Mon, 04 Jul 2022 04:07: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: Mon, 04 Jul 2022 08:07: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.165692197011247 (code B ref 56335); Mon, 04 Jul 2022 08:07:02 +0000 Original-Received: (at 56335) by debbugs.gnu.org; 4 Jul 2022 08:06:10 +0000 Original-Received: from localhost ([127.0.0.1]:45990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o8H5t-0002vL-Tw for submit@debbugs.gnu.org; Mon, 04 Jul 2022 04:06:10 -0400 Original-Received: from ledu-giraud.fr ([51.159.28.247]:5474) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o8H5p-0002v9-Ex for 56335@debbugs.gnu.org; Mon, 04 Jul 2022 04:06:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=9qW5e9DdAqPfNPhp VI8e5avJdB3H/tjwpH/j0G08d4g=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=YSdPnh2RWBfVftjQU71lfwJVlcUWnV0K6m69ku uAXjrFh3pbECAv+9xdckBRykqTE+l3VnnmPr4KauwpcHm7ngdVQdY33iZQwA/tULWoaLG3 m4d25uHqZ0E3CrNzZSl4ghRIXaLfGzIItUAhhXXwAm7r6JpwUIoBHPLoSMyiS/Z3sp190L d17cCBFLo7Duhlyp4anCpjpfKsEMBX7sqNStU7xPuLkVG0x7s9sa7TV0/0kMmqG3ANllL2 U5Dnv4d6+d7f38zgCxRxmWuwGfU8bWZmwHO/OcJ21zv6+NJk0FWXaoRY01abVtP3PFEPJu RNilv+nEsPf/A2owjNnNT+Lg== Original-Received: from elite.giraud ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id c30f22dc (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 4 Jul 2022 10:06:03 +0200 (CEST) In-Reply-To: <831qv2bwx3.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 03 Jul 2022 08:14:00 +0300") 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:236035 Archived-At: Eli Zaretskii writes: > 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. Hi Eli, I don't really understand. If the visual breaking of lines works flawlessly for editing such file, longlines.el will not be needed anymore. And I think it'd be better to have that and *not* insert newlines into a user's buffer. >> 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= missed >> some. > > Please indicate when you have a version that we should install. Ok. Could I add patch onto this bug report or should I create a new one? --=20 Manuel Giraud