* Title gets a 'nil' appended on org-export-subtree to html
@ 2012-02-07 18:46 John Hendy
2012-02-08 18:31 ` David Maus
0 siblings, 1 reply; 3+ messages in thread
From: John Hendy @ 2012-02-07 18:46 UTC (permalink / raw)
To: emacs-orgmode
I got some weird behavior on a file, so I recreated a smaller example
and can reproduce it. Here it is:
----------
#+options: <:t num:t tasks:nil tags:t
* test
** sub 1
** sub 2
----------
If I go to the first headline, 'test', and do =C-c C-e 1 h= to export
the subtree as html, my filename/default title ends up as 'test nil.'
If I export with =C-c C-e h=, I just end up with 'test.'
If I remove =tags:t= from the options line, the 'nil' also goes away.
Any thoughts on why this is happening?
Thanks,
John
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Title gets a 'nil' appended on org-export-subtree to html
2012-02-07 18:46 Title gets a 'nil' appended on org-export-subtree to html John Hendy
@ 2012-02-08 18:31 ` David Maus
2012-02-09 19:43 ` John Hendy
0 siblings, 1 reply; 3+ messages in thread
From: David Maus @ 2012-02-08 18:31 UTC (permalink / raw)
To: John Hendy; +Cc: emacs-orgmode
Hi John,
At Tue, 7 Feb 2012 12:46:30 -0600,
John Hendy wrote:
>
> I got some weird behavior on a file, so I recreated a smaller example
> and can reproduce it. Here it is:
>
> ----------
>
> #+options: <:t num:t tasks:nil tags:t
>
> * test
> ** sub 1
> ** sub 2
> ----------
>
> If I go to the first headline, 'test', and do =C-c C-e 1 h= to export
> the subtree as html, my filename/default title ends up as 'test nil.'
>
> If I export with =C-c C-e h=, I just end up with 'test.'
>
> If I remove =tags:t= from the options line, the 'nil' also goes away.
>
> Any thoughts on why this is happening?
I can confirm the bug and it should be fixed in master.
What happend was that Org grabbed the document title from the headline
(good) and tags:t told Org to include the tags (Okay), but then Org
forgot to check if there are actually tags in the headline when
creating the document title with a `format' w/ a placeholder for the
tags.
Best,
-- David
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Title gets a 'nil' appended on org-export-subtree to html
2012-02-08 18:31 ` David Maus
@ 2012-02-09 19:43 ` John Hendy
0 siblings, 0 replies; 3+ messages in thread
From: John Hendy @ 2012-02-09 19:43 UTC (permalink / raw)
To: David Maus; +Cc: emacs-orgmode
On Wed, Feb 8, 2012 at 12:31 PM, David Maus <dmaus@ictsoc.de> wrote:
> Hi John,
>
> At Tue, 7 Feb 2012 12:46:30 -0600,
> John Hendy wrote:
>>
>> I got some weird behavior on a file, so I recreated a smaller example
>> and can reproduce it. Here it is:
>>
>> ----------
>>
>> #+options: <:t num:t tasks:nil tags:t
>>
>> * test
>> ** sub 1
>> ** sub 2
>> ----------
>>
>> If I go to the first headline, 'test', and do =C-c C-e 1 h= to export
>> the subtree as html, my filename/default title ends up as 'test nil.'
>>
>> If I export with =C-c C-e h=, I just end up with 'test.'
>>
>> If I remove =tags:t= from the options line, the 'nil' also goes away.
>>
>> Any thoughts on why this is happening?
>
> I can confirm the bug and it should be fixed in master.
>
> What happend was that Org grabbed the document title from the headline
> (good) and tags:t told Org to include the tags (Okay), but then Org
> forgot to check if there are actually tags in the headline when
> creating the document title with a `format' w/ a placeholder for the
> tags.
Did a fresh pull and make and this does appear to be solved. Thanks!
John
>
> Best,
> -- David
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-02-09 19:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-07 18:46 Title gets a 'nil' appended on org-export-subtree to html John Hendy
2012-02-08 18:31 ` David Maus
2012-02-09 19:43 ` John Hendy
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.