emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Bastien <bzg@gnu.org>, Nicolas Goaziou <n.goaziou@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: BUG - Can't export subtree without TOC
Date: Sun, 19 Aug 2012 22:49:13 -0400	[thread overview]
Message-ID: <87k3wul1li.fsf@norang.ca> (raw)
In-Reply-To: 87fw7i5mka.fsf@norang.ca

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 <n.goaziou@gmail.com>
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 <bernt@norang.ca> 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 <bzg@gnu.org> 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,

  parent reply	other threads:[~2012-08-20  2:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-16  9:23 Offline until sunday eve -- please heavily test current HEAD Bastien
2012-08-16 19:14 ` Achim Gratz
2012-08-20 12:28   ` Bastien
2012-08-20  2:23 ` BUG - Can't export subtree without TOC Bernt Hansen
2012-08-20  2:40   ` Bastien
2012-08-20  2:51     ` Bernt Hansen
2012-08-20  2:49   ` Bernt Hansen [this message]
2012-08-20  3:41     ` Bastien
2012-08-20 23:15       ` Bernt Hansen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k3wul1li.fsf@norang.ca \
    --to=bernt@norang.ca \
    --cc=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).