Re: [O] inline code block problem; first attempt
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
Re: [O] inline code block problem; first attempt
I am getting careless. On 06/08/2016 02:36 PM, Eric S Fraga wrote: Can you please post a complete example so that others can try it? Also, what version of org etc.? sample.org file * TOTALCOM :ignoreheading: #+NAME: TOTALCOM #+ATTR_LATEX: :mode table :environment longtable :align p{415pt}N{8}{2} | {{{cmhfill}}} Total commissions due | 0.00 | #+begin_src emacs-lisp :var totalcommissions=TOTALCOM[-1,-1] totalcommissions #+end_src #+RESULTS: : 0.0 Inline version src_emacs-lisp[:var totalcommissions=TOTALCOM[-1,-1]]{totalcommissions} GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.5) of 2015-03-07 on trouble, modified by Debian Org-mode version 8.3.4 (release_8.3.4-894-gf94df5 @ /usr/local/share/emacs/site-lisp/org-mode/lisp/) Charlie
Re: [O] inline code block problem; first attempt (correction)
On 06/08/2016 02:28 PM, Charles Millar wrote: C-c C-c works on this #+begin_src emacs-lisp :var totalcommissions=TOTALCOM[-1,-1] totalcommissions #+end_src #+RESULTS: : 0.0 but not on this Inline version src_emacs-lisp[:var totalcommissions=TOTALCOM[-1,-1]]{totalcommissions} What am I missing? Charlie Millar
Re: [O] inline code block problem; first attempt
Can you please post a complete example so that others can try it? Also, what version of org etc.? -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.94.1, Org release_8.3.4-869-gf2c421