From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Bjergaard Subject: Bug when exporting as html with (org-narrow-to-subtree) Date: Sat, 26 Jan 2013 13:40:29 -0500 Message-ID: <87y5ff6b4y.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35336) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TzAg7-0006pE-5G for emacs-orgmode@gnu.org; Sat, 26 Jan 2013 13:40:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TzAg5-0004WR-B4 for emacs-orgmode@gnu.org; Sat, 26 Jan 2013 13:40:35 -0500 Received: from mail-ye0-f174.google.com ([209.85.213.174]:54629) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TzAg5-0004Vo-61 for emacs-orgmode@gnu.org; Sat, 26 Jan 2013 13:40:33 -0500 Received: by mail-ye0-f174.google.com with SMTP id m3so225331yen.19 for ; Sat, 26 Jan 2013 10:40:31 -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: emacs-orgmode@gnu.org Hi, I'm not sure how to file bug reports but: When exporting to html with (org-narrow-to-subtree) headlines deeper than 2 levels won't get exported. Expected behavior: All subheadings should be exported to a level set by headline-levels in my org init, or H: in the #+OPTIONS: line. Steps to reproduce: Suppose the buffer contains: #+BEGIN_EXAMPLE * Daily Entries ** <2013-01-14 Mon> Dated Entry 1 :export: This is exported *** Lorem ipsom: Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec hendrerit tempor tellus. Subheadings and further nesting isn't... **** Not Exported Still not exported... ** <2013-01-15 Tue> Another Dated entry :export: Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec hendrerit tempor tellus. *** Not Exported #+END_EXAMPLE Placing the cursor at line 2 and calling (org-narrow-to-subtree) results in: #+BEGIN_EXAMPLE ** <2013-01-14 Mon> Dated Entry 1 :export: This is exported *** Lorem ipsom: Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec hendrerit tempor tellus. Subheadings and further nesting isn't... **** Not Exported Still not exported... #+END_EXAMPLE Then calling any of (org-export-as-html-*) results in only the "This is exported" text, the remaining text is missing. Cheers, Dave