bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10978: `calendar-string-spread' loses with double-width characters


From: Eli Zaretskii
Subject: bug#10978: `calendar-string-spread' loses with double-width characters
Date: Fri, 09 Mar 2012 14:33:05 +0200

> From: Štěpán Němec
>       <stepnem@gmail.com>
> Date: Fri, 09 Mar 2012 12:57:30 +0100
> 
> The algorithm used obviously works using `length', but for every
> double-width character the resulting string is one char too long when
> actually displayed, defeating its purpose when formatting the calendar
> mode line (`calendar-update-mode-line' et al.).

It should use `string-width' instead of `length'.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]