emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] non-space, paste, (???) character for inline results


From: Greg Minshall
Subject: [O] non-space, paste, (???) character for inline results
Date: Tue, 30 Jan 2018 13:59:20 +0530

hi.  thanks again for org-mode.

having discovered this variable, i tend to run with
: #+bind: org-babel-inline-result-wrap "%s"

but, at the same time, i'd often like to put some character(s) before or
after the result of some particular inline call, e.g., a dollar sign, a
percent, etc.

i could, i suppose, rebind o-b-i-r-wrap around those calls, but...

if one writes, e.g., $call_foo(), the call_foo() doesn't happen
(presumably isn't recognized).

i've tried various constructs that might allow the evaluation to be
recognize the call, but "paste" the result in with no intervening space,
things like
: #+macro: null
: ${{{null}}}call_foo()
but to no avail.  (in the above case, i'm assuming macro expansion
happens *before* inline calls -- as it should -- so the inline call
procedure sees, e.g., $call_foo() and, again, doesn't distinguish it.)

does such a construct exist?  if not, would it make sense (and be
possible, given the installed base!) to add some such?  (if so, i'd
probably vote for {{{}}}, the "null" macro which, anyway, currently
isn't modified -- in my setup, anyway -- during export.)

cheers, Greg



reply via email to

[Prev in Thread] Current Thread [Next in Thread]