unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Rahguzar <rahguzar@zohomail.eu>
Cc: 66599@debbugs.gnu.org
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	[thread overview]
Message-ID: <83bkcwnotz.fsf@gnu.org> (raw)
In-Reply-To: <87pm1dypj4.fsf@zohomail.eu> (bug-gnu-emacs@gnu.org)

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" <bug-gnu-emacs@gnu.org>
> 
> 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.





  reply	other threads:[~2023-10-18 11:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-17 20:10 bug#66599: 29.1; Visual line mode behaves strangely on line with contiguous stretch of whitespace Rahguzar via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-10-18 11:37 ` Eli Zaretskii [this message]
2023-10-19  9:59   ` Rahguzar via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-10-19 11:08     ` Eli Zaretskii
2023-12-22 14:57   ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83bkcwnotz.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=66599@debbugs.gnu.org \
    --cc=rahguzar@zohomail.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).