emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* non-space, paste, (???) character for inline results
@ 2018-01-30  8:29 Greg Minshall
  2018-01-30  9:15 ` Nicolas Goaziou
  0 siblings, 1 reply; 19+ messages in thread
From: Greg Minshall @ 2018-01-30  8:29 UTC (permalink / raw)
  To: Org Mode List

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

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2018-02-05 23:15 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-30  8:29 non-space, paste, (???) character for inline results Greg Minshall
2018-01-30  9:15 ` Nicolas Goaziou
2018-01-30 13:06   ` Greg Minshall
2018-01-30 20:55     ` Nicolas Goaziou
2018-01-31  1:19       ` Greg Minshall
2018-01-31 11:13         ` Nicolas Goaziou
2018-01-31 15:12           ` Greg Minshall
2018-01-31 16:19             ` Nicolas Goaziou
2018-01-31 17:41               ` Greg Minshall
2018-01-31 17:52                 ` Kaushal Modi
2018-01-31 17:54                   ` Kaushal Modi
2018-01-31 18:09                 ` Nicolas Goaziou
2018-02-01  6:23                   ` Greg Minshall
2018-02-03 14:01                     ` Nicolas Goaziou
2018-02-03 14:27                       ` Greg Minshall
2018-02-03 14:31                         ` Nicolas Goaziou
2018-02-03 14:41                           ` Greg Minshall
2018-02-03 23:33                             ` Nicolas Goaziou
2018-02-05 23:15                               ` Greg Minshall

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).