> In other words, I believe that nothing can be done on Org mode side. The fix > belongs to org-super-agenda.
That's what I was coming to believe also. I'm sure alphapapa isn't alone and other package devs are facing similar issues since the change in Org 9.7. Thanks for your help, Rob ? Rob Davenport Consulting R&D Engineer -----Original Message----- From: Ihor Radchenko <yanta...@posteo.net> Sent: Thursday, April 17, 2025 1:10 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: > It would seem I'm experiencing an issue reported against > org-super-agenda: > https://urldefense.com/v3/__https://github.com/alphapapa/org-super-age > nda/issues/247__;!!NLW3fF9v!MKufJw1rh_jyfOLJV75HzTerlakpzEQ0cLNKRjaXi6 > 5yPRfOR8LUcfKIOubumnOTXASj14ujvoL3R-uer5_4oA$ and related to a known > change in Org-9.7 org-element-at-point behavior which has affected a > number of packages. (I'm not sure why you are seeing it, > Mark.) > ... > So, org-super-agenda (alphapapa) is still trying to track down the specific > cause of hitting the issue in his package. I see if I can figure out an ECM > that would help him. Looks like the cause is diary holidays. There is no marker for holidays because they are not a part of an actual diary file and thus Org (and diary-lib) cannot apply that marker. Because org-super-agenda expects every agenda entry to have the corresponding 'org-marker property, org-super-agenda is calling org-element in wrong context (right in agenda buffer). There is no way we can put a marker on holiday items, so it should a job for org-super-agenda to consider agenda items without markers. In other words, I believe that nothing can be done on Org mode side. The fix belongs to org-super-agenda. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://urldefense.com/v3/__https://orgmode.org/__;!!NLW3fF9v!MKufJw1rh_jyfOLJV75HzTerlakpzEQ0cLNKRjaXi65yPRfOR8LUcfKIOubumnOTXASj14ujvoL3R-vphipwsA$ >. Support Org development at <https://urldefense.com/v3/__https://liberapay.com/org-mode__;!!NLW3fF9v!MKufJw1rh_jyfOLJV75HzTerlakpzEQ0cLNKRjaXi65yPRfOR8LUcfKIOubumnOTXASj14ujvoL3R-s8S8O8Aw$ >, or support my work at <https://urldefense.com/v3/__https://liberapay.com/yantar92__;!!NLW3fF9v!MKufJw1rh_jyfOLJV75HzTerlakpzEQ0cLNKRjaXi65yPRfOR8LUcfKIOubumnOTXASj14ujvoL3R-t6yWvB9g$ >