From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: [bug] ox-org.el subtree export appears broken Date: Wed, 06 Nov 2013 10:59:21 -0700 Message-ID: <87ppqd1kee.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37417) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ve7Om-0004Zp-FE for emacs-orgmode@gnu.org; Wed, 06 Nov 2013 13:00:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ve7Oh-0006tO-82 for emacs-orgmode@gnu.org; Wed, 06 Nov 2013 13:00:12 -0500 Received: from mail-pb0-x22e.google.com ([2607:f8b0:400e:c01::22e]:53536) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ve7Og-0006p3-VR for emacs-orgmode@gnu.org; Wed, 06 Nov 2013 13:00:07 -0500 Received: by mail-pb0-f46.google.com with SMTP id un15so4375167pbc.19 for ; Wed, 06 Nov 2013 10:00:05 -0800 (PST) Received: from bagel (c-174-56-50-60.hsd1.nm.comcast.net. [174.56.50.60]) by mx.google.com with ESMTPSA id wd6sm31046pab.3.2013.11.06.10.00.02 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Nov 2013 10:00:03 -0800 (PST) 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: Org Mode Mailing List --=-=-= Content-Type: text/plain Specifically, the title is not taken from the current heading, and subheadings are not promoted to the top level. Export the "Example Subtree" heading in the attached example file using the "subtree" option to demonstrate. Thanks, --=-=-= Content-Type: text/x-org Content-Disposition: inline; filename=minimal.org #+Title: Subtree Export Example * Top ** Problem I think subtree exports are broken using the Org-mode backend. I would expect the subtree title to become the exported page title, and all nested heading to be promoted to the top level, however this does not happen. This appears to work with other backends (confirmed with the html backend). ** Example Subtree With the point in this subtree I export using the =subtree= option. *** Nested subtree one Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec hendrerit tempor tellus. Donec pretium posuere tellus. Proin quam nisl, tincidunt et, mattis eget, convallis nec, purus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla posuere. Donec vitae dolor. Nullam tristique diam non turpis. Cras placerat accumsan nulla. Nullam rutrum. Nam vestibulum accumsan nisl. *** Nested subtree two Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec hendrerit tempor tellus. Donec pretium posuere tellus. Proin quam nisl, tincidunt et, mattis eget, convallis nec, purus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla posuere. Donec vitae dolor. Nullam tristique diam non turpis. Cras placerat accumsan nulla. Nullam rutrum. Nam vestibulum accumsan nisl. --=-=-= Content-Type: text/plain -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D --=-=-=--