[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Killed Org files referred from the agenda?
From: |
Nick Dokos |
Subject: |
Re: [O] Killed Org files referred from the agenda? |
Date: |
Thu, 12 Apr 2012 12:02:24 -0400 |
François Pinard <address@hidden> wrote:
> 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.
>
> Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil)
> goto-char(nil)
> (let* ((marker ...) (buffer ...) (pos ...)) (org-pop-to-buffer-same-windo=
> w buffer) (and delete-other-windows (delete-other-windows)) (widen) (goto-c=
> har pos) (when (eq major-mode ...) (org-show-context ...) (save-excursion .=
> ..) (when ... ...)))
> (if (and org-return-follows-link (not ...) (org-in-regexp org-bracket-lin=
> k-regexp)) (org-open-link-from-string (match-string 0)) (let* (... ... ...)=
> (org-pop-to-buffer-same-window buffer) (and delete-other-windows ...) (wid=
> en) (goto-char pos) (when ... ... ... ...)))
> org-agenda-switch-to()
> call-interactively(org-agenda-switch-to nil nil)
>
> 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?
>
Just do "g" in the agenda and retry the "t".
Nick