From mboxrd@z Thu Jan 1 00:00:00 1970 From: Soapy Smith Subject: Re: ob-clojure: presentation of map structures? Date: Sun, 02 Feb 2014 17:26:50 -0500 Message-ID: <1391380010.2304.4.camel@raven-CM5571> References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56979) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WA5VR-0004rW-5U for emacs-orgmode@gnu.org; Sun, 02 Feb 2014 17:27:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WA5VH-0001fJ-2Y for emacs-orgmode@gnu.org; Sun, 02 Feb 2014 17:27:13 -0500 Received: from qmta05.westchester.pa.mail.comcast.net ([2001:558:fe14:43:76:96:62:48]:54702) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WA5VG-0001f0-Qv for emacs-orgmode@gnu.org; Sun, 02 Feb 2014 17:27:02 -0500 In-Reply-To: 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: Phill Wolf Cc: emacs-orgmode@gnu.org On Sun, 2014-02-02 at 01:42 -0500, Phill Wolf wrote: > Floundering among the options, I tried :results value pp. It yielded > this: > > : "{\"Pluto\" 5,\n \"Plattsburgh\" 4,\n \"Philadelphia\" 3,\n > \"Sankt-Peterburg\" 2,\n \"Paris\" 1,\n \"Peru\" 0}\n" > > > pprint's good intentions are evident, but they collided with a > superior force. There was a discussion of this at the Clojure google group: https://groups.google.com/d/msg/clojure/gthjNWfAWKo/aKwuqh2qx68J The tabularization problem was resolved, but the pp of the map behavior is not changed. I tried a few permutations of :results options, and did not get close to the Clojure pprint function. The org manual says the pp option is "This option currently supports Emacs Lisp, Python, and Ruby. E.g., :results value pp." Regards, Greg