From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo de Moraes Serpa Subject: Batch execution and --script Date: Wed, 29 Aug 2012 10:47:22 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=485b397dd5bd8628c504c86979b4 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44149) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6kUG-0007NI-ND for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 11:47:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6kUF-0001Ya-Md for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 11:47:24 -0400 Received: from mail-qc0-f169.google.com ([209.85.216.169]:43324) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6kUF-0001YI-HT for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 11:47:23 -0400 Received: by qcsd16 with SMTP id d16so583341qcs.0 for ; Wed, 29 Aug 2012 08:47:22 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode --485b397dd5bd8628c504c86979b4 Content-Type: text/plain; charset=ISO-8859-1 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. --485b397dd5bd8628c504c86979b4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hey guys,


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 t= o be executable and run it.

Just thought I'd s= hare, as an alternative, but I'm not sure if there are any subtle diffe= rences, though.

Cheers,

- Marcelo.
--485b397dd5bd8628c504c86979b4-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Daly Subject: Re: Batch execution and --script Date: Wed, 29 Aug 2012 11:42:52 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59390) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6lLz-00088Y-BP for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 12:42:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6lLy-0004bU-3u for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 12:42:55 -0400 Received: from mail-vc0-f169.google.com ([209.85.220.169]:43158) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6lLx-0004bO-Vk for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 12:42:54 -0400 Received: by vcbfl13 with SMTP id fl13so1011704vcb.0 for ; Wed, 29 Aug 2012 09:42:53 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Marcelo de Moraes Serpa Cc: Org Mode 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 it to be executable and run it. Would you mind sharing a simple .el file you'd use that way? The site's example is a bash script, and I wonder how much cleaner a .el file would be. Nick From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo de Moraes Serpa Subject: Re: Batch execution and --script Date: Wed, 29 Aug 2012 12:50:40 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf300fb3bd772b0e04c86b3273 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33802) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6mPa-00051q-GV for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 13:50:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6mPZ-0002GG-6I for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 13:50:42 -0400 Received: from mail-qc0-f169.google.com ([209.85.216.169]:42110) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6mPZ-0002GC-1g for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 13:50:41 -0400 Received: by qcsd16 with SMTP id d16so714742qcs.0 for ; Wed, 29 Aug 2012 10:50:40 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nick Daly Cc: Org Mode --20cf300fb3bd772b0e04c86b3273 Content-Type: text/plain; charset=ISO-8859-1 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 blog. 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. The script basically exports a specific org file to markdown (in the same dir the org file is located). Now I want to make it accept command-line arguments. I will check it out tonight. Here it goes: http://pastie.org/4611632 This is pretty powerful, as you can also return data from the script by using princ. I can imagine millions of ways this could be used to integrate org with other apps/languages. - Marcelo. On Wed, Aug 29, 2012 at 11:42 AM, 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 the top of a .el file. You can then chmod it to be executable and run > it. > > Would you mind sharing a simple .el file you'd use that way? The > site's example is a bash script, and I wonder how much cleaner a .el > file would be. > > Nick > --20cf300fb3bd772b0e04c86b3273 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sure!

Bear in mind I'm not an elisp expert, and I go= t it working after a lot of trial and error. I'm using this script as p= art 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 j= ournal org file to a jekyll blog.

I also created a new function based off org-export-gene= ric called org-export-generic-markdown which can be called in a non-interac= tive way, so that it could work from the script.

The script basically exports a specific org file to markdown (in the same d= ir the org file is located). Now I want to make it accept command-line argu= ments. I will check it out tonight.

Here it goes:<= /div>


This is pretty powerful, as you can a= lso return data from the script by using princ. I can imagine millions of w= ays this could be used to integrate org with other apps/languages.

- Marcelo.


On Wed, Aug 29, 2012 at 11:42 AM, Nick Daly &= lt;nick.m.daly@g= mail.com> wrote:
On Wed, Aug 29, 2012 at 10= :47 AM, Marcelo de Moraes Serpa
<celoserpa@gmail.com> wrot= e:
> 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 r= un it.

Would you mind sharing a simple .el file you'd use that way? =A0T= he
site's example is a bash script, and I wonder how much cleaner a .el file would be.

Nick

