From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uEzANWuX1GA1QQEAgWs5BA (envelope-from ) for ; Thu, 24 Jun 2021 16:32:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id IKqVMWuX1GDQGgAAB5/wlQ (envelope-from ) for ; Thu, 24 Jun 2021 14:32:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3457AC0C0 for ; Thu, 24 Jun 2021 16:32:11 +0200 (CEST) Received: from localhost ([::1]:35758 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwQOm-0007Xk-PN for larch@yhetil.org; Thu, 24 Jun 2021 10:32:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56740) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwQGh-0000Wp-Nj for emacs-orgmode@gnu.org; Thu, 24 Jun 2021 10:23:47 -0400 Received: from merkur.nordakademie.de ([194.94.98.156]:48796) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwQGf-0000l4-Hi for emacs-orgmode@gnu.org; Thu, 24 Jun 2021 10:23:47 -0400 X-ASG-Debug-ID: 1624544619-175ec263609d0db0001-nRxMB4 Received: from vpn.dmz.nordakademie.de ([192.168.5.11]) by merkur.nordakademie.de with ESMTP id V4ESJSFIqZikhxqP; Thu, 24 Jun 2021 16:23:39 +0200 (CEST) X-Barracuda-Envelope-From: brauer@nordakademie.de X-Barracuda-RBL-Trusted-Forwarder: 192.168.5.11 Received: from WS10.nordakademie.intern (192.168.5.10) by WS11.nordakademie.intern (192.168.5.11) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Thu, 24 Jun 2021 16:23:39 +0200 Received: from WS10.nordakademie.intern ([192.168.3.10]) by WS10.nordakademie.intern ([192.168.3.10]) with mapi id 15.00.1497.018; Thu, 24 Jun 2021 16:23:39 +0200 X-Barracuda-RBL-Trusted-Forwarder: 192.168.5.11 From: Johannes Brauer X-Barracuda-RBL-Trusted-Forwarder: 192.168.3.10 To: "gmauer@gmail.com" Subject: Re: appearance of list as results from evaluating code blocks Thread-Topic: appearance of list as results from evaluating code blocks X-ASG-Orig-Subj: Re: appearance of list as results from evaluating code blocks Thread-Index: AQHXaQSG3+6sE0HUtUOgNMRoRkwdmQ== Date: Thu, 24 Jun 2021 14:23:38 +0000 Message-ID: <892BF03F-7EA8-4DC7-BC63-90E24D98F5EF@nordakademie.de> Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Apple Mail (2.3654.100.0.2.22) x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [192.168.6.92] Content-Type: multipart/alternative; boundary="_000_892BF03F7EA84DC7BC6390E24D98F5EFnordakademiede_" MIME-Version: 1.0 X-Barracuda-Connect: UNKNOWN[192.168.5.11] X-Barracuda-Start-Time: 1624544619 X-Barracuda-URL: https://merkur.nordakademie.de:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at nordakademie.de X-Barracuda-Scan-Msg-Size: 3227 X-Barracuda-BRTS-Status: 1 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0001 1.0000 -2.0202 X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=7.0 tests=HTML_MESSAGE X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.90869 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 HTML_MESSAGE BODY: HTML included in message Received-SPF: pass client-ip=194.94.98.156; envelope-from=brauer@nordakademie.de; helo=merkur.nordakademie.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624545131; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=iEv0IjfYMR4rB4d0oWj2qYKrawKX+g34i9vu9LfqxZY=; b=aWbZfmTR06x/CKZhE0PpycPbLVbiS5H5822sDUDELa/AiV6rCGI82rCe7y2UKArXXxYdJg pfbvoWFw97SFIHhpU4JVKroWBnBZIGwVk4F7T19oqgNI3nORp+b7WpqnUlF6thOkrHnFsF 5BCIk78oQzdsC/rdRoLZOzsBqZPMZp2QCgTsnnhHFulRUEF+g3/pPIhKZ0z7vJw6MiTTi/ WqRHpEuTrkNbdJIEbZTbniUgSkgN+nIHWyU0uKtra1jAz52yWtdZNTDu14BE0+JWxBXduZ 6VB65g3Hwb6wr2KrFlHKEZXUOXTD9aQraRoQn8qbfqA02O5N73XI3jhySYHcCA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624545131; a=rsa-sha256; cv=none; b=lY6OMRc4A80aH45DNPe/bDEXNmbegmnbVsp9IP2NbartYiYNvcXyxXGfNHc7sKAmIr0YFU zaQNHEyFqyExSWFriGLwQzkoh7/ZP+stKIcw9LMN5Z2df3k0UZKvQ7OVsBaUHJJeslsGUp UrpUlv6wYiRaEkOSO/jRUtRj+VplXT1QYXcbJNVEE6v6w1FIyOc8/GvFOAYrbkB6CD0X50 8PJvOXhLUjtDgXiAnyR171Wh8VdurNCEQZIq2MMAeuTfd47afOGDS8MBwZskZDDg+N6Jb/ 4F0mXD0JOb8QNWey/8D2tQQ0namDoFDJO894eMv5wdQgSMb1e5SSwoOlZmRojw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.43 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 3457AC0C0 X-Spam-Score: -1.43 X-Migadu-Scanner: scn1.migadu.com X-TUID: SPX9aQJo0jZp --_000_892BF03F7EA84DC7BC6390E24D98F5EFnordakademiede_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable What about :results code The default is a elisp code block so you get syntax coloring That works fore lisp: #+begin_src elisp :results code (list 1 2 (+ 1 2)) #+end_src #+RESULTS: #+begin_src elisp (1 2 3) #+end_src But with Clojure I get #+begin_src clojure :results code (list 1 2 (+ 1 2)) #+end_src #+RESULTS: #+begin_src clojure nil #+end_src --_000_892BF03F7EA84DC7BC6390E24D98F5EFnordakademiede_ Content-Type: text/html; charset="us-ascii" Content-ID: <91B1A38BABC63C4697A58CD5CEC2E62A@nordakademie.de> Content-Transfer-Encoding: quoted-printable
What about :resul= ts code
The default is a elisp co= de block so you get syntax coloring

That works fore lisp:

  #+be= gin_src elisp :results code
(list 1 2 (+= ; 1 2))
  #+en= d_src

  #+RE= SULTS:
  #+be= gin_src elisp
  (1 2 3)<= /span>
  #+en= d_src

But with Clojure I get

  #+be= gin_src clojure :results code
(list 1 2 (+= ; 1 2))
  #+en= d_src

  #+RE= SULTS:
  #+be= gin_src clojure
  nil
  #+en= d_src

--_000_892BF03F7EA84DC7BC6390E24D98F5EFnordakademiede_--