From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Exporting caption with raw results from inline source blocks Date: Fri, 26 Apr 2013 14:20:36 -0600 Message-ID: <87ip393uy3.fsf@gmail.com> References: <87ehe0xu10.fsf@med.uni-goettingen.de> <87k3npwlym.fsf@med.uni-goettingen.de> <87fvydwjkc.fsf@med.uni-goettingen.de> <87a9oli9vo.fsf@gmail.com> <87wqrp5am5.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56442) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVp8F-0003gL-2B for emacs-orgmode@gnu.org; Fri, 26 Apr 2013 16:20:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UVp8D-0002Ks-TU for emacs-orgmode@gnu.org; Fri, 26 Apr 2013 16:20:35 -0400 Received: from mail-da0-x229.google.com ([2607:f8b0:400e:c00::229]:62877) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVp8D-0002Kl-N5 for emacs-orgmode@gnu.org; Fri, 26 Apr 2013 16:20:33 -0400 Received: by mail-da0-f41.google.com with SMTP id p8so512189dan.28 for ; Fri, 26 Apr 2013 13:20:33 -0700 (PDT) In-Reply-To: <87wqrp5am5.fsf@gmail.com> (Nicolas Goaziou's message of "Fri, 26 Apr 2013 21:56:50 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: Andreas Leha , emacs-orgmode@gnu.org, Eric Schulte Nicolas Goaziou writes: > Hello, > > Eric Schulte 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