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#66599: 29.1; Visual line mode behaves strangely on line with contiguous stretch of whitespace Date: Wed, 18 Oct 2023 14:37:44 +0300 Message-ID: <83bkcwnotz.fsf@gnu.org> References: <87pm1dypj4.fsf@zohomail.eu> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20567"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 66599@debbugs.gnu.org To: Rahguzar Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 18 13:38:58 2023 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 1qt4t8-00056u-3K for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 18 Oct 2023 13:38:58 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qt4sq-0006oK-D7; Wed, 18 Oct 2023 07:38:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qt4sm-0006nc-OC for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2023 07:38:36 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qt4sm-0007Lv-Fm for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2023 07:38:36 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qt4tB-00021K-TW for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2023 07:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 Oct 2023 11:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66599 X-GNU-PR-Package: emacs Original-Received: via spool by 66599-submit@debbugs.gnu.org id=B66599.16976291227734 (code B ref 66599); Wed, 18 Oct 2023 11:39:01 +0000 Original-Received: (at 66599) by debbugs.gnu.org; 18 Oct 2023 11:38:42 +0000 Original-Received: from localhost ([127.0.0.1]:33366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qt4ss-00020f-AR for submit@debbugs.gnu.org; Wed, 18 Oct 2023 07:38:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46508) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qt4sq-00020P-I1; Wed, 18 Oct 2023 07:38:41 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qt4sK-0007Iy-7h; Wed, 18 Oct 2023 07:38:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=7jHBhlUheF8VkC89yyBKLAP8nQeM0MRWgNVx0dwa9DI=; b=HauD4staY/eP sKL9FKgs0X+POXthyZPv7cAfbEYi3W3B3rpPJK478RDUgEwAOgJojEk/eROBOASmfbnrZaSrAtgxA XgPSHK4JSe9p1kbQlmQdp1BnW3cGV1cOfpR6E+HCD/3lNwRq8HYE2x+4GHg1E3temhIed6TiDH7Qn reBwxVrRrg5iLLrqJnsQMjEZ/EEjnUlui8Kdkz71ZJ4gkQggfaVODo0Sa8gXIv9Zh29Lo7BFDM3wb TYn3upHocgIhqCThcUvvqtke8vdkY5LKXzfPEs0NSCTTdqZptuluXkQPnX0Cz1fBShr26PRZpm+7A uIRG53GKkyJzi0U9dhkaKA==; In-Reply-To: <87pm1dypj4.fsf@zohomail.eu> (bug-gnu-emacs@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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:272648 Archived-At: tags 66599 notabug thanks > Date: Tue, 17 Oct 2023 22:10:43 +0200 > From: Rahguzar via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Dear Emacs maintainers, > Starting with emacs -Q > Paste the following lines two lines in the buffer, > sage: V = VectorSpace(RationalField(), 3) # optional - sage.modules > sage: v = V.gen(1) # optional - sage.modules > > Now shrink the window so that these lines cannot fit on one screen line. > When this happens Emacs wraps lines strangely. It doesn't break the > contiguous stretch of whitespace instead it breaks the word preceding > it. I have attached a screenshot of what I see with this email. This is the expected behavior. Visual line mode never breaks the line in the middle of a stretch of whitespace characters, it always breaks the line at a non-whitespace character _after_ a stretch of whitespace characters. This is not a bug.