From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Org-remember and org-back-to-heading Date: Fri, 4 Sep 2009 13:19:34 +0200 Message-ID: References: <87ljkwou89.fsf@fastmail.fm> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MjWpZ-0000TK-2y for emacs-orgmode@gnu.org; Fri, 04 Sep 2009 07:19:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MjWpS-0000PM-0P for emacs-orgmode@gnu.org; Fri, 04 Sep 2009 07:19:48 -0400 Received: from [199.232.76.173] (port=56940 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MjWpR-0000Oz-Aq for emacs-orgmode@gnu.org; Fri, 04 Sep 2009 07:19:41 -0400 Received: from ey-out-1920.google.com ([74.125.78.148]:23928) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MjWpR-0001JO-00 for emacs-orgmode@gnu.org; Fri, 04 Sep 2009 07:19:41 -0400 Received: by ey-out-1920.google.com with SMTP id 3so1035279eyh.34 for ; Fri, 04 Sep 2009 04:19:40 -0700 (PDT) In-Reply-To: <87ljkwou89.fsf@fastmail.fm> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Matt Lundin Cc: Org Mode List Fixed, thanks. - Carsten On Sep 3, 2009, at 6:42 PM, Matt Lundin wrote: > 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 > > > _______________________________________________ > 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