From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: Problem with src_ruby inline code and [] Date: Tue, 15 Mar 2016 14:51:00 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afwsB-0003GX-Fb for emacs-orgmode@gnu.org; Tue, 15 Mar 2016 17:51:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1afws8-0002eF-9w for emacs-orgmode@gnu.org; Tue, 15 Mar 2016 17:51:27 -0400 Received: from iport-acv3-out.ucsd.edu ([132.239.0.4]:30365) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afws8-0002YM-1N for emacs-orgmode@gnu.org; Tue, 15 Mar 2016 17:51:24 -0400 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: William Denton Cc: emacs-orgmode@gnu.org On Tue, 15 Mar 2016, William Denton wrote: > I was updating and exporting a file where I use Ruby to do some basic > arithmetic on tables, and noticed that inline code blocks where I reference > an array aren't working. > ECM: src_ruby[:var t=sampletable]{t[2][2]} #+BEGIN_SRC emacs-lisp (save-excursion (search-backward (concat "src" "_")) (org-element-property :value (org-element-inline-src-block-parser))) #+END_SRC #+RESULTS: : t[2 HTH, Chuck