Re: [O] [PATCH] expose nrepl's timeout setting in ob-clojure.el

2016-04-12 Thread Nicolas Goaziou
Hello, Frederick Giasson writes: >>> (setq result >>>(nrepl-dict-get >>> - (nrepl-sync-request:eval >>> -expanded (cider-current-connection) (cider-current-session)) >>> + (let ((nrepl-sync-request-timeout >>>

Re: [O] [PATCH] expose nrepl's timeout setting in ob-clojure.el

2016-04-11 Thread Frederick Giasson
Hi Nicolas, Some keywords are missing: :version "25.1" :package-version '(Org . "9.0") and perhaps :safe #'wholenump Ok good, added. (defcustom org-babel-clojure-backend (cond ((featurep 'cider) 'cider) (t 'slime)) @@ -94,8 +100,9 @@ (let ((result-params

Re: [O] [PATCH] expose nrepl's timeout setting in ob-clojure.el

2016-04-10 Thread Nicolas Goaziou
Hello, Thank you for the update. Frederick Giasson writes: > +(defcustom org-babel-clojure-sync-nrepl-timeout 10 > + "Timeout value, in seconds, of a Clojure sync call. > + If the value is nil, timeout is disabled." > + :type 'integer > + :group 'org-babel) Some

Re: [O] [PATCH] expose nrepl's timeout setting in ob-clojure.el

2016-04-06 Thread Frederick Giasson
Hi Nicolas! -;;; ob-clojure.el --- Babel Functions for Clojure-*- lexical-binding: t; -*- +;;; ob-clojure.el --- org-babel functions for clojure evaluation Your patch reverts a change introduced in development version. Could you rebase it on top of latest Org first? Yeah sorry, I did

Re: [O] [PATCH] expose nrepl's timeout setting in ob-clojure.el

2016-04-06 Thread Nicolas Goaziou
Hello, Thank you for the patch. Frederick Giasson writes: > -;;; ob-clojure.el --- Babel Functions for Clojure-*- lexical-binding: t; > -*- > +;;; ob-clojure.el --- org-babel functions for clojure evaluation Your patch reverts a change introduced in development

[O] [PATCH] expose nrepl's timeout setting in ob-clojure.el

2016-03-29 Thread Frederick Giasson
Hi everybody, I am starting to use org-mode to create literate applications in Clojure. So far so good, this is a terrific piece of software. One thing why I wanted to use org-mode is to use it to create Clojure Notebooks. The problem I had is that I have many functions that can take some