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

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

bug#62847: 29.0.90; Propertized space in Org Agenda's mode-name


From: Ihor Radchenko
Subject: bug#62847: 29.0.90; Propertized space in Org Agenda's mode-name
Date: Sun, 16 Apr 2023 11:29:10 +0000

Mattias Engdegård <mattiase@acm.org> writes:

> 15 apr. 2023 kl. 13.45 skrev Eli Zaretskii <eliz@gnu.org>:
>>>> So maybe replace " " with (copy-sequence " ").
>>> 
>>> But that should not be necessary, right?
>
> Ideally not -- setting properties on literal strings should indeed be avoided 
> for a variety of reasons, one being that the byte compiler shares equal 
> string literals:

Thanks for the clarification!
I am wondering if there is any relevant warning raised by the byte
compiler when doing something like
 (let ((str " ")) (add-text-properties 0 1 '(foo bar) str))

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
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

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