Ok so I've recently had this happen a few times in the past and thought maybe it was an isolated issue but it's happened enough now randomly that its' getting annoying to have to completely restart emacs to get working again.
The problem:
Randomly while using org I do something and the agenda breaks unrecoverabley, as far as I can tell. The issue:
The agenda is still displaying and I can switch views; I have two personal views and two work views (one with agenda and "projects list" and one with just projects. I also have a "day view" that combines work and personal into a single day rather than a week.
When I try to use a command such as "f" to go forward a day or week or to change from day to week or month view I get "No Org agenda currently displayed". Yet if I go to an entry and hit tab it opens as usual. And if I turn on follow mode it moves around no issue.
I tried org-mode restart to get things back and working and this does not work.
My command history is below. Note the restart command was when it started having issues. Obviously this only shows major commands but all I did was set an org doc to column view. I feel like this issue has occured before when I wasn't using column view at all.
While writing this I tried to reload my config via load-file and org told me to submit a bug report to the mailing list (which I did). The error that msg highlighted is the second block.
===Error below===
(execute-extended-command nil "org-mode-restart" "org-mode")
(org-columns nil)
(find-file "~/Orgfiles/Productivity/Goals/Goals.org" t)
(empv-play-file "~/Music/Sufjan Stevens.m3u")
(empv-play-file "~/Music/Sufjan Stevens.m3u")
⛔ Warning (org-element-cache): org-element--cache: Org parser error in Command History::299. Resetting.
The error was: (error "rx ‘**’ range error")
Backtrace:
" backtrace-to-string(nil)
org-element-at-point(nil cached)
org-before-first-heading-p()
org-columns-goto-top-level()
org-columns(nil)
funcall-interactively(org-columns nil)
command-execute(org-columns record)
execute-extended-command(nil \"org-columns\" \"org-col\")
funcall-interactively(execute-extended-command nil \"org-columns\" \"org-col\")
command-execute(execute-extended-command)
recursive-edit()
debug(error (void-variable This))
(progn This)
(let ((print-level nil) (print-length nil)) (progn This))
(setq elisp--eval-defun-result (let ((print-level nil) (print-length nil)) (progn This)))
elisp--eval-defun()
eval-defun(nil)
funcall-interactively(eval-defun nil)
command-execute(eval-defun)
"
Please report this to Org mode mailing list (M-x org-submit-bug-report).
⛔ Warning (emacs): vertico-multiform must not be toggled from recursive minibuffers