[O] [PATCH] Fixes to inline src block execution

2011-09-05 Thread Martyn Jago
| was broken beyond | here `-- Also fixes to inline src block execution where the inline src block happens to be on the first line of a buffer. I've included tests and test data. Regards Martyn From b559789474920f0471f5844b4675be67a74a8283 Mon Sep 17 00:00:00 2001 From: Martyn Jago

Re: [O] [PATCH] Fixes to inline src block execution

2011-09-06 Thread Martyn Jago
Eric Schulte schulte.e...@gmail.com writes: Hi Eric Martyn Jago martyn.j...@btinternet.com writes: Hi Some fixes to inline src block execution via org-ctrl-c-ctrl-c where point is beyond white-space in the inline src block body... * Start Pomodoro src_emacs-lisp[:results silent]{( org

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-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 path/to/org/testing/org

Re: [O] Reminders with alarms

2011-09-07 Thread Martyn Jago
Hi Stephen Nelson-Smith sanel...@gmail.com writes: Hi there, I'm just starting to explore orgmode. I'm an experienced GTD-er (6 yrs) and have looked with interest at a few articles on using orgmode for this. The one area I can't seem to work out is how to set a reminder with an alarm and

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 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-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

[O] [patch] call execution tests

2011-09-10 Thread Martyn Jago
Sep 17 00:00:00 2001 From: Martyn Jago martyn.j...@btinternet.com Date: Sat, 10 Sep 2011 18:26:46 +0100 Subject: [PATCH] Preliminary tests for inline call execution (focussing on results placement) * testing/org-test.el: Added =org-test-get-before-after= for grabbing before/after blocks for test

[O] [patch] fix 22.x compatibility test issue

2011-09-11 Thread Martyn Jago
Replace left-char with backward-char for backward compatibility in =test-org-babel/org-babel-get-inline-src-block-matches= From 08bfac66d69ed6ce739d58710f06444b6f43fb94 Mon Sep 17 00:00:00 2001 From: Martyn Jago martyn.j...@btinternet.com Date: Sun, 11 Sep 2011 21:17:40 +0100 Subject: [PATCH

Re: [O] FYI: Org mode testing framework, Emacs 23 and 22

2011-09-11 Thread Martyn Jago
Hi David David Maus dm...@ictsoc.de writes: [...] F test-org-babel/org-babel-get-inline-src-block-matches (void-function left-char) I've pushed a patch to the mailing-list which should fix the above test in Emacs 22. I will take a look at the fortran related tests when I get a chance.

[O] [patch][test] Remove jump.el dependency from test execution

2011-09-12 Thread Martyn Jago
is to document the test helper availability to aid development in the test documentation I am about to generate. Best, Martyn From b3111a4ea6b2e5b134634c7eebf27a210529df58 Mon Sep 17 00:00:00 2001 From: Martyn Jago martyn.j...@btinternet.com Date: Mon, 12 Sep 2011 16:50:28 +0100 Subject: [PATCH

[O] [patch][test] Add missing FSF / author headers / org-test dependency to test files

2011-09-12 Thread Martyn Jago
Add missing FSF / author headers and org-test dependency to some test files. Best, Martyn From 39d437176f288d56dfdb2ccfabbfb712f9ce8504 Mon Sep 17 00:00:00 2001 From: Martyn Jago martyn.j...@btinternet.com Date: Mon, 12 Sep 2011 17:07:21 +0100 Subject: [PATCH] Add missing FSF / author headers

Re: [O] [babel] Export problem (Wrong type argument: consp, nil)

2011-09-14 Thread Martyn Jago
Hi Sebastien Sebastien Vauban wxhgmqzgw...@spammotel.com writes: Hi Eric, Eric Schulte wrote: Sebastien Vauban wxhgmqzgw...@spammotel.com writes: If there is no value assigned to the code block... ... there is no an error when exporting: #+begin_src text Debugger entered--Lisp error:

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] Overall organization/setup for org mode: Projects and Tasks

2011-09-14 Thread Martyn Jago
Hi Russell Russell Adams rlad...@adamsinfoserv.com writes: [...] I hope that helps. Thanks. -- Russell Adamsrlad...@adamsinfoserv.com PGP Key ID: 0x1160DCB3

[O] [PATCH] Modifications to enable test script to run with emacs-23 and emacs-22

2011-09-20 Thread Martyn Jago
Hi With this patch, the command-line test script now passes all tests on Emacs 24, 23 and 22. On 23 and 22, testing directory should include ert.el and ert-x.el Best, Martyn From 6ab323b099f55462f690d44f6ad482c962461a97 Mon Sep 17 00:00:00 2001 From: Martyn Jago martyn.j...@btinternet.com

Re: [O] [babel] Trying to add ERT test cases

2011-09-20 Thread Martyn Jago
Hi Eric Eric Schulte schulte.e...@gmail.com writes: Martyn Jago martyn.j...@btinternet.com writes: [...] (ert-deftest ob-tangle/speed-command-r () (let ((org-use-speed-commands t)) (with-temp-buffer (org-mode) (insert * Speed command) (goto-char (point-at-bol

Re: [O] [babel] Trying to add ERT test cases

2011-09-20 Thread Martyn Jago
a fix so this should now be solved. Thanks for the catch -- Eric Thanks, that works great. I've updated test-ob.el to use the macro and include a patch. Best, Martyn From bb1680342b890dbe5562878a59655b5754ab5ef3 Mon Sep 17 00:00:00 2001 From: Martyn Jago martyn.j...@btinternet.com Date: Wed, 21

Re: [O] [babel] BUG in :session

2011-09-21 Thread Martyn Jago
Hi Eric Eric Schulte schulte.e...@gmail.com writes: Hi Rainer, Thanks for finding this bug, I introduced it in one of my recent changes. I've just pushed up a fix and a test case. Best -- Eric Unfortunately this test introduces an external dependency for R (which I haven't currently got

Re: [O] [babel] BUG in :session

2011-09-21 Thread Martyn Jago
Hi Sebastien and Eric Sebastien Vauban wxhgmqzgw...@spammotel.com writes: Hi Eric and Martyn, Eric Schulte wrote: Martyn Jago martyn.j...@btinternet.com writes: Unfortunately this test introduces an external dependency for R (which I haven't currently got on my system so fails here

Re: [O] [babel] BUG in :session

2011-09-23 Thread Martyn Jago
Hi Eric Eric Schulte schulte.e...@gmail.com writes: Hi Martyn, I've just pushed up what will hopefully be a more general solution. Basically, language-specific test files can now signal errors if they have unmet dependencies. These are then intercepted by `org-test-load' and the file is

