emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Carsten Dominik <dominik@uva.nl>,
	Giovanni Ridolfi <giovanni.ridolfi@yahoo.it>
Cc: Scott Randby <srandby@gmail.com>, "[Orgmode]" <emacs-orgmode@gnu.org>
Subject: Re: HTML Export Issue
Date: Fri, 6 Feb 2009 12:50:38 +0100	[thread overview]
Message-ID: <7FE76F24-E359-4468-9EE1-FB3059AD0352@gmail.com> (raw)
In-Reply-To: <300AF715-F492-4F71-931B-563897EA161E@uva.nl>


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


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
>

  reply	other threads:[~2009-02-06 11:50 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
2009-02-06 11:50   ` Carsten Dominik [this message]
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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=7FE76F24-E359-4468-9EE1-FB3059AD0352@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=dominik@uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=giovanni.ridolfi@yahoo.it \
    --cc=srandby@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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