--20cf300fb3bd772b0e04c86b3273-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Batch execution and --script Date: Wed, 29 Aug 2012 14:29:28 -0400 Message-ID: <3611.1346264968@alphaville> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56543) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6n19-00074H-88 for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 14:29:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6n18-0000Hl-7n for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 14:29:31 -0400 Received: from g4t0016.houston.hp.com ([15.201.24.19]:1570) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6n18-0000HM-2q for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 14:29:30 -0400 In-Reply-To: Message from Nick Daly of "Wed, 29 Aug 2012 11:42:52 CDT." List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nick Daly Cc: Org Mode , Marcelo de Moraes Serpa 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 the top of a .el file. You can then chmod it to be executable and run it. > > Would you mind sharing a simple .el file you'd use that way? The > site's example is a bash script, and I wonder how much cleaner a .el > file would be. > Marcelo posted a larger example, but maybe a very small example might be helpful. Put the following in some file (I called it hello.el but the name does not really matter): --8<---------------cut here---------------start------------->8--- #! /usr/local/bin/emacs --script (message "Hello World!") --8<---------------cut here---------------end--------------->8--- Make it executable: chmod +x hello.el and run it: ./hello.el Nick From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo de Moraes Serpa Subject: Re: Batch execution and --script Date: Wed, 29 Aug 2012 13:35:45 -0500 Message-ID: References: <3611.1346264968@alphaville> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=485b397dd5bdaa5f3804c86bd302 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39782) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6n7G-0002vs-9N for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 14:35:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6n7B-00031I-MK for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 14:35:50 -0400 Received: from mail-qa0-f41.google.com ([209.85.216.41]:50674) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6n7B-00031D-Gm for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 14:35:45 -0400 Received: by qafk30 with SMTP id k30so4603142qaf.0 for ; Wed, 29 Aug 2012 11:35:45 -0700 (PDT) In-Reply-To: <3611.1346264968@alphaville> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: Org Mode , Nick Daly --485b397dd5bdaa5f3804c86bd302 Content-Type: text/plain; charset=ISO-8859-1 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 the emacs GUI out of the equation). - Marcelo. On Wed, Aug 29, 2012 at 1:29 PM, Nick Dokos wrote: > 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 the top of a .el file. You can then chmod it to be executable and > run it. > > > > Would you mind sharing a simple .el file you'd use that way? The > > site's example is a bash script, and I wonder how much cleaner a .el > > file would be. > > > > Marcelo posted a larger example, but maybe a very small example might be > helpful. Put the following in some file (I called it hello.el but the > name does not really matter): > > --8<---------------cut here---------------start------------->8--- > #! /usr/local/bin/emacs --script > > (message "Hello World!") > --8<---------------cut here---------------end--------------->8--- > > Make it executable: > > chmod +x hello.el > > and run it: > > ./hello.el > > Nick > > --485b397dd5bdaa5f3804c86bd302 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 tonig= ht.

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 o= f the equation).

- Marcelo.



