From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Frankel Subject: Bug (?) in new exporter (export subtree) Date: Tue, 15 Jan 2013 15:36:29 -0500 Message-ID: <20130115203629.GA25867@BigDog.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56716) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvDFJ-00064E-8v for emacs-orgmode@gnu.org; Tue, 15 Jan 2013 15:36:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvDFG-0001Co-S3 for emacs-orgmode@gnu.org; Tue, 15 Jan 2013 15:36:33 -0500 Received: from [204.62.15.78] (port=59618 helo=mail.rickster.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvDFG-0001Ch-NL for emacs-orgmode@gnu.org; Tue, 15 Jan 2013 15:36:30 -0500 Received: from BigDog.local (pool-71-190-193-126.nycmny.fios.verizon.net [71.190.193.126]) by mail.rickster.com (Postfix) with ESMTPS id A0E94253C5 for ; Tue, 15 Jan 2013 15:36:30 -0500 (EST) Content-Disposition: inline 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 In the new exporter, when the option to export only the subtree is specified, the first heading in the subtree is used as the title of the document. This seems wrong, as it becomes the title, the first element in the table of contents and the first (not necessarily the top level) section in the document. When the document is explicitly narrowed to the subtree, or the subtree is the selected region, the #+Title: attribute is used for the document title, which seems to be better. Arguably, using the subtree heading for the title would be the most logical solution when exporting a subtree -- in my case that would usually DWIM. rick