Awesome work! Thanks for tracking that down! On Wed, Feb 21, 2024 at 6:17 AM Ihor Radchenko wrote: > John Kitchin 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 . > Support Org development at , > or support my work at > -- 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