From: pinard@iro.umontreal.ca (François Pinard)
To: emacs-orgmode@gnu.org
Subject: Killed Org files referred from the agenda?
Date: Thu, 12 Apr 2012 11:20:55 -0400 [thread overview]
Message-ID: <861untq8mg.fsf@iro.umontreal.ca> (raw)
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
next reply other threads:[~2012-04-12 15:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-12 15:20 François Pinard [this message]
2012-04-12 16:02 ` Killed Org files referred from the agenda? Nick Dokos
2012-04-12 16:37 ` François Pinard
2012-04-12 16:56 ` Bernt Hansen
2012-04-12 19:30 ` Nick Dokos
2012-04-13 5:07 ` Bastien
2012-04-13 10:21 ` Jambunathan K
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=861untq8mg.fsf@iro.umontreal.ca \
--to=pinard@iro.umontreal.ca \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.