[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#77644: 30.1; Wrap text does not work when window is right-splitted m
From: |
Eli Zaretskii |
Subject: |
bug#77644: 30.1; Wrap text does not work when window is right-splitted more than once |
Date: |
Tue, 08 Apr 2025 17:22:42 +0300 |
tags 77644 notabug
thanks
> From: Rittwik Chatterjee <rittwik@gmail.com>
> Date: Tue, 8 Apr 2025 19:15:39 +0530
>
> 1. emacs -Q
> 2. M-x split-window-right
> This will split the window and you can see that Emacs properly wraps
> the text of the scratch buffer.
> 3. M-x split-window-right
> This will split the window again. Now you have three windows. The
> extreme right window is bigger compared to the other two windows.
> In the bigger window you can still see that Emacs wraps the text. But
> in the smaller windows Emacs stops wrapping the text.
> Please see the attached image.
> 4. It seems this stop wrapping text has nothing to do with the window
> dimension. As after right-splitting the window for the first time, if
> I reduce the window dimension by reducing the frame dimension manually,
> Emacs still splits the text properly. It only happens if I right-split the
> window again.
This is a feature: Emacs automatically switches to line-truncation in
any partial-width window whose width is smaller than the value of the
user option truncate-partial-width-windows. The default value is 50,
but you can make it smaller if you want Emacs to wrap lines in very
narrow partial-width windows.
There's no bug here.