Re: [O] [babel] BUG in :session

2011-09-23 Thread Martyn Jago
Hi Eric Eric Schulte schulte.e...@gmail.com writes: Martyn Jago martyn.j...@btinternet.com writes: Hi Eric Eric Schulte schulte.e...@gmail.com writes: Hi Martyn, I've just pushed up what will hopefully be a more general solution. Basically, language-specific test files can now signal

Re: [O] [PATCH] Modifications to enable test script to run with emacs-23 and emacs-22

2011-09-25 Thread Martyn Jago
Hi David David Maus dm...@ictsoc.de writes: Hi Eric, Hi Martyn, At Tue, 20 Sep 2011 09:03:27 -0600, Eric Schulte wrote: Applied, Thanks! -- Eric I noticed that newlines in the commit messages of patches by Martyn are somehow messed up: , | Modifications to enable test script to

Re: [O] [babel] BUG in :session

2011-09-25 Thread Martyn Jago
Hi Eric Eric Schulte schulte.e...@gmail.com writes: Martyn Jago martyn.j...@btinternet.com writes: Hi Eric Eric Schulte schulte.e...@gmail.com writes: Martyn Jago martyn.j...@btinternet.com writes: Hi Eric Eric Schulte schulte.e...@gmail.com writes: Hi Martyn, I've just pushed up

Re: [O] [babel] BUG in :session

2011-09-25 Thread Martyn Jago
Hi Sebastien Sebastien Vauban wxhgmqzgw...@spammotel.com writes: Hi Martyn and Eric, Martyn Jago wrote: Eric Schulte schulte.e...@gmail.com writes: Martyn Jago martyn.j...@btinternet.com writes: Eric Schulte schulte.e...@gmail.com writes: I've just pushed up what will hopefully be a more

[O] Registration for Worg commit access

2011-10-06 Thread Martyn Jago
Hi Would it be possible for someone to provide we with commit access to Worg? I'm adding and updating documentation for various testing activities. I've registered with repo.org.cz and added my key user name: mjago Best, Martyn

Re: [O] Registration for Worg commit access

2011-10-07 Thread Martyn Jago
Hi Jason Jason Dunsmore jasondunsm...@gmail.com writes: Martyn Jago martyn.j...@btinternet.com writes: Hi Would it be possible for someone to provide we with commit access to Worg? Hi Martyn, Here are the instructions for contributing to Worg: http://orgmode.org/worg/worg-git.html

[O] [patch][babel] Patch to fix regression (commit 53573d6)

