Hi, Org people!

Now that many Org files are part of my agenda list, it became more
likely that I inadvertently kill one of them.  Then, commands like "t"
or "RET" in the agenda fail.

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil)
  goto-char(nil)
  (let* ((marker ...) (buffer ...) (pos ...)) (org-pop-to-buffer-same-window 
buffer) (and delete-other-windows (delete-other-windows)) (widen) (goto-char 
pos) (when (eq major-mode ...) (org-show-context ...) (save-excursion ...) 
(when ... ...)))
  (if (and org-return-follows-link (not ...) (org-in-regexp 
org-bracket-link-regexp)) (org-open-link-from-string (match-string 0)) (let* 
(... ... ...) (org-pop-to-buffer-same-window buffer) (and delete-other-windows 
...) (widen) (goto-char pos) (when ... ... ... ...)))
  org-agenda-switch-to()
  call-interactively(org-agenda-switch-to nil nil)
--8<---------------cut here---------------end--------------->8---

I have to first revisit the Org file by some other mean first, for such
commands to succeed.  Could Org do the revisiting as needed, instead of
raising an error?

François

Reply via email to