emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Killed Org files referred from the agenda?
@ 2012-04-12 15:20 François Pinard
  2012-04-12 16:02 ` Nick Dokos
  0 siblings, 1 reply; 7+ messages in thread
From: François Pinard @ 2012-04-12 15:20 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-04-13 10:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-12 15:20 Killed Org files referred from the agenda? François Pinard
2012-04-12 16:02 ` 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

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).