Re: [O] [babel] Collection of code block snippets

2011-09-14 Thread Martyn Jago
Hi David David Maus dm...@ictsoc.de writes: Hi Martyn, At Sat, 10 Sep 2011 09:09:17 +0100, Martyn Jago wrote: I'll do some work on testing against version 23 and 22 and maybe put together a how-to get ERT on those earlier systems (on linux). Just read this through Org mode's patch

Re: [O] [babel] Collection of code block snippets

2011-09-13 Thread David Maus
Hi Martyn, At Sat, 10 Sep 2011 09:09:17 +0100, Martyn Jago wrote: I'll do some work on testing against version 23 and 22 and maybe put together a how-to get ERT on those earlier systems (on linux). Just read this through Org mode's patch tracker[1] and coincidentally started to work on the

Re: [O] [babel] Collection of code block snippets

2011-09-09 Thread Rainer M Krug
On Fri 09 Sep 2011 00:03:59 CEST, Martyn Jago wrote: Hi Eric Martyn Jago martyn.j...@btinternet.com writes: Hi Eric Eric Schulte schulte.e...@gmail.com writes: Hi Martyn, I have written a few more tests for inline source blocks execution with org-ctrl-c-ctrl-c (not extensive by any

Re: [O] [babel] Collection of code block snippets

2011-09-09 Thread Martyn Jago
Hi Rainer Rainer M Krug r.m.k...@gmail.com writes: [...] I just tried to run the tests, and I got the following error: rkrug@ecolmod:~$ emacs -Q -batch -L ~/.emacs.d/org-mode/lisp ~/.emacs.d/org-mode/testing -l org-test.el -eval (progn(setq org-confirm-babel-evaluate nil) \

Re: [O] [babel] Collection of code block snippets

2011-09-09 Thread Martyn Jago
Hi Eric Martyn Jago martyn.j...@btinternet.com writes: [...] One problem on my system is that emacs was using the wrong org mode since the newer org location wasn't known about. Also, the languages, emacs-lisp and sh need to be switched on (I thought emacs-lisp was on by default)? I was

Re: [O] [babel] Collection of code block snippets

2011-09-09 Thread Eric Schulte
I've fixed my typos in test-ob.el below. I've applied your previous patch along with this fix. Thanks! -- Eric -- Eric Schulte http://cs.unm.edu/~eschulte/

Re: [O] [babel] Collection of code block snippets

2011-09-09 Thread Eric Schulte
Martyn Jago martyn.j...@btinternet.com writes: Hi Eric Martyn Jago martyn.j...@btinternet.com writes: [...] One problem on my system is that emacs was using the wrong org mode since the newer org location wasn't known about. Also, the languages, emacs-lisp and sh need to be switched on

Re: [O] [babel] Collection of code block snippets

2011-09-08 Thread Martyn Jago
Hi Eric Eric Schulte schulte.e...@gmail.com writes: Hi Martyn Martyn Jago martyn.j...@btinternet.com writes: Hi Eric Eric Schulte schulte.e...@gmail.com writes: [...] I just made three small changes to the testing framework so it is now possible to run the test suite in batch mode

Re: [O] [babel] Collection of code block snippets

2011-09-08 Thread Eric Schulte
Hi Martyn, I have written a few more tests for inline source blocks execution with org-ctrl-c-ctrl-c (not extensive by any means). Thanks for adding these tests, I get 6 failures all with the same error [1], is that intentional? If not would you mind taking another look at this patch? The

Re: [O] [babel] Collection of code block snippets

2011-09-08 Thread Martyn Jago
Hi Eric Eric Schulte schulte.e...@gmail.com writes: Hi Martyn, I have written a few more tests for inline source blocks execution with org-ctrl-c-ctrl-c (not extensive by any means). Thanks for adding these tests, I get 6 failures all with the same error [1], is that intentional? If not

Re: [O] [babel] Collection of code block snippets

2011-09-08 Thread Martyn Jago
Hi Eric Martyn Jago martyn.j...@btinternet.com writes: Hi Eric Eric Schulte schulte.e...@gmail.com writes: Hi Martyn, I have written a few more tests for inline source blocks execution with org-ctrl-c-ctrl-c (not extensive by any means). Thanks for adding these tests, I get 6 failures

Re: [O] [babel] Collection of code block snippets

2011-09-07 Thread Rainer M Krug
On Tue, Sep 6, 2011 at 7:13 PM, Eric Schulte schulte.e...@gmail.com wrote: Hi Martyn, Martyn Jago martyn.j...@btinternet.com writes: Hi Rainer M Krug r.m.k...@gmail.com writes: [...] And if this could be done by the user to test .emacs configuration settings, that would

Re: [O] [babel] Collection of code block snippets

2011-09-07 Thread Martyn Jago
Hi Eric Eric Schulte schulte.e...@gmail.com writes: [...] I just made three small changes to the testing framework so it is now possible to run the test suite in batch mode with the following. emacs -Q --batch -l path/to/org/testing/org-test.el --eval (setq org-confirm-babel-evaluate

Re: [O] [babel] Collection of code block snippets

2011-09-07 Thread Martyn Jago
Hi Rainer Rainer M Krug r.m.k...@gmail.com writes: On Tue, Sep 6, 2011 at 7:13 PM, Eric Schulte schulte.e...@gmail.com wrote: Hi Martyn, Martyn Jago martyn.j...@btinternet.com writes: Hi Rainer M Krug r.m.k...@gmail.com writes: [...] emacs -Q --batch -l

Re: [O] [babel] Collection of code block snippets

2011-09-06 Thread Rainer M Krug
On Mon, Sep 5, 2011 at 6:54 PM, Eric Schulte schulte.e...@gmail.com wrote: Hi Rainer, Just as a sideline: would it be possible, to use this file to test babel (on a high level)?, i.e. collect all results and compare them with previous sets of results? Two problems I see with running

Re: [O] [babel] Collection of code block snippets

2011-09-06 Thread Eric Schulte
Hi Rainer, - exporting to some backend and checking the resulting export file would either leave out some results or possibly be very brittle to small changes (e.g., changes in the exporter backend) This might be actually be an advantage - if changes are detected, the exported file

Re: [O] [babel] Collection of code block snippets

2011-09-06 Thread Martyn Jago
Hi Rainer M Krug r.m.k...@gmail.com writes: [...] And if this could be done by the user to test .emacs configuration settings, that would be really great. That's a good idea. Simply running the Org-mode test suite is a good way for users to test the sanity of their local config.

Re: [O] [babel] Collection of code block snippets

2011-09-06 Thread Eric Schulte
Hi Martyn, Martyn Jago martyn.j...@btinternet.com writes: Hi Rainer M Krug r.m.k...@gmail.com writes: [...] And if this could be done by the user to test .emacs configuration settings, that would be really great. That's a good idea. Simply running the Org-mode test suite is a

Re: [O] [babel] Collection of code block snippets

2011-09-05 Thread Rainer M Krug
On Sun, Sep 4, 2011 at 6:35 PM, Eric Schulte schulte.e...@gmail.com wrote: Hi, As I fix bugs and address concerns raised on the mailing list I often write small snippets of Org-mode text to demonstrate features and exercise specific behaviors. I've been compiling these examples into a

Re: [O] [babel] Collection of code block snippets

2011-09-05 Thread Eric Schulte
Hi Rainer, Just as a sideline: would it be possible, to use this file to test babel (on a high level)?, i.e. collect all results and compare them with previous sets of results? Two problems I see with running these examples in a single large block 1. I'm not sure how to collect all of the

[O] [babel] Collection of code block snippets

2011-09-04 Thread Eric Schulte
Hi, As I fix bugs and address concerns raised on the mailing list I often write small snippets of Org-mode text to demonstrate features and exercise specific behaviors. I've been compiling these examples into a single massive scraps.org file which I've finally got around to publishing. This is