bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#64395: [PATCH] * src/xdisp.c (display_string): Don't truncate mode l


From: Eli Zaretskii
Subject: bug#64395: [PATCH] * src/xdisp.c (display_string): Don't truncate mode line in terminal
Date: Sun, 02 Jul 2023 11:15:20 +0300

> Cc: 64395@debbugs.gnu.org
> Date: Sat, 01 Jul 2023 15:47:39 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> 
> Your proposed change fixes the problem, but it fixes it incorrectly:
> after applying the patch, I see a truncation glyph "$" at the end of
> the mode line.  This should never happen on the mode line: we don't
> show truncation glyphs there.  Compare the display after applying your
> patch with the mode-line displayed after evaluating the below:
> 
>  (setq mode-line-format
>        (concat (format-mode-line
>                 "- Ln %l, Col %c ")
>                (make-string 100 ?-)))
> 
> As you see, the expected display of the mode line that is truncated is
> simply not to see the truncated part, without any "$" truncation
> glyph at the end of the mode line.
> 
> So a slightly different change is needed to properly fix this case.
> I'm working on such a proper fix.

Should be fixed now on the master branch, please test.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]