* HTML Export Issue
@ 2009-02-05 18:04 srandby
2009-02-06 7:47 ` Carsten Dominik
0 siblings, 1 reply; 4+ messages in thread
From: srandby @ 2009-02-05 18:04 UTC (permalink / raw)
To: [Orgmode]
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?
Scott Randby
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: HTML Export Issue
2009-02-05 18:04 HTML Export Issue srandby
@ 2009-02-06 7:47 ` Carsten Dominik
2009-02-06 11:50 ` Carsten Dominik
2009-02-06 15:23 ` Bernt Hansen
0 siblings, 2 replies; 4+ messages in thread
From: Carsten Dominik @ 2009-02-06 7:47 UTC (permalink / raw)
To: srandby; +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:
>
> <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.
HTH
- Carsten
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: HTML Export Issue
2009-02-06 7:47 ` Carsten Dominik
@ 2009-02-06 11:50 ` Carsten Dominik
2009-02-06 15:23 ` Bernt Hansen
1 sibling, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2009-02-06 11:50 UTC (permalink / raw)
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:
>>
>> <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
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: HTML Export Issue
2009-02-06 7:47 ` Carsten Dominik
2009-02-06 11:50 ` Carsten Dominik
@ 2009-02-06 15:23 ` Bernt Hansen
1 sibling, 0 replies; 4+ messages in thread
From: Bernt Hansen @ 2009-02-06 15:23 UTC (permalink / raw)
To: Carsten Dominik; +Cc: srandby, [Orgmode]
Carsten Dominik <dominik@science.uva.nl> writes:
> 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?
$ git log -S'string to find'
or
$ git gui blame FILE
- find the line you are interested in
- right click on it and 'blame parent commit'
repeatedly to walk back through the commit history
-Bernt
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-02-06 15:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-05 18:04 HTML Export Issue srandby
2009-02-06 7:47 ` Carsten Dominik
2009-02-06 11:50 ` Carsten Dominik
2009-02-06 15:23 ` Bernt Hansen
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).