emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Re: Worg publishing broken?


From: Jason Dunsmore
Subject: Re: [Orgmode] Re: Worg publishing broken?
Date: Fri, 18 Feb 2011 10:19:11 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Bastien <address@hidden> writes:

> Matt Lundin <address@hidden> writes:
>
>> Would there be any way to get the Worg publishing script or export of
>> source code blocks to fail gracefully in these instances? 
>
> That would be helpful indeed.  
>
> As a first step, we could handle errors in a more clever way by using
> the variable `noninteractive', testing if Emacs is running in batch
> mode.  In batch mode, instead of blocking the export process with a
> (error ...), we could just logs problems.
>
> Let's collect places where errors can block the publishing process.

Sounds like a good approach.  I found a few using:

$ git log --oneline | grep -i export | egrep -i 
"fix|issue|broke|problem|error|resolve|correct|publish"

All the ones I found were related to Babel.

1) Used "shell" instead of "sh" for the source block mode.  Fixed by
   commit e4ed828.
2) Used "=<<code-block-name>>=" instead of ": <<code-block-name>>".
   Fixed by commit 90cb8cb.  When I tested this with by checking out
   90cb8cb and trying to export org-contrib/babel/org-babel.org, I got
   the error "org-babel-exp-lob-one-liners: Wrong type argument:
   stringp, nil".
3) Enclosing #+begin_src into #+begin_quote.  Fixed by commit fd3bca5.
   The error is: File mode specification error: (file-error "Cannot open
   load file" "html-helper-mode")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]