On Aug 19, 2009, at 6:40 AM, Samuel Wales wrote:
Another bug, probably unrelated, is that if the outline buffer is nonexistent and you RET on an agenda line, you get wrong type argument integer of marker p, nil. goto-char(nil) (let* ((marker ...) (buffer ...) (pos ...)) (switch-to-buffer buffer) (and delete-other-windows (delete-other-windows)) (widen) (goto-char pos) (when (org-mode-p) (org-show-context ...) (save-excursion ...))) org-agenda-switch-to() call-interactively(org-agenda-switch-to) Perhaps it could be fixed by loading the file? Or is the agenda buffer useless when the buffer is not there?
The agenda uses markers, and these marker become useless when you remove a buffer.
- Carsten _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode