From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frederick Giasson Subject: ob-clojure with tangling current broken Date: Mon, 21 Jan 2019 15:05:25 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000057601e057ffd6274" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:53438) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1glfpG-0004fR-9n for Emacs-orgmode@gnu.org; Mon, 21 Jan 2019 15:05:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1glfpF-0002mg-ER for Emacs-orgmode@gnu.org; Mon, 21 Jan 2019 15:05:42 -0500 Received: from mail-qt1-x834.google.com ([2607:f8b0:4864:20::834]:43571) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1glfpF-0002lN-2n for Emacs-orgmode@gnu.org; Mon, 21 Jan 2019 15:05:41 -0500 Received: by mail-qt1-x834.google.com with SMTP id i7so24877706qtj.10 for ; Mon, 21 Jan 2019 12:05:39 -0800 (PST) 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: Org-mode --00000000000057601e057ffd6274 Content-Type: text/plain; charset="UTF-8" Hi, I updated org-mode to latest dev version recently and I was wondering why I was seeing namespaces appended to each [clojure] code block I was tangling (which generates unusable tangled Clojure source files) It turns out that the culprit is the following line: https://code.orgmode.org/bzg/org-mode/src/master/lisp/ob-clojure.el#L108 I am wondering why is there such code injection in "org-babel-expand-body:clojure". It looks like to be related to the Clojure code block execution, but it also appears to be called from the tangling function. Clearly those two different use cases needs to be properly handled at the level of "ob-clojure.el" I didn't follow all the changes to the "ob-clojure" mode in the last year or so, so please pardon my ignorance if the module is taking a different direction than I am used to. Is there a rational behind this behaviour or is there a new feature that I am not aware of which properly handle those two use cases? Thanks, Take care, Fred --00000000000057601e057ffd6274 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

<= /div>
I updated org-mode to latest dev version recently and I was wonde= ring why I was seeing namespaces appended to each [clojure] code block I wa= s tangling (which generates unusable tangled Clojure source files)

It turns out that the culprit is the following line: <= a href=3D"https://code.orgmode.org/bzg/org-mode/src/master/lisp/ob-clojure.= el#L108">https://code.orgmode.org/bzg/org-mode/src/master/lisp/ob-clojure.e= l#L108

I am wondering why is there such code i= njection in "org-babel-expand-body:clojure". It looks like to be = related to the Clojure code block execution, but it also appears to be call= ed from the tangling function. Clearly those two different use cases needs = to be properly handled at the level of "ob-clojure.el"
=
I didn't follow all the changes to the "ob-clojure&= quot; mode in the last year or so, so please pardon my ignorance if the mod= ule is taking a different direction than I am used to. Is there a rational = behind this behaviour or is there a new feature that I am not aware of whic= h properly handle those two use cases?

Thanks,

Take care,

Fred


--00000000000057601e057ffd6274--