[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#58183: 29.0.50; Extra spacing before '@' in emacsclient modeline
From: |
Eli Zaretskii |
Subject: |
bug#58183: 29.0.50; Extra spacing before '@' in emacsclient modeline |
Date: |
Fri, 30 Sep 2022 16:39:24 +0300 |
> Cc: 58183@debbugs.gnu.org
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Fri, 30 Sep 2022 14:59:39 +0200
>
> 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))
This doesn't show the extra spaces here. Strange.