From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert McIntyre Subject: Some bugs with ob-clojure.el and some more with ob-sh.el Date: Sat, 9 Jul 2011 01:25:31 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=000e0cd149fe5464c504a79d04e9 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:55244) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfQys-00069l-7m for emacs-orgmode@gnu.org; Sat, 09 Jul 2011 02:25:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QfQyq-0004Ng-VU for emacs-orgmode@gnu.org; Sat, 09 Jul 2011 02:25:34 -0400 Received: from mail-pw0-f41.google.com ([209.85.160.41]:35845) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfQyq-0004Nb-PJ for emacs-orgmode@gnu.org; Sat, 09 Jul 2011 02:25:32 -0400 Received: by pwi12 with SMTP id 12so1899356pwi.0 for ; Fri, 08 Jul 2011 23:25:31 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --000e0cd149fe5464c504a79d04e9 Content-Type: text/plain; charset=ISO-8859-1 I've made a gist at https://gist.github.com/1073383 that details some problems with ob-clojure.el and ob-sh.el. In particular, there are a few problems with :results verbatim/scalar and :results output for the two modes. M-x org-version returns: Org-mode version 7.5 (release_7.5.516.gf06e.dirty) I hope that this will be helpful to someone in squashing some bugs. If there are any questions please email me. I'd love to help in any way I can to make org-mode even better. sincerely, --Robert McIntyre --000e0cd149fe5464c504a79d04e9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I've made a gist at

https://gist.github.com/1073383

that details some problems with= ob-clojure.el and ob-sh.el.

In particular, there are a few problems= with :results verbatim/scalar and :results output for the two modes.

M-x org-version returns:
Org-mode version 7.5 (release_7.5.516.gf06e= .dirty)

I hope that this will be helpful to someone in squashing som= e bugs.=A0 If there are any questions please email me.=A0 I'd love to h= elp in any way I can to make org-mode even better.

sincerely,
--Robert McIntyre

