From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Title gets a 'nil' appended on org-export-subtree to html Date: Thu, 9 Feb 2012 13:43:41 -0600 Message-ID: References: <87mx8txjlq.wl%dmaus@ictsoc.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:53096) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvZuI-0008Po-8R for emacs-orgmode@gnu.org; Thu, 09 Feb 2012 14:43:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvZuD-0007r6-70 for emacs-orgmode@gnu.org; Thu, 09 Feb 2012 14:43:49 -0500 Received: from mail-bk0-f41.google.com ([209.85.214.41]:53515) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvZuC-0007pO-B4 for emacs-orgmode@gnu.org; Thu, 09 Feb 2012 14:43:45 -0500 Received: by bkty12 with SMTP id y12so2176925bkt.0 for ; Thu, 09 Feb 2012 11:43:41 -0800 (PST) In-Reply-To: <87mx8txjlq.wl%dmaus@ictsoc.de> 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: David Maus Cc: emacs-orgmode On Wed, Feb 8, 2012 at 12:31 PM, David Maus 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: =C2=A0<:t num:t tasks:nil tags:t >> >> * test >> ** sub 1 >> ** sub 2 >> ---------- >> >> If I go to the first headline, 'test', and do =3DC-c C-e 1 h=3D to expor= t >> the subtree as html, my filename/default title ends up as 'test nil.' >> >> If I export with =3DC-c C-e h=3D, I just end up with 'test.' >> >> If I remove =3Dtags:t=3D 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, > =C2=A0-- David