emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Frederick Giasson <fred@fgiasson.com>
To: emacs-orgmode@gnu.org
Subject: Re: [PATCH] New header parameter :show-process for Org-babel-clojure
Date: Fri, 18 Nov 2016 10:31:42 -0500	[thread overview]
Message-ID: <fcd698d3-1be7-5c52-02cc-d5f0a5614bab@fgiasson.com> (raw)
In-Reply-To: <87k2c0n82s.fsf@gmail.com>

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

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

[-- Attachment #2: 0001-Adding-the-defcustom-for-the-org-babel-clojure-sync-.patch --]
[-- Type: text/plain, Size: 1020 bytes --]

From e68c5611f00eb37783205352d68efb7feccae8ab Mon Sep 17 00:00:00 2001
From: Frederick Giasson <fred@fgiasson.com>
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


  parent reply	other threads:[~2016-11-18 15:31 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-07 19:19 [PATCH] New header parameter :show-process for Org-babel-clojure Frederick Giasson
2016-11-10 15:18 ` Nicolas Goaziou
2016-11-10 17:20   ` Frederick Giasson
2016-11-10 23:55     ` Nicolas Goaziou
2016-11-14 20:46   ` Frederick Giasson
2016-11-15  7:49     ` Nicolas Goaziou
2016-11-17 13:39       ` Frederick Giasson
2016-11-17 23:06         ` Nicolas Goaziou
2016-11-18 15:03           ` Aaron Ecay
2016-11-18 15:09             ` Frederick Giasson
2016-11-18 15:49               ` Nicolas Goaziou
2016-11-18 17:02                 ` Frederick Giasson
2016-11-19  7:40                   ` Nicolas Goaziou
2016-11-18 15:31             ` Frederick Giasson [this message]
2016-11-18 15:12           ` Frederick Giasson
2016-11-18 15:51             ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fcd698d3-1be7-5c52-02cc-d5f0a5614bab@fgiasson.com \
    --to=fred@fgiasson.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).