emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ag Ibragimov <agzam.ibragimov@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [BUG] Tangling of clojure code blocks is broken [9.7 (9.7-??-0807107 @ /Users/ag/.emacs.d/.local/straight/build-30.0.50/org/)]
Date: Fri, 05 May 2023 22:27:28 -0500	[thread overview]
Message-ID: <m2zg6irvfj.fsf@gmail.com> (raw)


Tangling Clojure code blocks appear to be broken.

Repro steps:

- Create a Clojure source block, e.g., 

#+begin_src clojure :tangle foo.clj
{:foo :bar}
#+end_src

- Tangle it, M-x org-babel-tangle

- Check the file content

Observed:

It's wrapping the content into
`(prn (binding [*out* (java.io.StringWriter.)]{:foo :bar}))`

Expected:

{:foo :bar}

------------------------------------------------------------------------



Emacs  : GNU Emacs 30.0.50 (build 1, aarch64-apple-darwin22.4.0, NS appkit-2299.50 Version 13.3.1 (Build 22E261))
 of 2023-04-27
Package: Org mode version 9.7 (9.7-??-0807107 @ /Users/ag/.emacs.d/.local/straight/build-30.0.50/org/)



             reply	other threads:[~2023-05-06  3:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-06  3:27 Ag Ibragimov [this message]
2023-05-06  6:30 ` [BUG] Tangling of clojure code blocks is broken [9.7 (9.7-??-0807107 @ /Users/ag/.emacs.d/.local/straight/build-30.0.50/org/)] Ihor Radchenko
2023-05-08  5:18   ` Ag Ibragimov
2023-05-08  5:26     ` Ag
2023-05-08 10:05       ` Daniel Kraus
2023-05-08 15:21         ` Ihor Radchenko
2023-05-08  6:49     ` Ihor Radchenko

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=m2zg6irvfj.fsf@gmail.com \
    --to=agzam.ibragimov@gmail.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).