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/