GNU bug report logs - #52183
29.0.50; Empty space in the mode line if server-mode is active

Previous Next

Package: emacs;

Reported by: Davide Masserut <dm <at> mssdvd.com>

Date: Mon, 29 Nov 2021 16:00:02 UTC

Severity: normal

Merged with 58183, 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 #44 received at 52183 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 52183 <at> debbugs.gnu.org, dm <at> mssdvd.com
Subject: Re: bug#52183: 29.0.50; Empty space in the mode line if server-mode
 is active
Date: Sun, 05 Dec 2021 21:04:19 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

> That's sheer luck, an artifact of the particular implementation in
> display_min_width.  Specifically, the stretch glyph is appended when
> we see a new Lisp string, so the " " separator after those elements
> plays that role.  That's why we get that extra space before "@" in the
> situation described by this bug report: that "@" is the first Lisp
> string that follows mode-line-mule-info, and mode-line-mule-info is
> produced as C strings.

Hm...  I see...  I think.  I though I had that covered, but I haven't
tried to re-debug the code after we started discussing this.

> Thus, concatenating the strings before propertizing is really needed
> for this to work on a group of strings.

It's possible, but I thought I was seeing something else.  I'll try to
do some more poking at the code.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 1 year and 296 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.