--485b397dd5bdaa5f3804c86bd302-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: Batch execution and --script Date: Wed, 29 Aug 2012 20:59:18 +0200 Message-ID: <87d329sewp.fsf@googlemail.com> References: <3611.1346264968@alphaville> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53773) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6nRH-0001Gl-43 for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 14:56:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6nRF-0001MD-MM for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 14:56:30 -0400 Received: from plane.gmane.org ([80.91.229.3]:49154) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6nRF-0001M3-FM for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 14:56:29 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1T6nRE-0005u6-Cl for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 20:56:28 +0200 Received: from e178054166.adsl.alicedsl.de ([85.178.54.166]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Aug 2012 20:56:28 +0200 Received: from tjolitz by e178054166.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Aug 2012 20:56:28 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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 - become more independent of the location of the emacs executable - pass more than one argument on the shebang line at the same time: ,----------------------------------------------------------------------------- | Many unix variants only allow a single argument to the program on | the shebang line. Sad, but true. If you use #!/usr/bin/env emacs so | as not to depend on the location of the emacs executable, you can't | pass an argument at all. | | Chaining scripts is a possibility on some systems, but that too is | not supported everywhere. | | You can go the time-honored route of writing a script that is both | a shell script and an Emacs Lisp script (like Perl's if | $running_under_some_shell, for example). It sure looks hackish, but | it works. | | Elisp comments begin with ;, which in the shell separates two | up commands. So we can use a ; followed by a shell instruction to | vote switch over to Emacs, with the actual Lisp code beginning on the | 21 next line. Shells don't like an empty command though, so we need to | down find something that both the shell and Emacs treat as a no-op, so | vote put before the ;. The shell no-op command is :; you can write it | ":" as far as the shell is concerned, and Emacs parses that as a | constant at top level which is also a no-op. | | #! /bin/sh | ":"; exec emacs --no-site-file --script "$0" -- "$@" # -*-emacs-lisp-*- | (print (+ 2 2)) `----------------------------------------------------------------------------- Maybe thats interesting for you. The full question is here: http://stackoverflow.com/questions/6238331/emacs-shell-scripts-how-to-put-initial-options-into-the-script -- cheers, Thorsten From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Batch execution and --script Date: Wed, 29 Aug 2012 15:13:31 -0400 Message-ID: <4514.1346267611@alphaville.americas.hpqcorp.net> References: <3611.1346264968@alphaville> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39785) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6nhn-0005yc-1L for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 15:13:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6nhl-00071I-R1 for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 15:13:34 -0400 Received: from g6t0185.atlanta.hp.com ([15.193.32.62]:26979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6nhl-000712-Ll for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 15:13:33 -0400 In-Reply-To: Message from Marcelo de Moraes Serpa of "Wed, 29 Aug 2012 13:35:45 CDT." List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Marcelo de Moraes Serpa Cc: Org Mode , Nick Daly 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: trivial "Hello World" example, followed by an org-specific example) is a good idea. For contributing to Worg, see the "Maintenance of Worg" section: http://orgmode.org/worg/#sec-4 > 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). Note that you could do this even before --script was invented: emacs --batch -l /path/to/somefile.el is exactly equivalent to the --script invocation of somefile.el, which in turn is more or less[fn:1] equivalent to stuffing the above command line into a bash script file, making *that* executable and running it. The --script method is a bit more convenient but it is just "syntactic sugar". Nick Footnotes: [fn:1] There is an extra fork/exec of bash in this method, but that's about it. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Batch execution and --script Date: Thu, 30 Aug 2012 07:34:18 +0200 Message-ID: <87k3whgcyt.fsf@altern.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43154) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6xON-0004td-Tx for emacs-orgmode@gnu.org; Thu, 30 Aug 2012 01:34:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6xON-0006zN-0C for emacs-orgmode@gnu.org; Thu, 30 Aug 2012 01:34:11 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:43921) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6xOM-0006zH-QA for emacs-orgmode@gnu.org; Thu, 30 Aug 2012 01:34:10 -0400 Received: by weys10 with SMTP id s10so844354wey.0 for ; Wed, 29 Aug 2012 22:34:10 -0700 (PDT) In-Reply-To: (Marcelo de Moraes Serpa's message of "Wed, 29 Aug 2012 12:50:40 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Marcelo de Moraes Serpa Cc: Org Mode , Nick Daly 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 should not rely on it write new code. It is obsoleted by org-export.el. -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Batch execution and --script Date: Tue, 27 Nov 2012 21:18:38 -0500 Message-ID: <87obiio4g1.fsf@norang.ca> References: <87k3whgcyt.fsf@altern.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59742) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdXEm-0003Yl-8d for emacs-orgmode@gnu.org; Tue, 27 Nov 2012 21:18:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TdXEi-0000pO-Sw for emacs-orgmode@gnu.org; Tue, 27 Nov 2012 21:18:56 -0500 Received: from mho-04-ewr.mailhop.org ([204.13.248.74]:30122 helo=mho-02-ewr.mailhop.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdXEi-0000pC-Ox for emacs-orgmode@gnu.org; Tue, 27 Nov 2012 21:18:52 -0500 In-Reply-To: <87k3whgcyt.fsf@altern.org> (Bastien's message of "Thu, 30 Aug 2012 07:34:18 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: Org Mode , Nick Daly , Marcelo de Moraes Serpa 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 handy for a while, developers should > not rely on it write new code. It is obsoleted by org-export.el. Hi Bastien, 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. Regards, Bernt From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Batch execution and --script Date: Tue, 04 Dec 2012 15:25:01 +0100 Message-ID: <878v9driyu.fsf@bzg.ath.cx> References: <87k3whgcyt.fsf@altern.org> <87obiio4g1.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46251) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tftp6-0005o7-Py for emacs-orgmode@gnu.org; Tue, 04 Dec 2012 09:50:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tftoy-0004bb-UD for emacs-orgmode@gnu.org; Tue, 04 Dec 2012 09:50:12 -0500 Received: from mail-wg0-f51.google.com ([74.125.82.51]:40863) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TftSm-00076A-6g for emacs-orgmode@gnu.org; Tue, 04 Dec 2012 09:27:08 -0500 Received: by mail-wg0-f51.google.com with SMTP id gg4so1745271wgb.30 for ; Tue, 04 Dec 2012 06:27:07 -0800 (PST) In-Reply-To: <87obiio4g1.fsf@norang.ca> (Bernt Hansen's message of "Tue, 27 Nov 2012 21:18:38 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bernt Hansen Cc: Org Mode , Marcelo de Moraes Serpa , Nick Daly 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