[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What might ‘org-element-at-point’ be doing in *scratch*?
From: |
Christian Moe |
Subject: |
Re: What might ‘org-element-at-point’ be doing in *scratch*? |
Date: |
Tue, 04 Jun 2024 12:34:48 +0200 |
User-agent: |
mu4e 1.6.10; emacs 27.1 |
Ihor Radchenko <yantar92@posteo.net> writes:
> Christian Moe <mail@christianmoe.com> writes:
>
>> After upgrading to 9.7.1 on Emacs 27.1, I get a curious warning on Emacs
>> start-up:
>>
>> "Warning (org-element): ‘org-element-at-point’ cannot be used in non-Org
>> buffer #<buffer *scratch*> (fundamental-mode)"
>>
>> It does not happen with 'emacs -Q', but it also did not happen before
>> the upgrade, so I don't know what in my configuration now triggers it,
>> or why anything would want to do this.
>
> Try M-x debug-on-entry org-element-at-point and you may then get clues
> from the backtrace.
Thanks! Nothing the matter with Org; pardon the noise. Culprit found:
some old code of mine that called org-get-id on load for bad reasons,
and which Emacs has so far suffered in silence.
Yours,
Christian