emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Greg Minshall <minshall@acm.org>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: non-space, paste, (???) character for inline results
Date: Tue, 30 Jan 2018 13:59:20 +0530	[thread overview]
Message-ID: <15598.1517300960@minshall-apollo.minshall.org> (raw)

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	other threads:[~2018-01-30  8:29 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-30  8:29 Greg Minshall [this message]
2018-01-30  9:15 ` non-space, paste, (???) character for inline results 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

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=15598.1517300960@minshall-apollo.minshall.org \
    --to=minshall@acm.org \
    --cc=emacs-orgmode@gnu.org \
    /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).