From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id gDL8AGEe1mVhTgAAe85BDQ:P1 (envelope-from ) for ; Wed, 21 Feb 2024 17:01:37 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id gDL8AGEe1mVhTgAAe85BDQ (envelope-from ) for ; Wed, 21 Feb 2024 17:01:37 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=andrew.cmu.edu header.s=google-2021 header.b=LIF8s7i1; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=andrew.cmu.edu ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708529861; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=b7lxsqVEYnNAM5ybSnQWc13uV9A+5MCAijHaOCsWo7U=; b=TzJiO3RFA6uk0mnj0IwfWqt2vqH9K4QWGKWGgVAlfzBecMozg/8npoSHc7ORu1OPlJCovm rD1cdipKBgZ6UCBceYLStNOdfLd1CZIkd3+iaMdV5wzMfWfca1j7siQy0bRgHeA9p5cvUw 2u/yaJPyJYpocc1bIcsaMTDkbaZf7e39RjdeSn+lKzzIM98vEtqZ/ggXw3UM8c+oZjORfB vBWLT5RyXl2Jotl072nprcJ5CXd9UWDW+//0J9mLqYXYBvJ+LJf95fJatCvyCiENed+tWS zFu0yXIib4s2IxrMau+6HadIr8oIWDkfexXWNeMi4Zdh9OcrrO3WS/lAOBPweg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=andrew.cmu.edu header.s=google-2021 header.b=LIF8s7i1; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=andrew.cmu.edu ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708529861; a=rsa-sha256; cv=none; b=o/QfRqviPs5pGGBoyk0Afu41luQRVz9M/m/+7KBUL0WVa6CAeDessX8HoUYoOTnurJfqdp yI5tqPU0WaxQM00sjFxyTYeAgA2pH/u5FhAccB9JLoBHuO8i/1CR/iEaYMx1wEhDCvFl4/ yBhhhcvwUxKBFIWL4thrMI5XNMAOFlC0JO9tmbSkA9SvxEt25PluDeORwSNPR+5lHJhiX9 ClVDPgfKVVpwHVzsVJru8JKohsOdp/upT5D3DKNZQNxwFLNvJRk5WJoTF3A4erp2CyPpLd 7/mhud5NhNTXebpaPgKPm9punZUCN3NJOrNoTTWeYMWZOxgPoDiXJ/7EwEK0Cw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E33263B695 for ; Wed, 21 Feb 2024 16:37:40 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rcoZ6-0007FF-M6; Wed, 21 Feb 2024 10:31:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rcoNL-0005bT-DK for emacs-orgmode@gnu.org; Wed, 21 Feb 2024 10:19:12 -0500 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rco4f-0007q2-E9 for emacs-orgmode@gnu.org; Wed, 21 Feb 2024 09:59:57 -0500 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-41270d0b919so12755965e9.1 for ; Wed, 21 Feb 2024 06:59:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=andrew.cmu.edu; s=google-2021; t=1708527589; x=1709132389; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=b7lxsqVEYnNAM5ybSnQWc13uV9A+5MCAijHaOCsWo7U=; b=LIF8s7i14AuxQh0Vb6CX7Ore8U0SZXQgFeLEwezu3uFuExHNRmSKJz6p+bOm3bay4U Xp5jT1N8s6LpsYkxQ0rMSEPiaDW5SZIhFiGJw8LudIZz6XQLSiVUmMFIrDCvvxT0PuwU lIk7JPGUSrYb8tlxIgQAawwpjqksk3H/dbi7VY53HYgd79CNCXC5+UW6JDmXQLkCJhfN O3NpK2Lh/q44X5lPRMs91japEIPqDC03+SJKr5vsYkU6N8PH50n8YH33B1gJ8Q7aXzIC 61wFxA+GXegRG2Uv8wq2XXyKNi8RWVl5YcQvA+VQto8LQ8hc6Titdu9KE4YB7ZBgHGr7 DnNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708527589; x=1709132389; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=b7lxsqVEYnNAM5ybSnQWc13uV9A+5MCAijHaOCsWo7U=; b=RZ4INhrqARdhXpzW19WXdCNWlheifalICbKFAR3hYhXaPJN5C2INP4zP452gt11v+O 1h+J8Yyx0YIpgs9sU2e/bbNg2FPcfDtrW9uVZ9GweAmlWndu/oP5DEcCTqifiKbuRDU/ OWDhmvxhzGQ7ccoILyhP0X7+miShf6n2qZeAw6BhmicdtR6M6yrmaLr+K2omV59jKERx Lzh0Cls/yQoKZcP18T0QsTVgpdjeo9gLEMG2yp31AUlibNoAHiJ+RBBZHsW2U47bXNNc DPjKtDYKdbKhav2SlGwyvt/dq7plnibBuxf6lHAO5KlOxQ4Pyk0uDGu7axJmg6mDI8i0 q78w== X-Gm-Message-State: AOJu0YzljkG8CsmEQBwMo3bFRNEN0jKQwcdXzX7rD7/0/XXDtfPFIHln HCjFochybK8iXM7IND6GDuvbJpVMlebRUEiXIHtOjB8MJc/NbvQO1EEDT5F9XWmtvfxoXL20m5X oiTEdRqTFULKYFFlFQ9AlKG9VS5qqtTqkSBWwfTwdADnfBxY= X-Google-Smtp-Source: AGHT+IEgrupzZdlnniv3ulA9y1r6Fa/QacqEH+9ufXT2BoI5g23eLvpCOw0pNzWOY/6rwTu83/zEiKEipXztKjzxyoI= X-Received: by 2002:adf:e3c2:0:b0:33d:2805:ab2a with SMTP id k2-20020adfe3c2000000b0033d2805ab2amr8134623wrm.6.1708527589329; Wed, 21 Feb 2024 06:59:49 -0800 (PST) MIME-Version: 1.0 References: <87wmr7rssj.fsf@localhost> <875xyq7qbn.fsf@localhost> <871q96t658.fsf@localhost> In-Reply-To: <871q96t658.fsf@localhost> From: John Kitchin Date: Wed, 21 Feb 2024 09:59:38 -0500 Message-ID: Subject: Re: interaction of fontified calendar entries and org-read-date To: Ihor Radchenko Cc: Emacs Orgmode Content-Type: multipart/alternative; boundary="0000000000000d27aa0611e5947b" Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=jkitchin@andrew.cmu.edu; helo=mail-wm1-x32d.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URI_DOTEDU=0.254 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -6.54 X-Spam-Score: -6.54 X-Migadu-Queue-Id: E33263B695 X-Migadu-Scanner: mx11.migadu.com X-TUID: HGHENHHxV/7I --0000000000000d27aa0611e5947b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Awesome work! Thanks for tracking that down! On Wed, Feb 21, 2024 at 6:17=E2=80=AFAM 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 wor= k > > 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=3D69271 > > I fixed this subtle issue on main. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3D67d9372= 48 > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at > --=20 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 --0000000000000d27aa0611e5947b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Awesome work! Thanks for tracking that down!

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

> However, if I edebug `calendar-make-temp-face' and step through ea= ch line,
> then it works the same as using a face. And, after that it seems to wo= rk
> 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 priori= ty,
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=3D69271

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

--
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 Engi= neering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-78= 03
htt= ps://kitchingroup.cheme.cmu.edu
https://pointbreezepubs.gumroad.com/=C2= =A0pycse bookstore
--0000000000000d27aa0611e5947b--