emacs-orgmode
[Top][All Lists]
Advanced

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

Re: interaction of fontified calendar entries and org-read-date


From: John Kitchin
Subject: Re: interaction of fontified calendar entries and org-read-date
Date: Wed, 21 Feb 2024 09:59:38 -0500

Awesome work! Thanks for tracking that down!

On Wed, Feb 21, 2024 at 6:17 AM Ihor Radchenko <yantar92@posteo.net> wrote:
John Kitchin <jkitchin@andrew.cmu.edu> writes:

> However, if I edebug `calendar-make-temp-face' and step through each line,
> then it works the same as using a face. And, after that it seems to work
> most of the time.

It turned out that the problem is caused by interaction between Org
mode's overlay and calendar.el's overlay. They have the same priority,
so the order they are applied depends on subtle details of the code and
on when redisplay occurs.
That's why edebug yielded different results.

See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=69271

I fixed this subtle issue on main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=67d937248

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


--
John

-----------------------------------
Professor John Kitchin (he/his)
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
https://kitchingroup.cheme.cmu.edu
https://pointbreezepubs.gumroad.com/ pycse bookstore

reply via email to

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