GNU bug report logs - #62847
29.0.90; Propertized space in Org Agenda's mode-name

Previous Next

Package: emacs;

Reported by: Gustavo Barros <gusbrs.2016 <at> gmail.com>

Date: Fri, 14 Apr 2023 23:05:02 UTC

Severity: normal

Found in version 29.0.90

Full log


View this message in rfc822 format

From: Ihor Radchenko <yantar92 <at> posteo.net>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 62847 <at> debbugs.gnu.org, Gustavo Barros <gusbrs.2016 <at> gmail.com>
Subject: bug#62847: 29.0.90; Propertized space in Org Agenda's mode-name
Date: Sun, 16 Apr 2023 11:23:43 +0000
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

>> -                     (org-add-props " " (org-plist-delete (text-properties-at 0 x)
>> -                                                          'display)))
>> +                     (org-add-props
>> +                         (copy-sequence " ") ; Avoid modifying `eq' " ".
>> +                         (org-plist-delete (text-properties-at 0 x)
>> +                                           'display)))
>
> This hunk fixes a real bug, OTOH.
> Maybe you should use `(apply #'propertize` instead or `org-add-props`?

Indeed.
Done.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=a8a95b6c2

Gustavo, AFAIU, your issue might be "fixed" if you use Org version from
ELPA. If not, you will need to wait until the next bugfix release or use
git version of Org.

-- 
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>




This bug report was last modified 2 years and 64 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.