Thanks, Ihor.    It seems to be related to org-super-agenda.    I started with 
emacs -q and loaded just enough settings to be able to load org-mode and build 
my agenda.
I also did not see the non-Org buffer warning.  So I started adding packages 
back in (well Org-related ones), and I got them all added back except one.
When I added org-super-agenda back, then I started seeing the non-Org buffer 
warning.

Now to go to minimal org-super-agenda settings and add mine back in to see if 
one of them causes it, or what.

Rob
?
Rob Davenport
Consulting R&D Engineer
-----Original Message-----
From: Ihor Radchenko <yanta...@posteo.net> 
Sent: Tuesday, April 15, 2025 2:20 PM
To: Rob Davenport <rob.davenp...@us.abb.com>
Cc: Mark Barton <mbarto...@gmail.com>; Org Mode List <emacs-orgmode@gnu.org>
Subject: RE: [BUG] Warning (org-element): ‘org-element-at-point’ cannot be used 
in non-Org buffer #<buffer *Org Agenda*> (org-agenda-mode) [9.7.11 
(release_9.7.11 @ /Applications/Emacs.app/Contents/Resources/lisp/org/)]

BeSecure!       This email comes from outside of ABB. Make sure you verify the 
sender before clicking any links or downloading/opening attachments.
If this email looks suspicious, report it by clicking 'Report Phishing' button 
in Outlook or raising a ticket on MyIS.


Rob Davenport <rob.davenp...@us.abb.com> writes:

> Good to know it works be default,

(unless I screwed up my tests)

> ... so it's not org-mode itself but some interference with something 
> else.  I'll try narrowing down the problem.  I've got a large set of 
> packages and my config is split up into numerous files so it might 
> take a while.  I can try from both directions too.  Strip out suspect 
> things (bisecting) from my existing config or start from plain vanilla 
> emacs, add org-mode and then start adding packages back until it 
> breaks.

bisecting does not mean stripping out suspects. It is more efficient.
You just divide uncommented parts of the config in half multiple times, 
commenting out chunks until the bug disappears.

--
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at 
<https://urldefense.com/v3/__https://orgmode.org/__;!!NLW3fF9v!JaNnh8nTLtKqkp9pbOzvrnEsjslUUl_TDOorD-G1vlW6trpuMndS8h_fleOXWvbDnAf9BBi2NuT7Li8srXTa5w$
 >.
Support Org development at 
<https://urldefense.com/v3/__https://liberapay.com/org-mode__;!!NLW3fF9v!JaNnh8nTLtKqkp9pbOzvrnEsjslUUl_TDOorD-G1vlW6trpuMndS8h_fleOXWvbDnAf9BBi2NuT7Li9oQf3Wgw$
 >, or support my work at 
<https://urldefense.com/v3/__https://liberapay.com/yantar92__;!!NLW3fF9v!JaNnh8nTLtKqkp9pbOzvrnEsjslUUl_TDOorD-G1vlW6trpuMndS8h_fleOXWvbDnAf9BBi2NuT7Li9JtP-7-g$
 >

Reply via email to