2011-10-07 Thread Martyn Jago
Hi Patch to fix regression caused by commit 53573d6 (lisp/ob-shen.el causes isolated tests to fail). See http://martynjago.com:/ Best, Martyn From 18e67dae6ac7c9ec8bfee9d53358e379b0e1ece1 Mon Sep 17 00:00:00 2001 From: Martyn Jago martyn.j...@btinternet.com Date: Fri, 7 Oct 2011 15:37:02

Re: [O] GNU Emacs crashing on large Orgmode files

2011-10-13 Thread Martyn Jago
Hi Karl Karl Voit devn...@karl-voit.at writes: * Marcelo de Moraes Serpa celose...@gmail.com wrote: Hi list, Hi individual! I love org and I think there's nothing like it out there, Ack! but I'm considering using Evernote for reference notes, because my reference.orgfile has grown

Re: [O] [RFC] Standardized code block keywords

2011-10-25 Thread Martyn Jago
Nick Dokos nicholas.do...@hp.com writes: Eric Schulte schulte.e...@gmail.com wrote: Surprisingly (to me) srcname is the winner here, but luckily I haven't yet voted, and although I would have though #+source: would have been the winner I like the simplicity of using #+name: for named code

Re: [O] FYI: Org mode testing framework, Emacs 23 and 22

2011-10-25 Thread Martyn Jago
Hi Brian Wightman midlife...@wightmanfam.org writes: On Mon, Oct 24, 2011 at 7:12 AM, Sebastien Vauban wxhgmqzgw...@spammotel.com wrote: For my information, why do you need to test that 2 suites don't run at the same time?  They only write to temp buffers, no?  Can they conflict? If they

Re: [O] [test] Failure on GNU Emacs 22.3.2 (i686-pc-linux-gnu) of 2011-05-28 on x60s

2011-11-07 Thread Martyn Jago
David Maus dm...@ictsoc.de writes: Running the test suit on GNU Emacs 22.3.2 (i686-pc-linux-gnu) of 2011-05-28 on x60s currently fails with the backtrace below. Somehwere/somehow Babel ends up calling `member' with the second argument not being a list. In Emacs22 this triggers an error,

[O] [bug] regression tests broken

2011-11-11 Thread Martyn Jago
Hi All automated regression tests broken since 7720786 commit http://martynjago.com: Best, Martyn

Re: [O] [bug] regression tests broken

2011-11-12 Thread Martyn Jago
that use cruisecontrolrb. Your server would need Ruby installed (I use v1.9.2), but installation should be straight-forward since I have already written the scripts, which is fairly simple anyway. Hope that helps Best Martyn Thanks -- Eric Martyn Jago martyn.j...@btinternet.com writes: Hi All

Re: [O] [bug] regression tests broken

2011-11-13 Thread Martyn Jago
Martyn Jago martyn.j...@btinternet.com writes: Hi Eric [...] Further to the problem of tests failing under sandboxed conditions unexpectedly, I've made a few observations which I want to pass on. * ID Currently the ID searching command `org-id-find' has global scope to find ID's all over

Re: [O] [bug] regression tests broken

2011-11-13 Thread Martyn Jago
during test development. Below is a patch that fixes this problem for me. From b868e208dd3ece7c10818ed73f2cf0dc86dac94b Mon Sep 17 00:00:00 2001 From: Martyn Jago martyn.j...@btinternet.com Date: Sun, 13 Nov 2011 16:03:51 + Subject: [PATCH] Fix don't load symlinks (Emacs interlocking files

Re: [O] [bug] regression tests broken

2011-11-13 Thread Martyn Jago
prior the actual deployment (currently on OSX). Best, Martyn Thanks -- Eric Best Martyn Thanks -- Eric Martyn Jago martyn.j...@btinternet.com writes: Hi All automated regression tests broken since 7720786 commit http://martynjago.com: Best, Martyn

[O] [bug][babel] #+call: execution broken

2011-11-17 Thread Martyn Jago
in example or verbatim blocks I've supplied a patch which provides a couple of failing tests which highlight the problem. Best, Martyn From 68a64d29222548eff3f414b8881f583f50ea4a96 Mon Sep 17 00:00:00 2001 From: Martyn Jago martyn.j...@btinternet.com Date: Thu, 17 Nov 2011 12:33:08 + Subject

Re: [O] [bug][babel] #+call: execution broken

2011-11-18 Thread Martyn Jago
Eric Schulte schulte.e...@gmail.com writes: Martyn Jago martyn.j...@btinternet.com writes: Hi C-c C-c on a #+call: block() statement no longer causes the block to execute. This regression occurred on Nov 8th: commit a4273cbe0e0480bd02c59464cafb985951b1c5a2 Author: Eric Schulte

