org-mode/contrib/babel/lisp
Michael Sperber 6fc2ea3b9b Xemacs incompatibilities
Carsten Dominik <carsten.dominik@gmail.com> writes:

> On May 17, 2010, at 4:39 PM, Michael Sperber wrote:
>
>> In particular, fixing the require won't be enough: org-babel-python.el
>> uses `run-python' and interacts with the inferior Python, whereas
>> python-mode.el defines `py-shell'.
>>
>> Should I try to abstract over the differences?
>
> Yes, this would be much appreciated. (I think, Eric or Dan?)

OK, I've attached a patch that makes `org-babel-python' work on XEmacs.
Most of the issues are pure XEmacs issues.  Notes:

- XEmacs doesn't have [[:digit:]] - I hope to rectify this in the
  future, but it seems there's no downside in this particular case to
  replacing by [0-9].
- XEmacs doesn't have `move-end-of-line', but does have `end-of-line'.
  I don't understand the intent of having both of these, but the code
  seems fine with `end-of-line'.
- It seems there are way too few `require's throughout org-babel.  I
  don't know if it's OK to add the ones I needed.
- `org-babel-python-evaluate' looked broken as-is: It doesn't use the
  `body' argument properly, the result is (I think) processed in the
  wrong order and not properly split into lines.  I've fixed all these,
  but a review is probably in order.
2010-05-26 22:45:01 -06:00
..
langs Xemacs incompatibilities 2010-05-26 22:45:01 -06:00
org-babel-comint.el
org-babel-exp.el org-babel-exp: no longer throws errors on empty bodies 2010-05-25 20:20:13 -06:00
org-babel-keys.el babel: updated key bindings in refcard 2010-05-26 16:55:48 -06:00
org-babel-lob.el Xemacs incompatibilities 2010-05-26 22:45:01 -06:00
org-babel-ref.el babel: `org-babel-ref-resolve-reference' doesn't break paren nesting when resolving indicies 2010-04-24 13:26:34 -06:00
org-babel-table.el
org-babel-tangle.el Xemacs incompatibilities 2010-05-26 22:45:01 -06:00
org-babel.el Xemacs incompatibilities 2010-05-26 22:45:01 -06:00