From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: inline code block problem; first attempt Date: Wed, 8 Jun 2016 12:56:21 -0700 Message-ID: References: <87y46fy1d1.fsf@ucl.ac.uk> 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]:59653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAjaV-0007oG-R4 for emacs-orgmode@gnu.org; Wed, 08 Jun 2016 15:56:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bAjaS-0005iY-NQ for emacs-orgmode@gnu.org; Wed, 08 Jun 2016 15:56:27 -0400 Received: from iport-bcv1-out.ucsd.edu ([132.239.0.119]:18571) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAjaS-0005hu-Ex for emacs-orgmode@gnu.org; Wed, 08 Jun 2016 15:56:24 -0400 In-Reply-To: <87y46fy1d1.fsf@ucl.ac.uk> 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" To: Eric S Fraga Cc: "emacs-orgmode@gnu.org" , Charles Millar On Wed, 8 Jun 2016, Eric S Fraga wrote: > Can you please post a complete example so that others can try it? Also, > what version of org etc.? A bug in `org-element-inline-src-block-parser', I think. Here is an ECM: src_emacs-lisp[:var totalcommissions=TOTALCOM]{totalcommissions} src_emacs-lisp[:var totalcommissions=TOTALCOM[-1,-1]]{totalcommissions} #+BEGIN_SRC emacs-lisp (save-excursion (org-babel-goto-src-block-head) (forward-line -1) (list (org-element-type (org-element-inline-src-block-parser)) (progn (forward-line -1) (org-element-type (org-element-inline-src-block-parser))))) #+END_SRC #+RESULTS: | nil | inline-src-block | Chuck