From mboxrd@z Thu Jan 1 00:00:00 1970 From: Toby Cubitt Subject: Re: [PATCH] org-goto before headline Date: Mon, 13 Feb 2012 10:20:03 +0100 Message-ID: <20120213092003.GA25462@c3po.home> References: <4F385490.3080605@gmail.com> Reply-To: Toby Cubitt Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:37721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rws5k-0002hj-2J for emacs-orgmode@gnu.org; Mon, 13 Feb 2012 04:21:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rws5a-0005H9-Fu for emacs-orgmode@gnu.org; Mon, 13 Feb 2012 04:21:00 -0500 Received: from starfish.geekisp.com ([216.168.135.166]:10988) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rws5a-0005Gg-C1 for emacs-orgmode@gnu.org; Mon, 13 Feb 2012 04:20:50 -0500 Content-Disposition: inline In-Reply-To: <4F385490.3080605@gmail.com> 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 Mon, Feb 13, 2012 at 12:08:48AM +0000, Andrea Crotti wrote: > 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.. I inserted the magic [PATCH] tag in the subject line, so it's been picked up by patchwork (patchwork.newartisans.com/project/org-mode/list/), and will get reviewed by the org-mode maintainers in due course. But they've got a fairly large stack of patches to review, so give them a chance to get to it! The fact that I already have copyright papers for emacs on file with the FSF might help speed things up a bit if it's accepted. Best, Toby -- Dr T. S. Cubitt Mathematics and Quantum Information group Department of Mathematics Complutense University Madrid, Spain email: tsc25@cantab.net web: www.dr-qubit.org