Mattias Engdegård <[email protected]> writes:

> 25 aug. 2025 kl. 22.31 skrev Daniel Mendler <[email protected]>:
>
>> When using Unicode glyphs, org-habit-build-graph breaks due to a recent
>> change in Emacs master. Emacs master disallows resizing unibyte strings
>> to multibyte strings.
>> 
>> (setq org-habit-overdue-glyph ?•
>>      org-habit-alert-glyph ?•
>>      org-habit-today-glyph ?•
>>      org-habit-completed-glyph ?◦)
>
> Interesting, thank you for reporting it! I've seen this kind of code only 
> once before, in ruler-mode.el, and a simple fix is to work on a vector 
> instead and convert it to a string at the end. String properties can be 
> gathered and applied afterwards.
>
> The attached patch (untested!) shows how this might be done. No doubt it can 
> be improved. If you are happy with it, I'll push it to Emacs master.

Fixed, by Mattias, on Emacs master, and backported by Kyle onto Org's
main. Thanks!
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=a1c07c796

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to