GNU bug report logs -
#58183
29.0.50; Extra spacing before '@' in emacsclient modeline
Previous Next
Reported by: miha <at> kamnitnik.top
Date: Thu, 29 Sep 2022 21:25:01 UTC
Severity: normal
Merged with 52183,
62846
Found in versions 29.0.50, 29.0.90
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #14 received at 58183 <at> debbugs.gnu.org (full text, mbox):
> Cc: 58183 <at> debbugs.gnu.org
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Date: Fri, 30 Sep 2022 14:59:39 +0200
>
> miha <at> 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.
This bug report was last modified 1 year and 349 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.