emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Org-remember and org-back-to-heading


From: Matt Lundin
Subject: [Orgmode] Org-remember and org-back-to-heading
Date: Thu, 03 Sep 2009 12:42:30 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Hi everyone,

When I call org-remember or org-store-link above the first headline in
an org buffer, I receive the following error message:

    Before first headline at position 1 in buffer index.org

It seems that either org-remember or org-store-link (or both) calls
org-back-to-heading in order to grab the relevant heading for
annotation. As a result, if I try to store a link above the first
heading, emacs spits out the error message above because there is no
heading to return to.

Is this the intended behavior? Sometimes I prefer to create a link to
the file as a whole rather than to a particular headline. E.g., I might
want to create a todo to organize notes.org, which is not an agenda
file. In this instance, it does not matter whether org-remember creates
a link to a particular headline. In fact, I would prefer a link to the
file as a whole and thus expect to be able to store a link while on the
first empty line of the file or on #+TITLE.

Thanks,
Matt




reply via email to

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