From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Error because org-refile calls org-back-to-heading Date: Tue, 23 Aug 2011 17:00:53 +0200 Message-ID: <8739gsyun3.fsf@altern.org> References: <877h65h8ye.fsf@fastmail.fm> <87ei0dbjvo.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:52255) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvtZg-0003OM-H2 for emacs-orgmode@gnu.org; Tue, 23 Aug 2011 12:11:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QvtZf-0003Rg-EG for emacs-orgmode@gnu.org; Tue, 23 Aug 2011 12:11:36 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:59472) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvtZf-0003PN-23 for emacs-orgmode@gnu.org; Tue, 23 Aug 2011 12:11:35 -0400 Received: by mail-wy0-f169.google.com with SMTP id 11so249758wyi.0 for ; Tue, 23 Aug 2011 09:11:34 -0700 (PDT) In-Reply-To: <87ei0dbjvo.fsf@fastmail.fm> (Matt Lundin's message of "Mon, 22 Aug 2011 09:28:43 -0500") 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: Matt Lundin Cc: Org Mode Matt Lundin writes: > Matt Lundin writes: > >> Since the commit c25165c25dc9fdb5b57b3c66b2e0ec0efdbeb7ad on August 18, >> I can only call this function when I am beneath the first level heading >> of an org-mode file. Otherwise I receive the following error: > > Here's a patch that allows one to call (org-refile t) in a non org-mode > buffer without resulting in an error. Applied, thanks! -- Bastien