[O] ob-sed-test failure introduced by f38f83b4

2016-07-11 Thread Achim Gratz
Two of the three ob-sed tests are failing after commit f38f83b4, but only in batch mode. It seems the final newline gets eaten somewhere, leading to the string= howling in protest. When I run the code in question interactively, it works as expected (result shown in minibuffer is a string _with_

Re: [O] ob-sed

2015-05-30 Thread Nick Dokos
Bjarte Johansen writes: >> On 30 May 2015, at 14:32, Nicolas Goaziou wrote: >> >> Bjarte Johansen writes: >> >>> I think I have addressed all of your comments except I didn’t >>> understand the comment about the spaces. Are there two spaces extra or >>> do you want me to introduce two spaces

Re: [O] ob-sed

2015-05-30 Thread Nicolas Goaziou
Bjarte Johansen writes: > From 3efecb4b439d357b30acb67ad5327fec987f76da Mon Sep 17 00:00:00 2001 > From: Bjarte Johansen > Date: Thu, 28 May 2015 13:29:09 +0200 > Subject: [PATCH] Org Babel now supports sed scripts Applied. Thank you. Regards,

Re: [O] ob-sed

2015-05-30 Thread Bjarte Johansen
> On 30 May 2015, at 14:32, Nicolas Goaziou wrote: > > Bjarte Johansen writes: > >> I think I have addressed all of your comments except I didn’t >> understand the comment about the spaces. Are there two spaces extra or >> do you want me to introduce two spaces somewhere? > > As Suvayu Ali po

Re: [O] ob-sed

2015-05-30 Thread Nicolas Goaziou
Bjarte Johansen writes: > I think I have addressed all of your comments except I didn’t > understand the comment about the spaces. Are there two spaces extra or > do you want me to introduce two spaces somewhere? As Suvayu Ali pointed out, sentences in comments and docstrings are expected to be

Re: [O] ob-sed

2015-05-29 Thread Suvayu Ali
Hi Bjarte, On Fri, May 29, 2015 at 03:32:51PM +0200, Bjarte Johansen wrote: > > > >> +(defun org-babel-execute:sed (body params) > >> + "Execute a block of sed code with Org Babel. > >> +BODY is the source inside a sed source block and PARAMS is an > >> +association list over the source block co

Re: [O] ob-sed

2015-05-29 Thread Bjarte Johansen
I think I have addressed all of your comments except I didn’t understand the comment about the spaces. Are there two spaces extra or do you want me to introduce two spaces somewhere? I have attached the updated patch. Regards, Bjarte 0001-Org-Babel-now-supports-sed-scripts.patch Description:

Re: [O] ob-sed

2015-05-29 Thread Nicolas Goaziou
Bjarte Johansen writes: > I think I have addressed all your comments in the attached patch. Thank you. Some more comments follow. > Subject: [PATCH] Org Babel now supports sed scripts You should add something like the following to your commit message: * doc/org.texi: Signal new Babel langua

Re: [O] ob-sed

2015-05-28 Thread Bjarte Johansen
I think I have addressed all your comments in the attached patch. Regards, Bjarte 0001-Org-Babel-now-supports-sed-scripts.patch Description: Binary data

Re: [O] ob-sed

2015-05-27 Thread Nicolas Goaziou
Hello, Bjarte Johansen writes: > I had loosely based it on my own ob-sparql and ob-awk, I saw that > there was a remnant of ob-sparql left in there. Here is an updated > version. Thank you. Some comments follow. > ;;; ob-sed.el --- org-babel functions for sed scripts > > ;; Copyright (C) 2015

Re: [O] ob-sed

2015-05-27 Thread Bjarte Johansen
I had loosely based it on my own ob-sparql and ob-awk, I saw that there was a remnant of ob-sparql left in there. Here is an updated version. ob-sed.el Description: Binary data

[O] ob-sed

2015-05-27 Thread Bjarte Johansen
Hi, I originally wrote this for Eric Schulte’s sed-mode, but he thought I should post it here instead. I have been using it for little over a week and it has been working perfectly for me. If there is anything that you think should be added or removed before it is accepted into org-mode please