-
Notifications
You must be signed in to change notification settings - Fork 0
org-element-at-point cannot be used in non-Org buffer #1
Copy link
Copy link
Open
Description
After recent upgrade of my doom emacs this bug shows up when calling org-agenda. Similar to /alphapapa/org-web-tools/issues/56 and /nim-lang/nim-mode/issues/246.
Stacktrace:
Debugger entered--Lisp error: (error "‘org-element-at-point’ cannot be used in non-Org b...")
signal(error ("‘org-element-at-point’ cannot be used in non-Org b..."))
error("`org-element-at-point' cannot be used in non-Org buffer %S (%s)" #<buffer *Org Agenda(m)*> org-agenda-mode)
org-element-at-point()
org-up-heading-safe()
org-get-outline-path()
org-agenda-format-item(nil "┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄" nil "" nil "08:00")
org-agenda-add-time-grid-maybe((#(" 11:00 ┄┄┄┄┄ Scheduled: \|DONE\\|..." org-todo-regexp "\\(ANSWERED\\|DONE\\|IN-PROGRESS\\|K..." ...))) 1 t)
org-agenda-list(nil)
funcall-interactively(org-agenda-list nil)
call-interactively(org-agenda-list)
#f(compiled-function () #<bytecode -0x8a53902731f840e>)()
funcall(#f(compiled-function () #<bytecode -0x8a53902731f840e>))
(let ((org-agenda-overriding-header '"Scheduled\n") (org-agenda-span 'day) (org-agenda-start-day '"today") (org-agenda-show-future-repeats 'next) (org-agenda-skip-function '(my/daily-agenda-skip-function 'agenda)) (org-agenda-files '("~/work/auto-elements-tagging/todo.org" "~/work/ip-org-tagging/todo.org" "~/work/ip-type-by-regex-v2/todo.org" "~/work/old-projects/auto-session-update/elements/t..." "~/work/old-projects/auto-session-update/is_unrelia..." "~/work/old-projects/auto-session-update/todo.org" "~/work/old-projects/histogram-differ/todo.org" "~/work/rotation/todo.org" "~/work/todo.org"))) (funcall '#f(compiled-function () #<bytecode -0x8a53902731f840e>)))
eval((let ((org-agenda-overriding-header '"Scheduled\n") (org-agenda-span 'day) (org-agenda-start-day '"today") (org-agenda-show-future-repeats 'next) (org-agenda-skip-function '(my/daily-agenda-skip-function 'agenda)) (org-agenda-files '("~/work/auto-elements-tagging/todo.org" "~/work/ip-org-tagging/todo.org" "~/work/ip-type-by-regex-v2/todo.org" "~/work/old-projects/auto-session-update/elements/t..." "~/work/old-projects/auto-session-update/is_unrelia..." "~/work/old-projects/auto-session-update/todo.org" "~/work/old-projects/histogram-differ/todo.org" "~/work/rotation/todo.org" "~/work/todo.org"))) (funcall '#f(compiled-function () #<bytecode -0x8a53902731f840e>))))
org-agenda-run-series("main view" (((agenda "plain" ((org-agenda-overriding-header "Scheduled\n") (org-agenda-span 'day) (org-agenda-start-day "today") (org-agenda-show-future-repeats 'next) (org-agenda-skip-function '(my/daily-agenda-skip-function ...)) (org-agenda-files (directory-files-recursively "~/work" "todo.org$" nil #'my/skip-archive-dir)))) (todo "TODO|IN-PROGRESS" ((org-agenda-skip-function 'my/skip-children) (org-agenda-overriding-header "\nWork\n") (org-agenda-sorting-strategy '(category-down priority-down)) (org-agenda-files (directory-files-recursively "~/work" "todo.org$" nil #'my/skip-archive-dir)))))))
org-agenda(nil)
funcall-interactively(org-agenda nil)
call-interactively(org-agenda nil nil)
command-execute(org-agenda)
Org mode version 9.7
GNU Emacs v29.1 nil
Doom core v3.0.0-pre HEAD -> master, origin/master, origin/HEAD 986398504 2023-10-07 02:33:45 +0200
Doom modules v23.09.0-pre HEAD -> master, origin/master, origin/HEAD 986398504 2023-10-07 02:33:45 +0200
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels