FYI - so far, I've narrowed down when I get the "cannot be used in non-Org buffer" error in my setup to the use of org-agenda-include-diary.
With this set to t: (use-package org ... :config (setq org-agenda-include-diary t) ... I see the error when I bring up my agenda: ‘org-element-at-point’ cannot be used in non-Org buffer #<buffer *Org Agenda*> (org-agenda-mode) ‘org-element-at-point’ cannot be used in non-Org buffer #<buffer diary> (diary-mode) When I comment this out, the error goes away. — Rob -- Ihor Radchenko <yanta...@posteo.net> writes: I assume that the problem did not re-surface. Canceled. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://urldefense.com/v3/__https://orgmode.org/__;!!NLW3fF9v!Ja9PbDWtEMZm0La3IjTTKXqnpDZRP_ui-RQiMUF9SVSrtpDkeoSjse5FeOyzdv7ENtJic67TT_fmA36FrUClyg$ >. Support Org development at <https://urldefense.com/v3/__https://liberapay.com/org-mode__;!!NLW3fF9v!Ja9PbDWtEMZm0La3IjTTKXqnpDZRP_ui-RQiMUF9SVSrtpDkeoSjse5FeOyzdv7ENtJic67TT_fmA34xYvqEPg$ >, or support my work at <https://urldefense.com/v3/__https://liberapay.com/yantar92__;!!NLW3fF9v!Ja9PbDWtEMZm0La3IjTTKXqnpDZRP_ui-RQiMUF9SVSrtpDkeoSjse5FeOyzdv7ENtJic67TT_fmA35NWzH7JA$ >