--000e0cd149fe5464c504a79d04e9-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert McIntyre Subject: Fwd: Some bugs with ob-clojure.el and some more with ob-sh.el Date: Sat, 9 Jul 2011 11:05:08 -0500 Message-ID: References: <877h7rabyg.fsf@altern.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=000e0cd2504a361e1b04a7a51d5a Return-path: Received: from eggs.gnu.org ([140.186.70.92]:46994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qfa7v-00072N-Tm for emacs-orgmode@gnu.org; Sat, 09 Jul 2011 12:11:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qfa1r-0008Ds-HU for emacs-orgmode@gnu.org; Sat, 09 Jul 2011 12:05:20 -0400 Received: from mail-pz0-f41.google.com ([209.85.210.41]:43155) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qfa1m-00088f-8n for emacs-orgmode@gnu.org; Sat, 09 Jul 2011 12:05:11 -0400 Received: by pzk4 with SMTP id 4so2494238pzk.0 for ; Sat, 09 Jul 2011 09:05:08 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --000e0cd2504a361e1b04a7a51d5a Content-Type: text/plain; charset=ISO-8859-1 ---------- Forwarded message ---------- From: Robert McIntyre Date: Sat, Jul 9, 2011 at 11:04 AM Subject: Re: [O] Some bugs with ob-clojure.el and some more with ob-sh.el To: Bastien Great idea --- I updated my version of Org such that: M-x org-version returns: Org-mode version 7.6 (release_7.6.32.ga493b.dirty) Now even more of my tests fail :( I've updated the gist accordingly. It's at https://gist.github.com/1073383 In particular, ob-clojure.el doesn't seem to respect spaces when a function returns a literal string. Thanks for responding so fast, and If I can do anything else to help please let me know. sincerely, --Robert McIntyre On Sat, Jul 9, 2011 at 7:13 AM, Bastien wrote: > Hi Robert, > > Robert McIntyre writes: > > > I've made a gist at > > > > https://gist.github.com/1073383 > > Thanks for this feedback. > > > that details some problems with ob-clojure.el and ob-sh.el. > > > > In particular, there are a few problems with :results verbatim/scalar > > and :results output for the two modes. > > > > M-x org-version returns: > > Org-mode version 7.5 (release_7.5.516.gf06e.dirty) > > Can you check if you have the same errors with the latest Org > version -- either 7.6 or the one from git? > > Thanks a lot, > > -- > Bastien > --000e0cd2504a361e1b04a7a51d5a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

---------- Forwarded message ----------<= br>From: Robert McIntyre <rlm@mit.edu>
Date: Sa= t, Jul 9, 2011 at 11:04 AM
Subject: Re: [O] Some bugs with ob-clojure.el and some more with ob-sh.elTo: Bastien <bzg@altern.org><= br>

Great idea --- I updated my version of Org such that:


M-x org-version returns:
Org-mode version 7.6 (release_7.6= .32.ga493b.dirty)

Now even more of my tests fail :(

I've = updated the gist accordingly.=A0 It's at https://gist.github.com/1073383

In particular, ob-clojure.el doesn't seem to respect spaces when a = function returns a literal string.

Thanks for responding so fast, an= d If I can do anything else to help please let me know.

sincerely, --Robert McIntyre



On Sat, Jul 9, 2011 at 7:13 AM, Bastien <bzg@altern.org= > wrote:
Hi Robert,

Robert McIntyre <rlm@mi= t.edu> writes:

> I've made a gist at
>
> https://= gist.github.com/1073383

Thanks for this feedback.

> that details some problems with ob-clojure.el and ob-sh.el.
>
> In particular, there are a few problems with :results verbatim/scalar<= br> > and :results output for the two modes.
>
> M-x org-version returns:
> Org-mode version 7.5 (release_7.5.516.gf06e.dirty)

Can you check if you have the same errors with the latest Org
version -- either =A07.6 or the one from git?

Thanks a lot,

--
=A0Bastien


--000e0cd2504a361e1b04a7a51d5a-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Fwd: Some bugs with ob-clojure.el and some more with ob-sh.el Date: Sun, 10 Jul 2011 09:43:16 -0600 Message-ID: <87liw6ruyn.fsf@gmail.com> References: <877h7rabyg.fsf@altern.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:60684) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfwML-0003jJ-1k for emacs-orgmode@gnu.org; Sun, 10 Jul 2011 11:55:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QfwMH-0007GW-Jl for emacs-orgmode@gnu.org; Sun, 10 Jul 2011 11:55:52 -0400 Received: from mail-pz0-f41.google.com ([209.85.210.41]:51796) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfwMH-0007Fz-1E for emacs-orgmode@gnu.org; Sun, 10 Jul 2011 11:55:49 -0400 Received: by mail-pz0-f41.google.com with SMTP id 4so2945138pzk.0 for ; Sun, 10 Jul 2011 08:55:48 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Robert McIntyre Cc: emacs-orgmode@gnu.org Hi Robert, I've pushed some updates to ob-clojure which should address the overly eager parsing of results which was splitting your literal string results. I've also pushed up more general enforcement of the "verbatim" keyword. Clojure still does not support the ":results output" keyword combination. For some reason the clojure-specific slime evaluation functions do not seem to hand back STDOUT information as readily as common lisp slime evaluation functions. I unfortunately don't have a local Clojure-swank/slime install, and can't check this out, but if you can find a way to access STDOUT from Clojure-swank/slime I'll be happy to integrate it into ob-clojure. Please let me know if you notice any other problems. Best -- Eric Robert McIntyre writes: > ---------- Forwarded message ---------- > From: Robert McIntyre > Date: Sat, Jul 9, 2011 at 11:04 AM > Subject: Re: [O] Some bugs with ob-clojure.el and some more with ob-sh.el > To: Bastien > > > Great idea --- I updated my version of Org such that: > > > M-x org-version returns: > Org-mode version 7.6 (release_7.6.32.ga493b.dirty) > > Now even more of my tests fail :( > > I've updated the gist accordingly. It's at https://gist.github.com/1073383 > > In particular, ob-clojure.el doesn't seem to respect spaces when a function > returns a literal string. > > Thanks for responding so fast, and If I can do anything else to help please > let me know. > > sincerely, > --Robert McIntyre > > > > On Sat, Jul 9, 2011 at 7:13 AM, Bastien wrote: > >> Hi Robert, >> >> Robert McIntyre writes: >> >> > I've made a gist at >> > >> > https://gist.github.com/1073383 >> >> Thanks for this feedback. >> >> > that details some problems with ob-clojure.el and ob-sh.el. >> > >> > In particular, there are a few problems with :results verbatim/scalar >> > and :results output for the two modes. >> > >> > M-x org-version returns: >> > Org-mode version 7.5 (release_7.5.516.gf06e.dirty) >> >> Can you check if you have the same errors with the latest Org >> version -- either 7.6 or the one from git? >> >> Thanks a lot, >> >> -- >> Bastien >> -- Eric Schulte http://cs.unm.edu/~eschulte/