[O] Export #+call: within example block

2011-11-18 Thread Martyn Jago
Hi Is there a way to export the following, is this a bug, or is there a work-around (to HTML)? --8---cut here---start-8--- #+begin_example #+call: rubbish() #+end_example --8---cut here---end---8--- For instance this

Re: [O] Export #+call: within example block

2011-11-18 Thread Martyn Jago
Eric Schulte schulte.e...@gmail.com writes: Thanks Eric - sorted my script. Best, Martyn Hi Martyn, Thanks for pointing out this bug. I've just pushed up a fix and a test case. Cheers -- Eric Martyn Jago martyn.j...@btinternet.com writes: Hi Is there a way to export

Re: [O] Bugs in lisp/ob-lilypond.el

2011-11-19 Thread Martyn Jago
Hi Torston Torsten Anders torsten.and...@beds.ac.uk writes: Also, the setting results: silent seems to be ignored. Best wishes, Torsten On 19 Nov 2011, at 15:22, Torsten Anders wrote: Dear Martyn Jago, dear all, I just pulled the latest version of Org mode and noticed a few bugs

[O] [babe] :var assignment no longer of tolerant of whitespace

2011-11-20 Thread Martyn Jago
Hi It used to be the case that you could assign a variable and any whitespace would be chomped: --8---cut here---start-8--- #+begin_src emacs-lisp :var a = 1 :var b = 2 (+ a b) #+end_src --8---cut here---end---8---

[O] [babel] :var assignment no longer tolerant of whitespace

2011-11-20 Thread Martyn Jago
Martyn Jago martyn.j...@btinternet.com writes: (Fixed typos in heading) Hi It used to be the case that you could assign a variable and any whitespace would be chomped: #+begin_src emacs-lisp :var a = 1 :var b = 2 (+ a b) #+end_src However it is now required to remove the whitespace

Re: [O] [babel] :var assignment no longer tolerant of whitespace

2011-11-21 Thread Martyn Jago
Eric Schulte schulte.e...@gmail.com writes: Hi Eric Hi Martyn, Tom mentioned this regression earlier and I treated it as a new restriction on variable specifications, but if multiple people are running into this issue I suppose spaces around equals should be supported. I have just pushed

Re: [O] [ANN] Org Elements in contrib

2011-11-21 Thread Martyn Jago
Nicolas Goaziou n.goaz...@gmail.com writes: Hi Nicolas Hello, I've added org-element.el in contrib directory. It is a complete parser and interpreter for Org syntax. While it was written to be extensible, it is also an attempt to normalize current syntax and provide guidance for its

Re: [O] Bugs in lisp/ob-lilypond.el

2011-11-21 Thread Martyn Jago
Martyn Jago martyn.j...@btinternet.com writes: Hi Torsten Hi Torston Torsten Anders torsten.and...@beds.ac.uk writes: Also, the setting results: silent seems to be ignored. Best wishes, Torsten On 19 Nov 2011, at 15:22, Torsten Anders wrote: Dear Martyn Jago, dear all, I just

[O] Updating Worg re standard source block syntax

2011-11-22 Thread Martyn Jago
Hi There are literally hundreds of uses of #+srcname and #+source within Worg - should I be updating these to #+name ? In other words, does Worg reflect the last official release (the Emacs release), or the bleeding edge (I tend to assume the latter because of the Org community spirit of Worg),

Re: [O] [BUG] org-table: time difference delivers wrong results

2011-11-23 Thread Martyn Jago
Daniel Bausch danielbau...@gmx.de writes: Anyone? It might be a duplicate of what Gustav Wiktröm reported on 1st of September, but his problem was not resolved, either. Daniel Am Dienstag 15. November 2011, 22:12:45 schrieb Daniel Bausch: Hello list, consider the following example: |

Re: [O] [BUG] org-table: time difference delivers wrong results

2011-11-23 Thread Martyn Jago
Martyn Jago martyn.j...@btinternet.com writes: Apologies I had a typo - please ignore the previous mail. So this looks more sensible: Daniel Bausch danielbau...@gmx.de writes: Anyone? It might be a duplicate of what Gustav Wiktröm reported on 1st of September, but his problem

Re: [O] [PATCH] Lilypond: added PDF output

2011-11-29 Thread Martyn Jago
Hi Torsten Torsten Anders torsten.and...@beds.ac.uk writes: Dear all, The current implementation how org-babel calls Lilypond hard-wires the supported output file formats to EPS and PNG. Attached is a very simple patch that adds support for PDF as well, so that resulting PDF files can be

