Re: [O] Batch execution and --script

2012-12-04 Thread Bastien
Hi Bernt, Bernt Hansen writes: > I suggest you put a notice at the top of org-export-generic.el with this > notice and suggest future developers use org-export.el instead. Good idea -- done. Thanks, -- Bastien

Re: [O] Batch execution and --script

2012-11-27 Thread Bernt Hansen
Bastien writes: > Hi Marcelo, > > Marcelo de Moraes Serpa writes: > >> I also created a new function based off org-export-generic called >> org-export-generic-markdown which can be called in a non-interactive >> way, so that it could work from the script. > > NB: While org-export-generic.el was

Re: [O] Batch execution and --script

2012-08-29 Thread Bastien
Hi Marcelo, Marcelo de Moraes Serpa writes: > I also created a new function based off org-export-generic called > org-export-generic-markdown which can be called in a non-interactive > way, so that it could work from the script. NB: While org-export-generic.el was handy for a while, developers

Re: [O] Batch execution and --script

2012-08-29 Thread Nick Dokos
Marcelo de Moraes Serpa wrote: > Is that somewhere in the manual or Worg? Perhaps it should be added. I > never contributed to Worg, I will look into how tonight. The --script is described in the emacs manual, but no example is provided. Adding it to Worg (maybe with a two-stage explanation: tr

Re: [O] Batch execution and --script

2012-08-29 Thread Thorsten Jolitz
Marcelo de Moraes Serpa writes: Hi Marcelo, > This is a subject that should be explored more. I see a lot of > potential in having CLI .el scripts (i.e taking the emacs GUI out of > the equation). I once asked a related question on stackoverflow, and recieved this answer that shows how to - be

Re: [O] Batch execution and --script

2012-08-29 Thread Marcelo de Moraes Serpa
Hi Nick, Thanks for turning it into a concise example :) Is that somewhere in the manual or Worg? Perhaps it should be added. I never contributed to Worg, I will look into how tonight. This is a subject that should be explored more. I see a lot of potential in having CLI .el scripts (i.e taking

Re: [O] Batch execution and --script

2012-08-29 Thread Nick Dokos
Nick Daly wrote: > On Wed, Aug 29, 2012 at 10:47 AM, Marcelo de Moraes Serpa > wrote: > > 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

Re: [O] Batch execution and --script

2012-08-29 Thread Marcelo de Moraes Serpa
Sure! Bear in mind I'm not an elisp expert, and I got it working after a lot of trial and error. I'm using this script as part of a quickblogging engine I'm writing for org (still testing, will share once it works as expected) so that I can blog from directly from my journal org file to a jekyll b

Re: [O] Batch execution and --script

2012-08-29 Thread Nick Daly
On Wed, Aug 29, 2012 at 10:47 AM, Marcelo de Moraes Serpa wrote: > 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