From: "Charles C. Berry" <ccberry@ucsd.edu>
To: Eric S Fraga <e.fraga@ucl.ac.uk>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>,
Charles Millar <millarc@verizon.net>
Subject: Re: inline code block problem; first attempt
Date: Wed, 8 Jun 2016 12:56:21 -0700 [thread overview]
Message-ID: <alpine.OSX.2.20.1606081254230.856@charles-berrys-macbook.local> (raw)
In-Reply-To: <87y46fy1d1.fsf@ucl.ac.uk>
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
next prev parent reply other threads:[~2016-06-08 19:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 [this message]
2016-06-09 2:43 ` [PATCH} " Charles C. Berry
2016-06-09 11:41 ` Nicolas Goaziou
2016-06-09 16:04 ` Charles C. Berry
2016-06-10 21:49 ` Nicolas Goaziou
2016-06-11 11:54 ` Charles Millar
2016-06-08 18:28 Charles Millar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.OSX.2.20.1606081254230.856@charles-berrys-macbook.local \
--to=ccberry@ucsd.edu \
--cc=e.fraga@ucl.ac.uk \
--cc=emacs-orgmode@gnu.org \
--cc=millarc@verizon.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).