[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Use cache in org-up-heading-safe
From: |
Bastien |
Subject: |
Re: [PATCH] Use cache in org-up-heading-safe |
Date: |
Sun, 16 May 2021 08:15:08 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Hi,
Ihor Radchenko <yantar92@gmail.com> writes:
> While testing another patch for agenda fontification, I noticed that
> agenda can spend up to half!! time doing org-up-heading-safe. Mostly
> inside queries for inherited tags and properties.
I encounter a bug with this cache, it seems the buffer-local variable
`org--up-heading-cache' is not initialized in every buffer from which
org-agenda-list might need it.
I'm attaching the bugtrace.
Ihor, do you see what's happening here?
--
Bastien
bugtrace.txt
Description: Text document
Re: [PATCH] Use cache in org-up-heading-safe,
Bastien <=