[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Killed Org files referred from the agenda?
From: |
François Pinard |
Subject: |
[O] Killed Org files referred from the agenda? |
Date: |
Thu, 12 Apr 2012 11:20:55 -0400 |
User-agent: |
Gnus/5.130004 (Ma Gnus v0.4) Emacs/23.3 (gnu/linux) |
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
- [O] Killed Org files referred from the agenda?,
François Pinard <=