GNU bug report logs -
#28524
26.0.60; Truncation in %d displayed numbers in minor mode lighter
Previous Next
Reported by: Kaushal Modi <kaushal.modi <at> gmail.com>
Date: Wed, 20 Sep 2017 15:15:01 UTC
Severity: normal
Tags: moreinfo
Found in version 26.0.60
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 28524 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Wed, Sep 20, 2017 at 12:16 PM Eli Zaretskii <eliz <at> gnu.org> wrote:
> > I don't understand the exact meaning of those numbers "0 2", but looks
> like that limits the number of
> > characters to be displayed after "test:"?
>
> No, it means that the face covers 2 characters starting with the first
> one.
>
Thanks.
I don't think I understand all the complexity you've gone through,
> because this works for me in the current emacs-26 branch:
>
> (insert (format (propertize "%d" 'face 'font-lock-warning-face) 10))
>
That works, and so I had to come up with this recipe. Can you see the
problem too if you follow this recipe? Did you also see the screenshots I
took based on this recipe in emacs -Q?
> How is this different from what you do?
>
It probably has something to do with a function call (test-incr) instead of
a static value like 10?
--
Kaushal Modi
[Message part 2 (text/html, inline)]
This bug report was last modified 3 years and 283 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.