From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug (?) in new exporter (export subtree) Date: Fri, 18 Jan 2013 22:12:19 +0100 Message-ID: <874nie2o24.fsf@gmail.com> References: <20130115203629.GA25867@BigDog.local> <87libt2cx1.fsf@gmail.com> <20130117132849.GA39115@BigDog.local> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39746) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TwJEv-0007vn-Fs for emacs-orgmode@gnu.org; Fri, 18 Jan 2013 16:12:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TwJEu-0003bm-Dg for emacs-orgmode@gnu.org; Fri, 18 Jan 2013 16:12:41 -0500 Received: from mail-wg0-x22a.google.com ([2a00:1450:400c:c00::22a]:54195) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TwJEu-0003be-7j for emacs-orgmode@gnu.org; Fri, 18 Jan 2013 16:12:40 -0500 Received: by mail-wg0-f42.google.com with SMTP id dr1so644555wgb.5 for ; Fri, 18 Jan 2013 13:12:39 -0800 (PST) In-Reply-To: <20130117132849.GA39115@BigDog.local> (Rick Frankel's message of "Thu, 17 Jan 2013 08:28:49 -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: emacs-orgmode@gnu.org Rick Frankel writes: > So, it seems that as long as there is a body (or blank) line after the > parent heading and you position the cursor on that line, it works > (point at X): > > #+begin_src org > * Title > X > ** heading 1 > text > ** heading 2 > ... > #+end_src > > But if there is no blank line after the "title", there is no way to > get the expected results with the point either on the title line or > the first asterix on heading 1: > > #+begin_src org > * Title > ** heading 1 > text > ** heading 2 > ... > #+end_src Indeed, you have to be within the subtree you want to export in order to effectively export it. In your example there's no such place, so there's no way to tell which subtree you want to be exported. This is a reasonable behaviour in my opinion. Regards, -- Nicolas Goaziou