From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frederick Giasson Subject: ob-clojure: possible to display results as soon as something is written to STDOUT? Date: Tue, 29 Mar 2016 13:44:44 -0400 Message-ID: <56FABF0C.5030808@fgiasson.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------090707030207050905000707" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akxhA-0001Ke-GP for emacs-orgmode@gnu.org; Tue, 29 Mar 2016 13:44:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akxh6-0007rL-FJ for emacs-orgmode@gnu.org; Tue, 29 Mar 2016 13:44:48 -0400 Received: from s052.panelboxmanager.com ([72.55.186.33]:43831) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akxh6-0007r5-BN for emacs-orgmode@gnu.org; Tue, 29 Mar 2016 13:44:44 -0400 Received: from mailnull by s052.panelboxmanager.com with sa-checked (Exim 4.86_1) (envelope-from ) id 1akxh3-003ged-LS for emacs-orgmode@gnu.org; Tue, 29 Mar 2016 13:44:41 -0400 Received: from modemcable161.56-23-96.mc.videotron.ca ([96.23.56.161]:51935 helo=[192.168.0.13]) by s052.panelboxmanager.com with esmtpsa (TLSv1.2:DHE-RSA-CAMELLIA256-SHA:256) (Exim 4.86_1) (envelope-from ) id 1akxh3-003geR-Cq for emacs-orgmode@gnu.org; Tue, 29 Mar 2016 13:44:41 -0400 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: emacs-orgmode@gnu.org This is a multi-part message in MIME format. --------------090707030207050905000707 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi everybody, I was wondering if it was possible for Org-mode to write results in #+RESULTS as soon as something is written to STDOUT? Here is my issue: I am writing Notebooks in Clojure using org-mode (clojure). I have some long-running procedures in the notebook that output the current status of the process (like, 10000/4986000) to the REPL using printnl. With now, I am using the header "clojure :session :results output. I am getting the output, but *only once the function finished its processing*. What I would like to know if it is possible to have Org-mode to write things when they are written to STDOUT instead then just when it finished? Note: I am not sure if this is something related to Org-mode, or ob-clojure or Cider. Thanks, Fred --------------090707030207050905000707 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit Hi everybody,

I was wondering if it was possible for Org-mode to write results in #+RESULTS as soon as something is written to STDOUT?

Here is my issue: I am writing Notebooks in Clojure using org-mode (clojure). I have some long-running procedures in the notebook that output the current status of the process (like, 10000/4986000) to the REPL using printnl.

With now, I am using the header "clojure :session :results output.

I am getting the output, but *only once the function finished its processing*. What I would like to know if it is possible to have Org-mode to write things when they are written to STDOUT instead then just when it finished?

Note: I am not sure if this is something related to Org-mode, or ob-clojure or Cider.

Thanks,

Fred
--------------090707030207050905000707--