GNU bug report logs - #45646
28.0.50; Last character of mode-line-format is dropped with mode-line-compact of t

Previous Next

Package: emacs;

Reported by: Amin Bandali <bandali <at> gnu.org>

Date: Mon, 4 Jan 2021 03:13:02 UTC

Severity: normal

Tags: fixed

Found in version 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #12 received at 45646 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Amin Bandali <bandali <at> gnu.org>
Cc: 45646 <at> debbugs.gnu.org
Subject: Re: bug#45646: 28.0.50; Last character of mode-line-format is
 dropped with mode-line-compact of t
Date: Mon, 04 Jan 2021 10:48:31 +0100
Amin Bandali <bandali <at> gnu.org> writes:

> I've noticed that the last (non-space) character of the mode-line-format
> string is dropped when I set the newly-introduced  mode-line-compact
> setting to t.
>
> The following appears to fix the issue for me, but I'm not sure if it's
> the best/correct way to fix it (this is my first time touching any of
> Emacs's C bits).

Looks good to me; applied to Emacs 28.

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




This bug report was last modified 4 years and 139 days ago.

Previous Next


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