diff options
author | Eric Schulte <schulte.eric@gmail.com> | 2009-07-25 16:05:05 -0600 |
---|---|---|
committer | Eric Schulte <schulte.eric@gmail.com> | 2009-07-25 16:05:05 -0600 |
commit | 751bd666d13c6eee35345adea08aac0408f4978f (patch) | |
tree | 881ce0477cd123b76b49605c76e654383821cdd0 | |
parent | 2fd9accd9845a9e56380a0e3913d22503ec96c1b (diff) | |
download | org-mode-751bd666d13c6eee35345adea08aac0408f4978f.tar.gz |
DONE creeping blank lines
it looks like the changes I made to result insertion while working
with org-babel-open-src-block-result may have fixed this bug
-rw-r--r-- | org-babel.org | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/org-babel.org b/org-babel.org index e04724b..88703f8 100644 --- a/org-babel.org +++ b/org-babel.org @@ -2365,39 +2365,7 @@ dot("$(2a,0)$",(2,0),N+E); *** DONE sh -* Bugs [27/38] -** TODO creeping blank lines - There's still inappropriate addition of blank lines in some circumstances. - - Hmm, it's a bit confusing. It's to do with o-b-remove-result. LoB - removes the entire (#+resname and result) and starts from scratch, - whereas #+begin_src only removes the result. I haven't worked out - what the correct fix is yet. Maybe the right thing to do is to make - sure that those functions (o-b-remove-result et al.) are neutral - with respect to newlines. Sounds easy, but... - - E.g. - -#+begin_src sh -b=5 -#+end_src - - - - Compare the results of -#+lob: python-add(a=5, b=17) - -#+resname: python-add(a=5, b=17) -: 22 --------------------------------- - -#+begin_src python -23 -#+end_src - -#+resname: -: 23 ---------------------- +* Bugs [28/38] ** TODO problem with newlines in output when :results value #+begin_src python :results value '\n'.join(map(str, range(4))) @@ -2565,6 +2533,38 @@ the same for the other languages. [Dan] ** TODO LoB is not populated on startup org-babel-library-of-babel is nil for me on startup. I have to evaluate the [[file:lisp/org-babel-lob.el::][org-babel-lob-ingest]] line manually. +** DONE creeping blank lines + There's still inappropriate addition of blank lines in some circumstances. + + Hmm, it's a bit confusing. It's to do with o-b-remove-result. LoB + removes the entire (#+resname and result) and starts from scratch, + whereas #+begin_src only removes the result. I haven't worked out + what the correct fix is yet. Maybe the right thing to do is to make + sure that those functions (o-b-remove-result et al.) are neutral + with respect to newlines. Sounds easy, but... + + E.g. + +#+begin_src sh +b=5 +#+end_src + + + + Compare the results of +#+lob: adder(a=5, b=17) + +#+resname: python-add(a=5, b=17) +: 22 +-------------------------------- + +#+begin_src python +23 +#+end_src + +#+resname: +: 23 +--------------------- ** DONE #+srcname arg parsing bug #+srcname: test-zz(arg=adder(a=1, b=1)) #+begin_src python |