From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: Exporting caption with raw results from inline source blocks Date: Sat, 27 Apr 2013 08:30:30 +0200 Message-ID: <86fvyczdrt.fsf@somewhere.org> 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> <87ip393uy3.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Eric, Eric Schulte wrote: > Nicolas Goaziou writes: >> 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 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