Hey guys,

Regarding this: http://orgmode.org/manual/Batch-execution.html

I also had success using --script, as in:

#!/Applications/Emacs.app/Contents/MacOS/Emacs --script

In the top of a .el file. You can then chmod it to be executable and run it.

Just thought I'd share, as an alternative, but I'm not sure if there are any subtle differences, though.

Cheers,

- Marcelo.