Hi, Ihor Radchenko 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