From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: HTML Export Issue Date: Fri, 6 Feb 2009 08:47:11 +0100 Message-ID: <300AF715-F492-4F71-931B-563897EA161E@uva.nl> References: <498B2A3D.3010902@gmail.com> 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 1LVM12-0003Xz-8u for emacs-orgmode@gnu.org; Fri, 06 Feb 2009 03:24:48 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LVM10-0003Xn-QN for emacs-orgmode@gnu.org; Fri, 06 Feb 2009 03:24:48 -0500 Received: from [199.232.76.173] (port=53950 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVM10-0003Xk-OA for emacs-orgmode@gnu.org; Fri, 06 Feb 2009 03:24:46 -0500 Received: from mx20.gnu.org ([199.232.41.8]:19353) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LVM10-00017U-EJ for emacs-orgmode@gnu.org; Fri, 06 Feb 2009 03:24:46 -0500 Received: from ug-out-1314.google.com ([66.249.92.173]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LVM0z-0007xV-Ng for emacs-orgmode@gnu.org; Fri, 06 Feb 2009 03:24:46 -0500 Received: by ug-out-1314.google.com with SMTP id b39so16641ugd.17 for ; Fri, 06 Feb 2009 00:24:44 -0800 (PST) In-Reply-To: <498B2A3D.3010902@gmail.com> 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: srandby@gmail.com Cc: "[Orgmode]" 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. 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