From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrea Crotti Subject: Re: [PATCH] org-goto before headline Date: Mon, 13 Feb 2012 00:08:48 +0000 Message-ID: <4F385490.3080605@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]:59709) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwjTd-0001DA-JM for emacs-orgmode@gnu.org; Sun, 12 Feb 2012 19:09:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RwjTb-0006eU-Ua for emacs-orgmode@gnu.org; Sun, 12 Feb 2012 19:09:05 -0500 Received: from mail-ww0-f49.google.com ([74.125.82.49]:50601) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwjTb-0006eN-Nl for emacs-orgmode@gnu.org; Sun, 12 Feb 2012 19:09:03 -0500 Received: by wgbdt13 with SMTP id dt13so3399413wgb.30 for ; Sun, 12 Feb 2012 16:09:02 -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 Is the patch already pushed to master then? Just to check, it would be sad if it gets lost in the way..