* inline code block problem; first attempt
@ 2016-06-08 18:28 Charles Millar
2016-06-08 18:37 ` inline code block problem; first attempt (correction) Charles Millar
0 siblings, 1 reply; 5+ messages in thread
From: Charles Millar @ 2016-06-08 18:28 UTC (permalink / raw)
To: emacs-orgmode
C-c C-c works on this
#+begin_src emacs-lisp :var totalcommissions=TOTALCOM[-1,-1]
totalcommissions
#+end_src
#+RESULTS:
: 99990.0
but not on this
Inline version src-emacs-lisp[:var
totalcommissions=TOTALCOM[-1,-1]]{totalcommissions}
What am I missing?
Charlie Millar
^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <f70128ed2c794b438fd330d1ca7b0369@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>]
* Re: inline code block problem; first attempt
[not found] <f70128ed2c794b438fd330d1ca7b0369@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
@ 2016-06-08 18:36 ` Eric S Fraga
2016-06-08 19:47 ` Charles Millar
2016-06-08 19:56 ` Charles C. Berry
0 siblings, 2 replies; 5+ messages in thread
From: Eric S Fraga @ 2016-06-08 18:36 UTC (permalink / raw)
To: Charles Millar; +Cc: emacs-orgmode@gnu.org
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: inline code block problem; first attempt
2016-06-08 18:36 ` inline code block problem; first attempt Eric S Fraga
@ 2016-06-08 19:47 ` Charles Millar
2016-06-08 19:56 ` Charles C. Berry
1 sibling, 0 replies; 5+ messages in thread
From: Charles Millar @ 2016-06-08 19:47 UTC (permalink / raw)
To: emacs-orgmode@gnu.org
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 | 99990.00 |
#+begin_src emacs-lisp :var totalcommissions=TOTALCOM[-1,-1]
totalcommissions
#+end_src
#+RESULTS:
: 99990.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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: inline code block problem; first attempt
2016-06-08 18:36 ` inline code block problem; first attempt Eric S Fraga
2016-06-08 19:47 ` Charles Millar
@ 2016-06-08 19:56 ` Charles C. Berry
1 sibling, 0 replies; 5+ messages in thread
From: Charles C. Berry @ 2016-06-08 19:56 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-06-08 19:56 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-08 18:28 inline code block problem; first attempt Charles Millar
2016-06-08 18:37 ` inline code block problem; first attempt (correction) Charles Millar
[not found] <f70128ed2c794b438fd330d1ca7b0369@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-06-08 18:36 ` inline code block problem; first attempt Eric S Fraga
2016-06-08 19:47 ` Charles Millar
2016-06-08 19:56 ` Charles C. Berry
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).