[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] org agenda search goes to wrong target location
From: |
Samuel Wales |
Subject: |
Re: [Orgmode] org agenda search goes to wrong target location |
Date: |
Tue, 18 Aug 2009 22:40:05 -0700 |
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?
Thanks.