emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <schulte.eric@gmail.com>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: Andreas Leha <andreas.leha@med.uni-goettingen.de>,
	emacs-orgmode@gnu.org, Eric Schulte <schulte.eric@gmail.com>
Subject: Re: Exporting caption with raw results from inline source blocks
Date: Fri, 26 Apr 2013 14:20:36 -0600	[thread overview]
Message-ID: <87ip393uy3.fsf@gmail.com> (raw)
In-Reply-To: <87wqrp5am5.fsf@gmail.com> (Nicolas Goaziou's message of "Fri, 26 Apr 2013 21:56:50 +0200")

Nicolas Goaziou <n.goaziou@gmail.com> writes:

> Hello,
>
> Eric Schulte <schulte.eric@gmail.com> writes:
>
>> I'm loath to add /another/ results keyword, but perhaps it would be nice
>> to be able to specify that you want the results processed (e.g,
>> stripping the newline), but you don't want them to be wrapped as an
>> example.  An alternate approach which may be preferable would be to
>> expose a defcustom along the lines of org-babel-inline-result-wrapper,
>> which could be used by org-babel-examplize-region instead of "=%s=".
>
> What about always removing trailing newline characters in _inline_ src
> blocks results?
>

That is certainly an option.  It could be argued that the point of "raw"
is to not change the output at all, and sometimes people use (abuse)
inline results expecting to be able to have them insert multi-line
results (e.g., they support tabular output).

There are a number of solutions here which I personally would be happy
with.

-- 
Eric Schulte
http://cs.unm.edu/~eschulte

  reply	other threads:[~2013-04-26 20:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-24  7:33 Exporting caption with raw results from inline source blocks Andreas Leha
2013-04-26 11:49 ` Andreas Leha
2013-04-26 12:28   ` John Hendy
2013-04-26 12:41     ` Andreas Leha
2013-04-26 12:56       ` John Hendy
2013-04-26 15:34       ` Eric Schulte
2013-04-26 15:44         ` Eric Schulte
2013-04-26 19:56         ` Nicolas Goaziou
2013-04-26 20:20           ` Eric Schulte [this message]
2013-04-27  6:30             ` Sebastien Vauban
2013-04-27 11:18               ` Andreas Leha

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=87ip393uy3.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=andreas.leha@med.uni-goettingen.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \
    /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).