I get the non-Org buffer warning when I use org-super-agenda and add a group
with :habit t. Adding other groups with properties like :time-grid,
:scheduled, :tag, :deadline all work as expected and without the non-Org buffer
warning. So far just the :habit causes the warning (and I have to have an item
in diary that should be displayed (regardless of group or property)).
(use-package org-super-agenda
:config
(setq org-super-agenda-groups
'( (:name "Log" :log t :order 1)
(:name "Habits" :habit t :order 2) ) )
(org-super-agenda-mode 1) )
?
Rob Davenport
Consulting R&D Engineer
Mobile: 330/348-6026
Phone: 440/585-8485
-----Original Message-----
From: Ihor Radchenko <[email protected]>
Sent: Tuesday, April 15, 2025 2:20 PM
To: Rob Davenport <[email protected]>
Cc: Mark Barton <[email protected]>; Org Mode List <[email protected]>
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 <[email protected]> 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$
>