From: Carsten Dominik <carsten.dominik@gmail.com>
To: Samuel Wales <samologist@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: org agenda search goes to wrong target location
Date: Wed, 19 Aug 2009 09:34:57 +0100 [thread overview]
Message-ID: <499E1D7B-2E36-454F-9F09-65762FB7C1E2@gmail.com> (raw)
In-Reply-To: <20524da70908182240yf4e7439g19492c0c41fd91f8@mail.gmail.com>
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
next prev parent reply other threads:[~2009-08-19 8:35 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-24 0:01 org agenda search goes to wrong target location Samuel Wales
2009-07-24 0:09 ` Bernt Hansen
2009-07-24 0:38 ` Samuel Wales
2009-07-25 22:29 ` Bastien
2009-07-26 0:20 ` Samuel Wales
2009-08-03 13:40 ` Carsten Dominik
2009-08-18 3:55 ` Samuel Wales
2009-08-19 5:40 ` Samuel Wales
2009-08-19 8:34 ` Carsten Dominik [this message]
2009-08-26 3:31 ` Samuel Wales
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=499E1D7B-2E36-454F-9F09-65762FB7C1E2@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=samologist@gmail.com \
/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.