GNU bug report logs -
#18079
Remove redundant spaces in `mode-line-buffer-identification' for `calc-mode'
Previous Next
Reported by: Oleh <ohwoeowho <at> gmail.com>
Date: Tue, 22 Jul 2014 13:10:03 UTC
Severity: minor
Tags: fixed, patch
Fixed in version 27.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Oleh <ohwoeowho <at> gmail.com> writes:
> For some reason there are 14 extra spaces added to
> `mode-line-buffer-identification' for `calc-mode'.
> Which makes it look weird compared to other buffers, such as *scratch*.
> This is especially apparent with a custom mode-line, e.g. powerline package.
> I attach a patch.
[...]
> - (format "Calc%s%s: %d %s %-14s"
> + (format "Calc%s%s: %d %s %s"
That is indeed pretty odd. Perhaps they wanted to have it equally wide
no matter what settings that are enabled?
Anyway, I think it's a positive change to make this more regular, so
I've applied your patch to Emacs 27.
If there's calc users that somehow found that space useful, then
reverting the commit would be fine, too.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 5 years and 292 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.