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

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

bug#58183: 29.0.50; Extra spacing before '@' in emacsclient modeline


From: Lars Ingebrigtsen
Subject: bug#58183: 29.0.50; Extra spacing before '@' in emacsclient modeline
Date: Fri, 30 Sep 2022 14:59:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

miha@kamnitnik.top writes:

> Graphical emacsclient frames have modelines that look something like
>
> U:    @---
>
> instead of
>
> U:@----

It seems to have something to do with the min-width display property.
When the client element is present, the default format is making the "U:"
element five chars wide instead of the entire "U:@---".

To experiment:

(setq mode-line-format
'("%e" mode-line-front-space (:propertize ("" mode-line-mule-info 
mode-line-client mode-line-modified mode-line-remote) 
              display (min-width (5.0)))
 mode-line-frame-identification mode-line-buffer-identification "   " 
mode-line-position (vc-mode vc-mode) "  " mode-line-modes mode-line-misc-info 
mode-line-end-spaces))






reply via email to

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