[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [PATCH 00/10] babel cleanups
From: |
Aaron Ecay |
Subject: |
[O] [PATCH 00/10] babel cleanups |
Date: |
Mon, 1 Apr 2013 01:42:14 -0400 |
Here are several patches to fix things in and around org-babel.
They're each independent of the others (and hopefully all apply
cleanly, without depending on other members of the series). Here's a
little summary of each:
Aaron Ecay (10):
Fix org-babel-R-initiate-session
-> An obvious bugfix
Clean up org-babel-expand-body: functions for awk and picolisp
-> Makes these functions consistent with other babel languages,
though I don't use these languages so can't test
Clean up various org-babel-*-maybe commands
-> Code simplification and avoids an expensive operation under some
circumstances
Add 'light argument to some uses of org-babel-get-src-block-info
-> Avoids an expensive operation
Remove info arg from several org-babel functions
-> Code cleanup. Could break third-party code.
Use prefix arg in org-edit-special
-> Makes the function consistent with its docstring, although the new
behavior is
somewhat odd (C-u C-c ' becomes basically the same as C-c C-v C-z, AFAICT)
Simplify org-babel-execute-src-block
-> Makes data flow cleaner through this function
Fix testing/lisp/test-ob-emacs-lisp.el
-> Obvious bugfix
Remove org-babel-check-confirm-evaluate macro
-> Refactoring. Of all the patches, I am least sure of this one.
It is a complicated operation however you slice it, but I find
the approach where the complexity is local easier to understand.
Deserves careful review, since it touches code which decides whether
to evaluate source blocks. Read: has security implications.
Document how :var introduces code block dependencies.
-> Documentation.
doc/org.texi | 9 +++
lisp/ob-R.el | 20 +++--
lisp/ob-awk.el | 2 +-
lisp/ob-core.el | 156 +++++++++++++++++--------------------
lisp/ob-picolisp.el | 2 +-
lisp/ob-tangle.el | 2 +-
lisp/org.el | 7 +-
testing/lisp/test-ob-emacs-lisp.el | 19 +++--
8 files changed, 112 insertions(+), 105 deletions(-)
--
1.8.2
- [O] [PATCH 00/10] babel cleanups,
Aaron Ecay <=
[O] [PATCH 03/10] Clean up various org-babel-*-maybe commands, Aaron Ecay, 2013/04/01