[O] [bug] Commit 6f8ea8e breaks the build

2011-12-12 Thread Martyn Jago
Commit 6f8ea8e breaks the build. make clean make ...returns the error: --8---cut here---start-8--- emacs -batch -q -no-site-file -eval (setq load-path (cons (expand-file-name \./lisp/\) (cons \/usr/local/share/emacs/site-lisp\ load-path))) -f

Re: [O] [bug] Commit 6f8ea8e breaks the build

2011-12-12 Thread Martyn Jago
Hi Jambunathan Jambunathan K kjambunat...@gmail.com writes: Martyn Jago martyn.j...@btinternet.com writes: Commit 6f8ea8e breaks the build. make clean make ...returns the error: emacs -batch -q -no-site-file -eval (setq load-path (cons (expand-file-name \./lisp/\) (cons \/usr/local

Re: [O] Bastiens talk

2011-12-15 Thread Martyn Jago
Hi Bastien b...@altern.org writes: Rustom Mody rustompm...@gmail.com writes: I'll try and flesh out the rest and post it here http://orgmode.org/worg/org-tutorials/org-screencasts/ghm2011-demo.html Next step is to have worg-links to the main concepts presented here. Thanks! I think

Re: [O] Worg migration complete

2011-12-15 Thread Martyn Jago
Hi Jason Achim Gratz strom...@nexgo.de writes: Nick Dokos nicholas.do...@hp.com writes: ... but then you'll encounter problems when you try to push, right? Yes. It's sorted now, thanks to Jason. First there was some bogus newlines in the authentication file of the server, so some keys

Re: [O] Refresh of http://orgmode.org

2011-12-15 Thread Martyn Jago
Bastien b...@altern.org writes: Dear all, I made a small refresh of the website. http://orgmode.org - random quote (taken from worg/org-quotes.org) - random screenshot - twitter feed - g+/flattr/fb buttons - french translation (http://orgmode.org/fr/) If you want to help with the

[O] ca47d10e commit broke the build

2011-12-30 Thread Martyn Jago
Frankly I'm not sure why, but my build is broken against emacs 22,23,24 Ref: http://martynjago.co.uk:/builds/Org-mode_on_Emacs_24/ca47d10e1f0070f5c6461ff763486b693ff77209 Best, Martyn

Re: [O] ca47d10e commit broke the build

2011-12-31 Thread Martyn Jago
Hi Jambunathan Jambunathan K kjambunat...@gmail.com writes: Martyn The probelmatic commit could actually be this: commit - 07f006e4fd9a7b66643cd7b404c8994665ba8300 which touches the Makefile. The problem was indeed related to the Makefile - the thing that changed (I'm guessing) is

Re: [O] Happy new year!

2011-12-31 Thread Martyn Jago
Bastien b...@altern.org writes: Dear all, time to wrap-up for today and to celebrate. This has been a *great* year of development! May all your TODOs belong to your %s_archive. Happy new year :) Indeed! Bonne année et bonne santé! It's time to get the glad rags on and C-c C-c :)

[O] [babel][bug]

2012-01-02 Thread Martyn Jago
There is a bug running babel on Emacs 22.1.1 with a minimal init file. The following code works: --8---cut here---start-8--- * Test passes #+begin_src emacs-lisp hello there #+end_src #+results: : hello there --8---cut

Re: [O] [babel][bug] org-babel-balanced-split (with Emacs-22)

2012-01-03 Thread Martyn Jago
Martyn Jago martyn.j...@btinternet.com writes: There is a bug running babel on Emacs 22.1.1 with a minimal init file. [...] The following fails: * Test fails #+begin_src emacs-lisp :results silent hello there #+end_src [...] The problem appears to be associated with the way

Re: [O] [babel][bug] org-babel-balanced-split (with Emacs-22)

2012-01-03 Thread Martyn Jago
Eric Schulte eric.schu...@gmx.com writes: Martyn Jago martyn.j...@btinternet.com writes: Martyn Jago martyn.j...@btinternet.com writes: [...] The problem appears to be associated with the way `member' works: - on Emacs 23+ the following doesn't generate an error - on Emacs 22

[O] [babel][patch] org-test-with-temp-text-in-file works in Emacs 22

2012-01-04 Thread Martyn Jago
-not-eval-lob-lines-in-example-blocks-on-export' on Emacs 22. This fixes the remaining unexpected test failure on Emacs 22.1.1 Best, Martyn From 5622523ccc9995ff6a0c804c4de8c414ca5e6181 Mon Sep 17 00:00:00 2001 From: Martyn Jago martyn.j...@btinternet.com Date: Wed, 4 Jan 2012 13:37:07 +

[O] [patch] Add test-run capability to Makefile

2012-01-04 Thread Martyn Jago
. This makes it super-easy for a user to validate their latest org-mode installation. HTH Best, Martyn From f025591e918d8921eaea0188da0b0da806c8b6f6 Mon Sep 17 00:00:00 2001 From: Martyn Jago martyn.j...@btinternet.com Date: Wed, 4 Jan 2012 14:24:27 + Subject: [PATCH] Add test command

[O] [patch][test] Avoid writes to non-temp test-example files

2012-01-04 Thread Martyn Jago
c56d5101de63bda4a0df7bf0800761f51624194b Mon Sep 17 00:00:00 2001 From: Martyn Jago martyn.j...@btinternet.com Date: Wed, 4 Jan 2012 17:44:09 + Subject: [PATCH] Modify tests to avoid writing to non-temp test-example files. * testing/examples/babel.org: * testing/examples/table.org: * testing/lisp/test-ob.el: * testing/lisp

Re: [O] [patch] Add test-run capability to Makefile

2012-01-05 Thread Martyn Jago
Bastien b...@altern.org writes: Martyn Jago martyn.j...@btinternet.com writes: Since the Makefile is currently getting a refresh I thought it would be very useful to allow running of the regression test suite directly from make using `make test'. Nice -- I will test this through Achim's

Re: [O] [patch][test] Avoid writes to non-temp test-example files

2012-01-05 Thread Martyn Jago
Nick Dokos nicholas.do...@hp.com writes: Martyn Jago martyn.j...@btinternet.com wrote: Attached is a patch to modify all tests that currently write to non-temp test-example files such as `testing/babel.org'. Instead, the tests now write to temp files, which are thrown away

[O] [patch][test] Fix and suplement pending tests in test-ob-exp.el

2012-01-05 Thread Martyn Jago
Fix pending tests in test-ob-exp.el related to exporting blocks with various header arguments. Best, Martyn From e71a64c531969876e9bba0659db2308a97806e5d Mon Sep 17 00:00:00 2001 From: Martyn Jago martyn.j...@btinternet.com Date: Thu, 5 Jan 2012 15:49:16 + Subject: [PATCH] Fixed

[O] [patch][babel] Fix for bug in ob-emacs-lisp.el

2012-01-05 Thread Martyn Jago
Sep 17 00:00:00 2001 From: Martyn Jago martyn.j...@btinternet.com Date: Thu, 5 Jan 2012 18:00:12 + Subject: [PATCH] Bug fix in ob-emacs-lisp.el. * lisp/ob-emacs-lisp.el: A comment on the last line of an emacs-lisp code block would cause an error when the block is was executed. This fix cures

Re: [O] [patch][test] Avoid writes to non-temp test-example files

2012-01-05 Thread Martyn Jago
Achim Gratz strom...@nexgo.de writes: Martyn Jago martyn.j...@btinternet.com writes: Attached is a patch to modify all tests that currently write to non-temp test-example files such as `testing/babel.org'. Instead, the tests now write to temp files, which are thrown away at the conclusion

Re: [O] [patch][babel] test fix - was: Add test-run capability to Makefile

2012-01-05 Thread Martyn Jago
Martyn Jago martyn.j...@btinternet.com writes: [...] However before you test it could you consider applying the following patch. It is a fix to a relative character position offset change of 2 caused by the trailing whitespace cleanup (my bad for leaving dirty test data

[O] [patch][babel] Fix latest block export tests to suit Emacs 22

2012-01-06 Thread Martyn Jago
:00:00 2001 From: Martyn Jago martyn.j...@btinternet.com Date: Fri, 6 Jan 2012 08:08:21 + Subject: [PATCH] Changes to latest block export tests to suit Emacs 22. * testing/lisp/test-ob-exp.el: Changes to latest block export tests to suit Emacs 22. --- testing/lisp/test-ob-exp.el | 40

Re: [O] [patch][test] Avoid writes to non-temp test-example files

2012-01-06 Thread Martyn Jago
Achim Gratz strom...@nexgo.de writes: Achim Gratz strom...@nexgo.de writes: It may still have to do with the environment — I start NTemacs from Cygwin to be able to use Cygwin's make and this combination is somewhat fragile. ... and that seems indeed to be the culprit, running NTemacs from

[O] [patch][babel] `org-babel-result-end' bug fix and regression tests

2012-01-06 Thread Martyn Jago
, Martyn From 5a3148fb1e3de288e5e3534ceb06eb64c20697aa Mon Sep 17 00:00:00 2001 From: Martyn Jago martyn.j...@btinternet.com Date: Fri, 6 Jan 2012 17:10:00 + Subject: [PATCH] `org-babel-result-end' bug fix and `org-babel-remove-result' regression tests. * lisp/ob.el: The code block below

Re: [O] [patch][babel] Fix latest block export tests to suit Emacs 22

2012-01-06 Thread Martyn Jago
Bastien b...@altern.org writes: Martyn Jago martyn.j...@btinternet.com writes: What appears to be a subtle difference in html export detail between Emacs 22 and Emacs 23+ breaks these latest tests on Emacs 22. The attached patch fixes them (and the subtle difference is not relevant

Re: [O] [patch][babel] `org-babel-result-end' bug fix and regression tests

2012-01-06 Thread Martyn Jago
Eric Schulte eric.schu...@gmx.com writes: Hi Eric Hi Martyn, Unfortunately there is no way to remove raw results because there is no way to know where the results end. While your patch will certainly work most of the time, it will not work in cases where the results includes an empty line,

Re: [O] [patch][babel] `org-babel-result-end' bug fix and regression tests

2012-01-06 Thread Martyn Jago
apply? This results handling is certainly an area which will benefit from beefing up the test suite. The attached patch contains the remaining tests. Best, Martyn From 6700e3f350c76f68891ad0ccd35538b5523312d9 Mon Sep 17 00:00:00 2001 From: Martyn Jago martyn.j...@btinternet.com Date: Fri, 6 Jan

Re: [O] Capitalisation and good taste ?

2012-01-10 Thread Martyn Jago
pin...@iro.umontreal.ca (François Pinard) writes: Bastien b...@altern.org writes: Eric Schulte eric.schu...@gmx.com writes: That said I'm happy that Org-mode is forgiving enough to allow me to lowercase most of my keywords locally. Actually, I'm thinking of another solution: - keep

[O] org-property-accumulation tests broken

2012-01-10 Thread Martyn Jago
Just a testing head's up... commit f1043a53cc46d2ce2e578d3cb498f895dc65f1ff breaks the tests. FAILED test-org-property-accumulation-append-use FAILED test-org-property-accumulation-append-val FAILED test-org-property-accumulation-top-use FAILED

Re: [O] [BUG] Inconsistency in src block hiding

2012-01-19 Thread Martyn Jago
Hi Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Eric Schulte eric.schu...@gmx.com writes: Well maybe we should roll back this change. Please don't. _That_ would be a regression. These changes /have/ caused a software regression, and should be reverted immediately, since: - they

Re: [O] [ANN] ASCII back-end for new export engine

2012-01-22 Thread Martyn Jago
Hi Nicolas Nicolas Goaziou n.goaz...@gmail.com writes: Hello, I've commited an ASCII back-end for new export engine. Assuming contrib directory is in your load-path, you just need to (require 'org-export) to have both LaTeX and ASCII exporters ready to boot. You can then access to the

Re: [O] export-as-hmtl fail

2012-01-24 Thread Martyn Jago
Hi Aaron aaron barclay aaron.diplo...@gmail.com writes: Hello, When I use a python code block in a document any export-as-html results in the error Invalid file-name. Without a code block the export goes without a hitch. Other exports work no probs such as export-as-ascii. The code block

[O] [babel][patch] provide consistent result removal (type `wrap')

2012-01-24 Thread Martyn Jago
-babel-remove-result--results-wrap' which is uncommented in the patch. Best, Martyn From a4b2f8484ec4810e7a891b4db0caf5463e96a58d Mon Sep 17 00:00:00 2001 From: Martyn Jago martyn.j...@btinternet.com Date: Tue, 24 Jan 2012 15:39:30 + Subject: [PATCH] Fix `org-babel-result-end' command

Re: [O] [babel][patch] provide consistent result removal (type `wrap')

2012-01-24 Thread Martyn Jago
[...] Oops - patch provided at start of this thread is malformed and should be ignored. The correct patch is provided below for consideration. Apologies for the noise. Best, Martyn Martyn Jago martyn.j...@btinternet.com writes: Patch to fix `org-babel-result-end' command to provide

Re: [O] [babel][patch] BUG in inline source blocks

2012-01-26 Thread Martyn Jago
From ce7ccfe97ce640f47ed83cdb2fdb6ffa8a6d3c54 Mon Sep 17 00:00:00 2001 From: Martyn Jago martyn.j...@btinternet.com Date: Thu, 26 Jan 2012 13:22:25 + Subject: [PATCH] Fix for where inline source block is not preceded by whitespace but by punctuation (reported by Andreas Leha). * lisp/ob.el: Fix

Re: [O] [babel][patch] BUG in inline source blocks

2012-01-26 Thread Martyn Jago
Martyn Jago martyn.j...@btinternet.com writes: Hi, Andreas Leha andreas.l...@med.uni-goettingen.de writes: Hi all, I experience unexpected behaviour when an inline source block is not preceded by whitespace. Example: === * Test inline This is a functional inline

Re: [O] Export without code blocks

2012-01-26 Thread Martyn Jago
Hi Aaron aaron barclay aaron.diplo...@gmail.com writes: Hi, I am having trouble finding the correct way to export a document without the code blocks included. Should I be using #+EXPORT_EXCLUDE_TAGS? I can't seem to get it to work, anyone have the correct syntax? cheers, aaron.

Re: [O] Export without code blocks

2012-01-26 Thread Martyn Jago
Martyn Jago martyn.j...@btinternet.com writes: Hi Aaron aaron barclay aaron.diplo...@gmail.com writes: Hi, I am having trouble finding the correct way to export a document without the code blocks included. Should I be using #+EXPORT_EXCLUDE_TAGS? I can't seem to get it to work, anyone

Re: [O] [babel][patch] BUG in inline source blocks

2012-01-28 Thread Martyn Jago
Hi Eric Andreas Leha andreas.l...@med.uni-goettingen.de writes: [...] Thanks for this patch Martyn, I just pushed up your [:punct:] change. Hi Martyn, thanks for this patch! It does half the job for me. Now export (or evaluation) already work. But in the export I get a space

[Orgmode] Re: [babel] Suggestions: GRASS GIS und Lilypond

2011-02-17 Thread Martyn Jago
Hi I would be interested in a solution to lilypond within org, and would be happy to fork on github and help out (I currently have some time too). Martyn Shelagh Manton shelagh.man...@gmail.com writes: On Tue, 15 Feb 2011 10:59:19 +0100, Christian Moe wrote: Earlier thread on Lilypond:

[Orgmode] [babel][patch] C++ inconsistencies

2011-02-18 Thread Martyn Jago
Hi I've noticed a couple of minor inconsistencies with C++ export... - According to the Org manual (section 14.7 Languages) the identifier for C++ is C++ (upper-case), but in practice this fails and the identifier c++ (lower-case) must be used. In general, identifiers appear to be

[Orgmode] Re: [babel][patch] C++ inconsistencies

2011-02-18 Thread Martyn Jago
Martyn Jago martyn.j...@btinternet.com writes: Hi I've noticed a couple of minor inconsistencies with C++ export... - According to the Org manual (section 14.7 Languages) the identifier for C++ is C++ (upper-case), but in practice this fails and the identifier c++ (lower-case) must

[Orgmode] Re: [babel] Suggestions: GRASS GIS und Lilypond

2011-02-21 Thread Martyn Jago
Shelagh Manton shelagh.man...@gmail.com writes: On Sun, 20 Feb 2011 20:37:19 +, Shelagh Manton wrote: On Thu, 17 Feb 2011 18:40:23 +, Martyn Jago wrote: Hi I would be interested in a solution to lilypond within org, and would be happy to fork on github and help out (I currently

[Orgmode] Re: [babel][patch] C++ inconsistencies

2011-02-21 Thread Martyn Jago
Eric Schulte schulte.e...@gmail.com writes: [...] Hi Martyn, Thanks for sharing this patch, it looks great. Also, I would love to include your YAML support. It's better to have partial YAML support than none, and any skeleton can serve as the foundation for more sophisticated support.

[Orgmode] Re: [babel][patch] C++ inconsistencies

2011-02-22 Thread Martyn Jago
Eric Schulte schulte.e...@gmail.com writes: Martyn Jago martyn.j...@btinternet.com writes: Eric Schulte schulte.e...@gmail.com writes: [...] Hi Martyn, That's great news. A just had trouble trying to apply your earlier patch, could you reproduce the patch with git diff cpp.patch

[Orgmode] Re: [babel][patch] C++ inconsistencies

2011-02-22 Thread Martyn Jago
Bastien bastien.gue...@wikimedia.fr writes: Hi Martyn, Martyn Jago martyn.j...@btinternet.com writes: The FSF process is in progress - I'm currently waiting for the agreement to sign. I'll tidy up the YAML export. I confirm the assignment/disclaimer process with the FSF is complete. I

  1   2   >