GNU bug report logs -
#62847
29.0.90; Propertized space in Org Agenda's mode-name
Previous Next
Full log
Message #26 received at 62847 <at> debbugs.gnu.org (full text, mbox):
Hi Eli,
thanks for looking into this.
On Sat, 15 Apr 2023 at 07:55, Eli Zaretskii <eliz <at> gnu.org> wrote:
> So this sounds like some weird heisenbug.
I'm not sure it helps much, but I do have a functioning workaround,
which doesn't do much but may offer some hint on the source of the
problem. It basically "replaces" the space with a space in `mode-name`
with an `:after` advice:
(defun gb/org-agenda-set-mode-name-advice ()
(let ((before (butlast mode-name
(length (member " " mode-name))))
(after (cdr (member " " mode-name))))
(when (= (length before) 2)
(setq mode-name (append before (list " ") after))
(force-mode-line-update))))
(advice-add 'org-agenda-set-mode-name
:after #'gb/org-agenda-set-mode-name-advice)
I don't know why the space set in my init file is different from the
one set in `org-agenda.el`. But Ihor's insight that the problem only
happens on an installed version suggests a compilation related issue,
as he says.
Best,
Gustavo.
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.