From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: HTML Export Issue Date: Fri, 6 Feb 2009 12:50:38 +0100 Message-ID: <7FE76F24-E359-4468-9EE1-FB3059AD0352@gmail.com> References: <498B2A3D.3010902@gmail.com> <300AF715-F492-4F71-931B-563897EA161E@uva.nl> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LVPEM-0002Hj-Nl for emacs-orgmode@gnu.org; Fri, 06 Feb 2009 06:50:46 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LVPEK-0002GJ-Rd for emacs-orgmode@gnu.org; Fri, 06 Feb 2009 06:50:46 -0500 Received: from [199.232.76.173] (port=42582 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVPEK-0002G7-OX for emacs-orgmode@gnu.org; Fri, 06 Feb 2009 06:50:44 -0500 Received: from ug-out-1314.google.com ([66.249.92.172]:12179) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LVPEK-0002NF-5J for emacs-orgmode@gnu.org; Fri, 06 Feb 2009 06:50:44 -0500 Received: by ug-out-1314.google.com with SMTP id b39so27559ugd.17 for ; Fri, 06 Feb 2009 03:50:42 -0800 (PST) In-Reply-To: <300AF715-F492-4F71-931B-563897EA161E@uva.nl> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik , Giovanni Ridolfi Cc: Scott Randby , "[Orgmode]" On Feb 6, 2009, at 8:47 AM, Carsten Dominik wrote: > > On Feb 5, 2009, at 7:04 PM, srandby@gmail.com wrote: > >> Greetings: >> >> This is a small issue. I've just installed Org-6.21b, upgrading >> from Org-6.09 (yes, I'm behind). At the top of an org file I export >> to html, I have the "-*- mode: org; -*-" line even though I really >> don't need it. When I exported to html using 6.09, this line was >> ignored. When I export to html using 6.21b, this line is exported >> as a paragraph which appears at the top of html page: >> >>

-*- mode: org; -*- >>

>> >> Being a minor annoyance, I could just delete the line in question, >> but I recall there is some reason for me to keep this line. Is >> there any way to fix this? > > > Hi Scot, > > this may be due to the fact that the default value > of `org-export-skip-text-before-first-heading' changed > from t to nil at some point. In fact, I was wrong, there was a bug, also persistently reported by Giovanni, thanks for that! Fixed now. - Carsten > It seems that I have not > documented this change in Changes.org... :-( > > Bernt, or any other git guru, how can I find > out when I changed that default? I am sure there > is a clever way to do this? > > So you could configure this back to to t. However, > the better solution is to make the line you are > talking about a comment. > > # -*- mode: org; -*- > > This line is a way to enforce that Emacs will open the file > in Org-mode. > However, if you file has a .org extension and you have set up > auto-mode-alist to recognize .org files as explained in the manual > in the activation instructions, then this line is actually not > needed at all. > > HTH > > - Carsten >