[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] [BUG] #+begin_src wo. language blocks XHTML export
From: |
David Maus |
Subject: |
Re: [Orgmode] [BUG] #+begin_src wo. language blocks XHTML export |
Date: |
Mon, 05 Jul 2010 16:56:39 +0200 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
Sebastian Rose wrote:
>>
>> I suppose a source block without languag should be considered an
>> error, shouldn't it? Maybe Org should fail more gracefully when it
>> encounters such a block during export?
>The current behaviour is new. The file I tried to export worked for
>quite a while locally and on orgmode.org. The fallback was to behave
>like `#+begin_example', I believe.
>It can be considered an error, since the docs say:
> "...This is done with the ‘src’ block, where you also need to specify
> the name of the major mode that should be used to fontify the
> example..."
>But think of batch export.
>But I'd like to see some kind of error message, or better be asked for
>the language (i.e. a major-mode). The mode could be inserted after the
>`#+begin_src'.
If I understand the latest changes (i.e. integration of Babel into Org
core) than Babel is responsible for formatting the code blocks.
Merely I couldn't (yet) get the fingers into Babel's magic, but
definitely agree that there should be at least a more useful error
message
-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... address@hidden
Email..... address@hidden
pgpWd4wRMuJ7t.pgp
Description: PGP signature
- Re: [Orgmode] [BUG] #+begin_src wo. language blocks XHTML export, David Maus, 2010/07/04
- Re: [Orgmode] [BUG] #+begin_src wo. language blocks XHTML export, Sebastian Rose, 2010/07/04
- Re: [Orgmode] [BUG] #+begin_src wo. language blocks XHTML export,
David Maus <=
- Re: [Orgmode] [BUG] #+begin_src wo. language blocks XHTML export, Eric Schulte, 2010/07/08
- Re: [Orgmode] [BUG] #+begin_src wo. language blocks XHTML export, Thomas S. Dye, 2010/07/08
- Re: [Orgmode] [BUG] #+begin_src wo. language blocks XHTML export, Eric Schulte, 2010/07/10
- Re: [Orgmode] [BUG] #+begin_src wo. language blocks XHTML export, David Maus, 2010/07/12
- Re: [Orgmode] [BUG] #+begin_src wo. language blocks XHTML export, Carsten Dominik, 2010/07/12
- Re: [Orgmode] [BUG] #+begin_src wo. language blocks XHTML export, Eric Schulte, 2010/07/12
- Re: [Orgmode] [BUG] #+begin_src wo. language blocks XHTML export, Carsten Dominik, 2010/07/12
- Re: [Orgmode] [BUG] #+begin_src wo. language blocks XHTML export, Eric Schulte, 2010/07/12