From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: BUG - Can't export subtree without TOC Date: Sun, 19 Aug 2012 22:49:13 -0400 Message-ID: <87k3wul1li.fsf@norang.ca> References: <87r4r7mbqc.fsf@altern.org> <87fw7i5mka.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48807) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3I3K-00078Z-4y for emacs-orgmode@gnu.org; Sun, 19 Aug 2012 22:49:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T3I3J-0006iQ-2i for emacs-orgmode@gnu.org; Sun, 19 Aug 2012 22:49:18 -0400 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: Bastien , Nicolas Goaziou Cc: emacs-orgmode@gnu.org Adding Nicolas. Hi Bastien, The following org file shows the problem for me C-c @ on the '* Export me' task and C-c C-e b also selects the following task during export. --8<---------------cut here---------------start------------->8--- * Export me :PROPERTIES: :EXPORT_OPTIONS: toc:nil :END: [2012-08-19 Sun 22:08] details go here * Some other subtree [2012-08-19 Sun 22:36] Don't export me --8<---------------cut here---------------end--------------->8--- This commit causes the problem according to git bisect --8<---------------cut here---------------start------------->8--- d70f965486fc890af199d3dd8c9ed9a8fb88f16b is the first bad commit commit d70f965486fc890af199d3dd8c9ed9a8fb88f16b Author: Nicolas Goaziou Date: Tue Aug 7 13:30:09 2012 +0200 Do not make a special case for inlinetasks when marking a subtree * lisp/org.el (org-mark-subtree): Do not make a special case for inlinetasks when marking a subtree. These are handled by `org-element-mark-element'. * testing/lisp/test-org.el: Add test. :040000 040000 a0e9c712347bf7d93a60d87ac88374fa30a50ab6 43501283c2ae8624662e6c541ff0965b8367c662 M lisp :040000 040000 5c63d61e5fa36917634bca2773ae0179cf2c1b0e 77c6bd7bf06a67fbc11114dde3cbe11b0c21bbcb M testing --8<---------------cut here---------------end--------------->8--- Let me know if you need additional information. Thanks, Bernt Bernt Hansen writes: > Hi Bastien, > > I want to export a subtree with a EXPORT_OPTIONS property which turns > off the table of contents. > > This works fine in release_7.8.11 but not in the current git master. > > **** Export me > :PROPERTIES: > :EXPORT_OPTIONS: toc:nil > :END: > [2012-08-19 Sun 22:08] > > Details follow > > Org-mode version 7.8.11 (release_7.8.11 @ /home/bernt/git/org-mode/lisp/) > GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11 on raven, modified by Debian > > C-c @ on this entry and C-c C-e d always includes the TOC. > > I'll try to determine the commit that breaks this. > > Regards, > Bernt > > > Bastien writes: > >> Hi all, >> >> I will be offline until sunday eve. >> >> Please heavily test the current HEAD of the git repository. >> If you have bugs that you didn't send to the list, please do >> it now. >> >> Thanks,