From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martyn Jago Subject: Re: [babel][bug] org-babel-balanced-split (with Emacs-22) Date: Tue, 03 Jan 2012 17:40:51 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:56374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri8MF-0007WO-BB for emacs-orgmode@gnu.org; Tue, 03 Jan 2012 12:41:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ri8ME-0003Vx-6i for emacs-orgmode@gnu.org; Tue, 03 Jan 2012 12:41:07 -0500 Received: from lo.gmane.org ([80.91.229.12]:48238) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri8MD-0003Vt-Tm for emacs-orgmode@gnu.org; Tue, 03 Jan 2012 12:41:06 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ri8MD-00014o-2z for emacs-orgmode@gnu.org; Tue, 03 Jan 2012 18:41:05 +0100 Received: from 88-96-171-138.dsl.zen.co.uk ([88.96.171.138]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Jan 2012 18:41:05 +0100 Received: from martyn.jago by 88-96-171-138.dsl.zen.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Jan 2012 18:41:05 +0100 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: emacs-orgmode@gnu.org Martyn Jago writes: > There is a bug running babel on Emacs 22.1.1 with a minimal init file. > [...] > > The following fails: > > * Test fails > > #+begin_src emacs-lisp :results silent > > "hello there" > > #+end_src > [...] The problem appears to be associated with the way `member' works: - on Emacs 23+ the following doesn't generate an error - on Emacs 22 it generates "Wrong type argument: listp, 58" #+begin_src emacs-lisp (member 116 58) #+end_src `org-babel-balanced-split' appears to rely on not generating an error when the `member' LIST parameter is actually a number. Best, Martyn