Eugene Rakhmatulin <e...@eugr.com> writes:

> On Tue, Feb 1, 2022 at 9:54 PM Eugene Rakhmatulin <e...@eugr.com> wrote:
>>
>> On Fri, Jan 28, 2022 at 10:16 PM Ihor Radchenko <yanta...@gmail.com> wrote:
>>
>> > This is a big strange.
>> > Can you try to repeat the same steps, but removing the contents of
>> > org-persist-directory before opening Emacs?
>
> Well, that happened again. See the backtrace below.
> What I did:
>
> 1. Removed org-persist-directory folder yesterday
> 2. Did a quick capture of task (with some embedded checklist) on my
> main computer today
> 3. Went to another computer and refreshed Agenda there, got
> questionmarks (org directory is synced between both via iCloud)
> 4. Went to the problematic buffer and ran backtrace command there,
> saved the output
>
> If I delete org-persist-directory again, the questionmarks disappear
> (obviously).

Something is strange about your backtrace. If auto-revert updates
changed buffer, the change should be logged like

  ...
  org-element-cache diagnostics(inbox.org): Phase 0
  org-element-cache diagnostics(inbox.org): org-element-cache: Processing 
request ...
  org-element-cache diagnostics(inbox.org): Syncing down to nil-nil
  org-element-cache diagnostics(inbox.org): nil is about to modify text...

I do not see it in your backtrace, which implies that the buffer was not
reverted or that you ran backtrace multiple times.

Can you try again next time you see the questionmarks and also provide
the output of M-: (pp org-element--cache) executed in the problematic
buffer?

Also, I have made changes in saving cache between Emacs sessions. An
Org mode update might help if you are lucky.

Best,
Ihor


Reply via email to