From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: question about :results scalar Date: Sun, 19 Jun 2011 16:08:12 -0700 Message-ID: <87oc1twhb7.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:39013) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QYR6L-0008Sd-HK for emacs-orgmode@gnu.org; Sun, 19 Jun 2011 19:08:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QYR6J-0007gd-OW for emacs-orgmode@gnu.org; Sun, 19 Jun 2011 19:08:21 -0400 Received: from mail-pz0-f51.google.com ([209.85.210.51]:33778) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QYR6J-0007gZ-BA for emacs-orgmode@gnu.org; Sun, 19 Jun 2011 19:08:19 -0400 Received: by pzk26 with SMTP id 26so3323609pzk.38 for ; Sun, 19 Jun 2011 16:08:17 -0700 (PDT) In-Reply-To: (Robert McIntyre's message of "Sun, 19 Jun 2011 14:50:08 -0500") 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: Robert McIntyre Cc: emacs-orgmode@gnu.org Hi Rob, Thanks for pointing this out. The emacs-lisp interaction is so simple we apparently never implemented checks which are routine in other languages. I just pushed up a fix to the git repository so the ":results scalar" header argument combination should now be respected for emacs-lisp. Thanks -- Eric Robert McIntyre writes: > hi --- I'm working through the org manual and have run into a strange > problem with ":results scalar" > > M-x org-version gives "Org-mode version 7.5 (release_7.5.288.gcec8.dirty)". > > I've made a code block using #+begin_src emacs-lisp :results scalar, > with the source just being '(1 2 3), but I get back an org-table > instead of the expected : (1 2 3). what am I doing wrong? > > a minimal example file can be found here: > https://gist.github.com/1034648 > > I also get the same thing when trying the stable Org-mode version 7.5. > > sincerely, > --Robert McIntyre > -- Eric Schulte http://cs.unm.edu/~eschulte/