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#46814: 26.3; Visual-line-mode produces fake newline if line begins with space Date: Sat, 27 Feb 2021 20:24:57 +0200 Message-ID: <835z2dnzba.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14514"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 46814@debbugs.gnu.org To: "Miguel V. S. Frasson" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 27 19:26:31 2021 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 1lG4IR-0003dC-1y for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Feb 2021 19:26:31 +0100 Original-Received: from localhost ([::1]:41512 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lG4IP-00051n-KV for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Feb 2021 13:26:29 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40056) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lG4Hy-00051d-ET for bug-gnu-emacs@gnu.org; Sat, 27 Feb 2021 13:26:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33821) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lG4Hy-00057r-6C for bug-gnu-emacs@gnu.org; Sat, 27 Feb 2021 13:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lG4Hy-0003hW-0y for bug-gnu-emacs@gnu.org; Sat, 27 Feb 2021 13:26:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Feb 2021 18:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46814 X-GNU-PR-Package: emacs Original-Received: via spool by 46814-submit@debbugs.gnu.org id=B46814.161445031414151 (code B ref 46814); Sat, 27 Feb 2021 18:26:01 +0000 Original-Received: (at 46814) by debbugs.gnu.org; 27 Feb 2021 18:25:14 +0000 Original-Received: from localhost ([127.0.0.1]:45367 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lG4HC-0003gB-2B for submit@debbugs.gnu.org; Sat, 27 Feb 2021 13:25:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lG4HA-0003fu-MI for 46814@debbugs.gnu.org; Sat, 27 Feb 2021 13:25:12 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36858) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lG4H5-0004cJ-GA; Sat, 27 Feb 2021 13:25:07 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1389 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lG4H2-0007oS-9e; Sat, 27 Feb 2021 13:25:06 -0500 In-Reply-To: (mvsfrasson@gmail.com) 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:200968 Archived-At: > From: "Miguel V. S. Frasson" > Date: Sat, 27 Feb 2021 13:30:23 -0300 > > In visual-line-mode, if after leading whitespace it follows very long > text without spaces, it occurs a visual line break after the leading > whitespace, creating an false blank line, annoying users because extra > blank lines may change the meaning of text. > > It would be more sensible in visual-line-mode forbids visual line breaks > after leading whitespace, because they always create blank lines. Patches are welcome to implement this. Word of warning: the current implementation of this is in C, as part of the display engine, and it's very complex.