Re: [O] [PATCH] inline src block results can be removed

2014-11-25 Thread Daniele Pizzolli
On 2014-11-24 12:12, Daniele Pizzolli wrote: On 2014-11-24 11:18, Andreas Leha wrote: Hi Daniele, I think your wishlist is somewhere further down the road. I usually implement some of your points in the src_language. I see that it would be nice if org supported these use cases, but I would

Re: [O] [PATCH] inline src block results can be removed

2014-11-25 Thread Andreas Leha
Hi Daniele, Daniele Pizzolli d...@toel.it writes: On 2014-11-24 12:12, Daniele Pizzolli wrote: On 2014-11-24 11:18, Andreas Leha wrote: Hi Daniele, I think your wishlist is somewhere further down the road. I usually implement some of your points in the src_language. I see that it would

Re: [O] [PATCH] inline src block results can be removed

2014-11-24 Thread Daniele Pizzolli
On 2014-11-17 00:23, Nicolas Goaziou wrote: Charles C. Berry writes: For now, I'd be willing to make patches that will allow removal of the inline src block results that do *not* involve these header args: [] IMO, we're too much focused on the implementation details. We ought to agree on

Re: [O] [PATCH] inline src block results can be removed

2014-11-24 Thread Andreas Leha
Hi Daniele, I think your wishlist is somewhere further down the road. I usually implement some of your points in the src_language. I see that it would be nice if org supported these use cases, but I would see them as part of the LOB or maybe in some package in contrib rather than in core

Re: [O] [PATCH] inline src block results can be removed

2014-11-24 Thread Daniele Pizzolli
On 2014-11-24 11:18, Andreas Leha wrote: Hi Daniele, I think your wishlist is somewhere further down the road. I usually implement some of your points in the src_language. I see that it would be nice if org supported these use cases, but I would see them as part of the LOB or maybe in some

Re: [O] [PATCH] inline src block results can be removed

2014-11-16 Thread Nicolas Goaziou
Charles C. Berry ccbe...@ucsd.edu writes: For now, I'd be willing to make patches that will allow removal of the inline src block results that do *not* involve these header args: - :file fn - :wrap wrapper - :results latex html drawer org code which I can do barely touching

Re: [O] [PATCH] inline src block results can be removed

2014-11-15 Thread Charles C. Berry
On Fri, 14 Nov 2014, Nicolas Goaziou wrote: Charles C. Berry ccbe...@ucsd.edu writes: More patches (as you can see). Now ox.el, ob-core.el, and ob-exp.el are patched. Thanks. [skipping to the bottom - omitting useful critiques of code and opinions about strategy and tactics from

Re: [O] [PATCH] inline src block results can be removed

2014-11-15 Thread Nicolas Goaziou
Hello, Aaron Ecay aarone...@gmail.com writes: This is a step back from the present situation, where a user can get a custom format applied by default to all inline results by setting ‘org-babel-inline-result-wrap’. I think it’s reasonable for users to want to set off babel results in a

Re: [O] [PATCH] inline src block results can be removed

2014-11-14 Thread Charles C. Berry
Nicolas, More patches (as you can see). Now ox.el, ob-core.el, and ob-exp.el are patched. A few examples of how they render various src_lang[headers]{code} setups are also attached. Discussion inline below. On Thu, 13 Nov 2014, Nicolas Goaziou wrote: Hello, Charles C. Berry

Re: [O] [PATCH] inline src block results can be removed

2014-11-14 Thread Nicolas Goaziou
Charles C. Berry ccbe...@ucsd.edu writes: More patches (as you can see). Now ox.el, ob-core.el, and ob-exp.el are patched. Thanks. Also, the user can customize org-babel-inline-result-wrap to always get verbatim or otherwise wrap the contents of the macro. I don't think this is a good

Re: [O] [PATCH] inline src block results can be removed

2014-11-14 Thread Aaron Ecay
Hi Chuck, Hi Nicolas, I had a response to Chuck’s earlier message that was sitting around waiting to be finished...time marches on however. Apologies. I think the following bit is the only part that’s potentially still relevant: I don't think the usual #+MACRO works here, as the definition

Re: [O] [PATCH] inline src block results can be removed

2014-11-13 Thread Nicolas Goaziou
Hello, Charles C. Berry ccbe...@ucsd.edu writes: I like the flexibility that macros would allow. I like it too. Macros are much better than export snippets for the task. I don't think the usual #+MACRO works here, as the definition would be found in `org-macro-templates' by the first call

Re: [O] [PATCH] inline src block results can be removed

2014-11-13 Thread Andreas Leha
Hi, Nicolas Goaziou m...@nicolasgoaziou.fr writes: Hello, Charles C. Berry ccbe...@ucsd.edu writes: I like the flexibility that macros would allow. I like it too. Macros are much better than export snippets for the task. I don't think the usual #+MACRO works here, as the definition would

Re: [O] [PATCH] inline src block results can be removed

2014-11-12 Thread Aaron Ecay
Hi Chuck, 2014ko azaroak 12an, Charles C. Berry-ek idatzi zuen: Inline src blocks cannot update their results --- causing some of us heaadaches [1]. These patches fix that by placing the result of an inline src block in an export snippet with a faux :back-end called 'babel'. So C-c

Re: [O] [PATCH] inline src block results can be removed

2014-11-12 Thread Charles C. Berry
On Wed, 12 Nov 2014, Aaron Ecay wrote: Hi Chuck, 2014ko azaroak 12an, Charles C. Berry-ek idatzi zuen: Inline src blocks cannot update their results --- causing some of us heaadaches [1]. These patches fix that by placing the result of an inline src block in an export snippet with a faux

Re: [O] [PATCH] inline src block results can be removed

2014-11-11 Thread Andreas Leha
Hi Chuck, Charles C. Berry ccbe...@ucsd.edu writes: Inline src blocks cannot update their results --- causing some of us heaadaches [1]. These patches fix that by placing the result of an inline src block in an export snippet with a faux :back-end called 'babel'. So C-c C-c with point on

Re: [O] [PATCH] inline src block results can be removed

2014-11-11 Thread Charles C. Berry
On Wed, 12 Nov 2014, Andreas Leha wrote: Hi Chuck, Charles C. Berry ccbe...@ucsd.edu writes: Inline src blocks cannot update their results --- causing some of us heaadaches [1]. [deleted announcement of fix] First of all: Thanks a lot! I'll (try to find time to) test these patches.