emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Some bugs with ob-clojure.el and some more with ob-sh.el
@ 2011-07-09  6:25 Robert McIntyre
       [not found] ` <877h7rabyg.fsf@altern.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Robert McIntyre @ 2011-07-09  6:25 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 510 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 621 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Fwd: Some bugs with ob-clojure.el and some more with ob-sh.el
       [not found]   ` <CABqqNd131ZPsnA1o9eS7td+Fxwu=R5nq95FuhLk=tuqcCu1Qaw@mail.gmail.com>
@ 2011-07-09 16:05     ` Robert McIntyre
  2011-07-10 15:43       ` Eric Schulte
  0 siblings, 1 reply; 3+ messages in thread
From: Robert McIntyre @ 2011-07-09 16:05 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1327 bytes --]

---------- Forwarded message ----------
From: Robert McIntyre <rlm@mit.edu>
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 <bzg@altern.org>


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 <bzg@altern.org> wrote:

> Hi Robert,
>
> Robert McIntyre <rlm@mit.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
> > 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
>

[-- Attachment #2: Type: text/html, Size: 2280 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Fwd: Some bugs with ob-clojure.el and some more with ob-sh.el
  2011-07-09 16:05     ` Fwd: " Robert McIntyre
@ 2011-07-10 15:43       ` Eric Schulte
  0 siblings, 0 replies; 3+ messages in thread
From: Eric Schulte @ 2011-07-10 15:43 UTC (permalink / raw)
  To: Robert McIntyre; +Cc: emacs-orgmode

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 <rlm@mit.edu> writes:

> ---------- Forwarded message ----------
> From: Robert McIntyre <rlm@mit.edu>
> 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 <bzg@altern.org>
>
>
> 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 <bzg@altern.org> wrote:
>
>> Hi Robert,
>>
>> Robert McIntyre <rlm@mit.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
>> > 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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-07-10 15:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-09  6:25 Some bugs with ob-clojure.el and some more with ob-sh.el Robert McIntyre
     [not found] ` <877h7rabyg.fsf@altern.org>
     [not found]   ` <CABqqNd131ZPsnA1o9eS7td+Fxwu=R5nq95FuhLk=tuqcCu1Qaw@mail.gmail.com>
2011-07-09 16:05     ` Fwd: " Robert McIntyre
2011-07-10 15:43       ` Eric Schulte

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).