emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: srandby@gmail.com
Cc: "[Orgmode]" <emacs-orgmode@gnu.org>
Subject: Re: HTML Export Issue
Date: Fri, 6 Feb 2009 08:47:11 +0100	[thread overview]
Message-ID: <300AF715-F492-4F71-931B-563897EA161E@uva.nl> (raw)
In-Reply-To: <498B2A3D.3010902@gmail.com>

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:
> <p>-*- mode: org; -*-
> </p>
> 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.


- Carsten

  reply	other threads:[~2009-02-06  8:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-05 18:04 HTML Export Issue srandby
2009-02-06  7:47 ` Carsten Dominik [this message]
2009-02-06 11:50   ` Carsten Dominik
2009-02-06 15:23   ` 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:

  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=300AF715-F492-4F71-931B-563897EA161E@uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=srandby@gmail.com \


* 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


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).