From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrea Crotti Subject: Re: [PATCH] org-goto before headline Date: Fri, 10 Feb 2012 16:00:02 +0000 Message-ID: <4F353F02.1010803@gmail.com> References: <20120210144218.GA20814@c3po> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:35145) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvstP-0005P3-EC for emacs-orgmode@gnu.org; Fri, 10 Feb 2012 11:00:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvstN-0007CL-3O for emacs-orgmode@gnu.org; Fri, 10 Feb 2012 11:00:11 -0500 Received: from mail-bk0-f41.google.com ([209.85.214.41]:63407) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvstM-0007BT-UN for emacs-orgmode@gnu.org; Fri, 10 Feb 2012 11:00:09 -0500 Received: by bkty12 with SMTP id y12so212886bkt.0 for ; Fri, 10 Feb 2012 08:00:06 -0800 (PST) In-Reply-To: <20120210144218.GA20814@c3po> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On 02/10/2012 02:42 PM, Toby Cubitt wrote: > On Fri, Feb 10, 2012 at 02:19:27PM +0000, Andrea Crotti wrote: >> What is exactly the reason for org-goto to need to be at least in the >> first headline to work? >> >> I always get this error when I just try to jump in the first line: >> byte-code: Before first headline at position 1 in buffer .. > Do you by any chance have `org-goto-interface' set to > outline-path-completion (or are you using org-goto with a prefix > argument)? > > If so, I've also come across this problem. I think it's a bug in > org-goto, which should pass NO-EXCLUDE to org-refile-get-location (but > doesn't). The attached patch fixes this for me (or you can pull the > "org-goto" branch from http://www.dr-qubit.org/git/org-mode.git). > > HTH, > > Toby Yes it was set to that.. I've tried the patch and it works perfectly here! 3 minutes to get a bug-fix is quite amazing ;)