From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frederick Giasson Subject: Re: [PATCH] New header parameter :show-process for Org-babel-clojure Date: Fri, 18 Nov 2016 10:31:42 -0500 Message-ID: References: <036bf007-5e9c-310c-5bf8-0660c1b96a5c@fgiasson.com> <87lgwrgy7z.fsf@nicolasgoaziou.fr> <794c93aa-e2dc-2bfb-537e-0c89d8d34cea@fgiasson.com> <878tslp4ha.fsf@nicolasgoaziou.fr> <27089048-9dab-747f-51dc-20006717866e@fgiasson.com> <87inrlogee.fsf@nicolasgoaziou.fr> <87k2c0n82s.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------DA25E3986BD876879634CA8D" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c7l8l-0005h6-K6 for emacs-orgmode@gnu.org; Fri, 18 Nov 2016 10:31:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c7l8i-0008Kr-Bx for emacs-orgmode@gnu.org; Fri, 18 Nov 2016 10:31:47 -0500 Received: from s052.panelboxmanager.com ([72.55.186.33]:58799) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c7l8i-0008KP-7c for emacs-orgmode@gnu.org; Fri, 18 Nov 2016 10:31:44 -0500 Received: from mailnull by s052.panelboxmanager.com with sa-checked (Exim 4.87) (envelope-from ) id 1c7l8g-003Nvf-TE for emacs-orgmode@gnu.org; Fri, 18 Nov 2016 10:31:43 -0500 Received: from modemcable199.69-130-66.mc.videotron.ca ([66.130.69.199]:55336 helo=[192.168.0.199]) by s052.panelboxmanager.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from ) id 1c7l8g-003NvQ-Q5 for emacs-orgmode@gnu.org; Fri, 18 Nov 2016 10:31:42 -0500 In-Reply-To: <87k2c0n82s.fsf@gmail.com> Content-Language: en-US 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" To: emacs-orgmode@gnu.org This is a multi-part message in MIME format. --------------DA25E3986BD876879634CA8D Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Hi Guys, > It looks like this warning results from a defcustom for this variable > not being included in the patch (and AFAICT it should be). Sorry but I was confused. The documentation for this setting was documented in Worg, but it was not yet part of the package. Here is the commit related to that. Thanks, Fred --------------DA25E3986BD876879634CA8D Content-Type: text/plain; charset=UTF-8; name="0001-Adding-the-defcustom-for-the-org-babel-clojure-sync-.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-Adding-the-defcustom-for-the-org-babel-clojure-sync-.pa"; filename*1="tch" >From e68c5611f00eb37783205352d68efb7feccae8ab Mon Sep 17 00:00:00 2001 From: Frederick Giasson Date: Fri, 18 Nov 2016 10:29:16 -0500 Subject: [PATCH] Adding the defcustom for the "org-babel-clojure-sync-nrepl-timeout" variable used to configure the nrepl execution timeout. --- lisp/ob-clojure.el | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lisp/ob-clojure.el b/lisp/ob-clojure.el index f78dd69..6dc9d90 100644 --- a/lisp/ob-clojure.el +++ b/lisp/ob-clojure.el @@ -56,6 +56,15 @@ (defvar org-babel-default-header-args:clojure '()) (defvar org-babel-header-args:clojure '((package . :any))) +(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 + :version "25.1" + :package-version '(Org . "9.0") + :safe #'wholenump + :group 'org-babel) + (defcustom org-babel-clojure-backend (cond ((featurep 'cider) 'cider) (t 'slime)) -- 1.9.5.msysgit.0 --------------DA25E3986BD876879634CA8D--