emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] org agenda search goes to wrong target location


From: Carsten Dominik
Subject: Re: [Orgmode] org agenda search goes to wrong target location
Date: Wed, 19 Aug 2009 09:34:57 +0100


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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]