emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: Exporting caption with raw results from inline source blocks
Date: Sat, 27 Apr 2013 08:30:30 +0200	[thread overview]
Message-ID: <86fvyczdrt.fsf@somewhere.org> (raw)
In-Reply-To: 87ip393uy3.fsf@gmail.com

Hi Eric,

Eric Schulte wrote:
> Nicolas Goaziou <n.goaziou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>> Eric Schulte <schulte.eric-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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

That was one point I tried to attract attention onto: since short, we already
modify the "raw" output (by "cycling" on tables-alike results). We don't have
anymore a real "raw" results which would completely stay untouched.

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

Best regards,
  Seb

-- 
Sebastien Vauban

  reply	other threads:[~2013-04-27  6:30 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
2013-04-27  6:30             ` Sebastien Vauban [this message]
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=86fvyczdrt.fsf@somewhere.org \
    --to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.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).