From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: [PATCH] inline src block results can be removed Date: Fri, 14 Nov 2014 09:43:16 -0800 Message-ID: References: <87egt81acy.fsf@gmail.com> <8761ejq9ek.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1345353807-1415986997=:1154" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33448) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpKu8-0006w5-8p for emacs-orgmode@gnu.org; Fri, 14 Nov 2014 12:43:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XpKu1-00021F-Br for emacs-orgmode@gnu.org; Fri, 14 Nov 2014 12:43:28 -0500 Received: from iport-bcv1-out.ucsd.edu ([132.239.0.119]:35908) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpKu0-00020E-Ql for emacs-orgmode@gnu.org; Fri, 14 Nov 2014 12:43:21 -0500 In-Reply-To: <8761ejq9ek.fsf@nicolasgoaziou.fr> 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: Aaron Ecay , Andreas Leha , emacs-orgmode@gnu.org, Ista Zahn , mcg This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1345353807-1415986997=:1154 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII 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_[headers]{code} setups are also attached. Discussion inline below. On Thu, 13 Nov 2014, Nicolas Goaziou wrote: > Hello, > > "Charles C. Berry" 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 and existing stuff >> would be expanded instead of being left for babel to remove it. But >> setting it up as a document keyword should work, right? >> >> Don't know if there are other gotchas. >> >> Maybe a limited collection of formats could be set up to support basic >> markup options and the macro could choose amongst them with a second >> arg set by a babel header arg. > > I think {{{results()}}} should remain a dumb wrapper itself and not try > to do some formatting (i.e., a simple, hard-coded macro). Formatting > should be on the side of Babel and, possibly, its arguments. Let's not > duplicate features. > Point taken. Also, the user can customize org-babel-inline-result-wrap to always get verbatim or otherwise wrap the contents of the macro. >> I am not quite sure how to marry this to header args. Maybe the :wrap >> header arg should be hijacked for inline src blocks to specify a macro >> for the results. > > Macro can be the default output. If you don't want a macro, use raw > header. IOW, there is no need for a specific header arg. > >> I mean, does anyone actually use stuff like src_R[:wrap latex]{1+2}? >> The current result cannot be parsed as an export block, AFAICS. > > It could evaluate to @@latex:3@@. Parsing can also be solved if > necessary. `:wrap latex' results in @@latex: ... @@. `:results latex' results in : @@LaTeX: : @@ which is a bit unsightly, but can be parsed and removed. I have not touched - :RESULTS drawers - lists - tables --- I appreciate your coaching/feedback. Aaron Ecay's suggestion to use a macro was a good one. Thanks Aron. Best, Chuck --0-1345353807-1415986997=:1154 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=0001-lisp-ob-core.el-Replace-inline-results-macro-call-or.patch Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: ob-core.el patch Content-Disposition: attachment; filename=0001-lisp-ob-core.el-Replace-inline-results-macro-call-or.patch RnJvbSBiMzY5YjBhMWU2OWZkMmI5MWM4ZjRlYjdkODI0ZGNkMTgyMzI5MTdi IE1vbiBTZXAgMTcgMDA6MDA6MDAgMjAwMQ0KRnJvbTogY2hhc2JlcnJ5IDxj Y2JlcnJ5QHVjc2QuZWR1Pg0KRGF0ZTogVGh1LCAxMyBOb3YgMjAxNCAyMDo0 NTowMSAtMDgwMA0KU3ViamVjdDogW1BBVENIIDEvM10gbGlzcC9vYi1j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p-ob-exp.el-Enable-removable-inline-src-results.patch Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: ob-exp.el patch Content-Disposition: attachment; filename=0002-lisp-ob-exp.el-Enable-removable-inline-src-results.patch RnJvbSBjNjllNDlmNTUxZDRkYmVmMDc1MzUxMmFjN2RkODkxMTU0NzgyNDRi IE1vbiBTZXAgMTcgMDA6MDA6MDAgMjAwMQ0KRnJvbTogY2hhc2JlcnJ5IDxj Y2JlcnJ5QHVjc2QuZWR1Pg0KRGF0ZTogVGh1LCAxMyBOb3YgMjAxNCAyMDo0 OTo1NyAtMDgwMA0KU3ViamVjdDogW1BBVENIIDIvM10gbGlzcC9vYi1leHAu ZWw6IEVuYWJsZSByZW1vdmFibGUgaW5saW5lIHNyYyByZXN1bHRzDQoNCiog bGlzcC9vYi1leHAuZWwgKG9yZy1iYWJlbC1leHAtZG8tZXhwb3J0KTogQWZ0 ZXIgaW5saW5lIHNyYyBibG9jayBjbGVhbg0KYEBAPGJhY2tlbmQ+OjxyZXN1 bHQ+QEAnIG9yIGB7e3tyZXN1bHRzKDxyZXN1bHQ+fX19Jy4NCi0tLQ0KIGxp c3Avb2ItZXhwLmVsIHwgNCArKystDQogMSBmaWxlIGNoYW5nZWQsIDMgaW5z ZXJ0aW9ucygrKSwgMSBkZWxldGlvbigtKQ0KDQpkaWZmIC0tZ2l0IGEvbGlz cC9vYi1leHAuZWwgYi9saXNwL29iLWV4cC5lbA0KaW5kZXggZWRiODg5Yy4u ODMzNTllNSAxMDA2NDQNCi0tLSBhL2xpc3Avb2ItZXhwLmVsDQorKysgYi9s aXNwL29iLWV4cC5lbA0KQEAgLTMxNSw3ICszMTUsOSBAQCBUaGUgZnVuY3Rp b24gcmVzcGVjdHMgdGhlIHZhbHVlIG9mIHRoZSA6ZXhwb3J0cyBoZWFkZXIg YXJndW1lbnQuIg0KICAgKGxldCAoKHNpbGVudGx5IChsYW1iZGEgKCkgKGxl dCAoKHNlc3Npb24gKGNkciAoYXNzb2MgOnNlc3Npb24gKG50aCAyIGluZm8p KSkpKQ0KIAkJCSAgICAgICAod2hlbiAobm90IChhbmQgc2Vzc2lvbiAoZXF1 YWwgIm5vbmUiIHNlc3Npb24pKSkNCiAJCQkJIChvcmctYmFiZWwtZXhwLXJl c3VsdHMgaW5mbyB0eXBlICdzaWxlbnQpKSkpKQ0KLQkoY2xlYW4gKGxhbWJk YSAoKSAodW5sZXNzIChlcSB0eXBlICdpbmxpbmUpIChvcmctYmFiZWwtcmVt b3ZlLXJlc3VsdCBpbmZvKSkpKSkNCisJKGNsZWFuIChsYW1iZGEgKCkgKGlm IChlcSB0eXBlICdpbmxpbmUpDQorCQkJICAgICAgKG9yZy1iYWJlbC1kZWxl dGUtYmFiZWwtc25pcHBldCBpbmZvKQ0KKwkJCSAgICAob3JnLWJhYmVsLXJl bW92ZS1yZXN1bHQgaW5mbykpKSkpDQogICAgIChjYXNlIChpbnRlcm4gKG9y IChjZHIgKGFzc29jIDpleHBvcnRzIChudGggMiBpbmZvKSkpICJjb2RlIikp DQogICAgICAgKCdub25lIChmdW5jYWxsIHNpbGVudGx5KSAoZnVuY2FsbCBj bGVhbikgIiIpDQogICAgICAgKCdjb2RlIChmdW5jYWxsIHNpbGVudGx5KSAo ZnVuY2FsbCBjbGVhbikgKG9yZy1iYWJlbC1leHAtY29kZSBpbmZvIHR5cGUp KQ0KLS0gDQoxLjkuMyAoQXBwbGUgR2l0LTUwKQ0KDQo= --0-1345353807-1415986997=:1154 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=0003-lisp-ox.el-Enable-removable-inline-src-results.patch Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: ox.el patch Content-Disposition: attachment; filename=0003-lisp-ox.el-Enable-removable-inline-src-results.patch RnJvbSBkNTEwYzgzZTVlYjAyN2NhMmU4Njc4YjU1NTdhYzNhZjg3MGE1ODhi IE1vbiBTZXAgMTcgMDA6MDA6MDAgMjAwMQ0KRnJvbTogY2hhc2JlcnJ5IDxj Y2JlcnJ5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Zy1l bGVtZW50LXBhcnNlLWJ1ZmZlciBuaWwgdmlzaWJsZS1vbmx5KSkNCi0tIA0K MS45LjMgKEFwcGxlIEdpdC01MCkNCg0K --0-1345353807-1415986997=:1154 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=inline-examples.org Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: examples of inline src calls and output Content-Disposition: attachment; filename=inline-examples.org DQpFeGVjdXRpbmcgdGhlc2UgY29tbWFuZHM6DQoNCnNyY19lbWFjcy1saXNw Wzp3cmFwIGxhdGV4XXsiQWEsYiJ9IEBAbGF0ZXg6IHdyYXAgICAgQEAgDQpz cmNfZW1hY3MtbGlzcFs6cmVzdWx0cyByYXddeyJhLGIifSBAQGxhdGV4OiBy YXcgICAgIEBAIA0Kc3JjX2VtYWNzLWxpc3B7IkEsQixDIn0gQEBsYXRleDog bWFjcm8gICAgQEAgICAgICAgICAgICAgDQpzcmNfZW1hY3MtbGlzcFs6cmVz dWx0cyBsYXRleF17ImEsYiJ9IEBAbGF0ZXg6IDpyZXN1bHRzIGxhdGV4ICAg QEAgDQpzcmNfZW1hY3MtbGlzcFs6d3JhcCBsYXRleF17ImEsYiJ9ICAgIEBA bGF0ZXg6IEtFRVAgTUUhISEgICBAQCANCnNyY19lbWFjcy1saXNweyJhLGIi fSAgICAgICAgICAgICAgICAgICB7e3tyZXN1bHRzKERFRUxFVEUgTUUpfX19 ICAgDQoNCkdpdmVzIHRoaXMgb3V0cHV0Og0KDQpzcmNfZW1hY3MtbGlzcFs6 d3JhcCBsYXRleF17IkFhLGIifSBAQGxhdGV4OkFhLGJAQCANCnNyY19lbWFj cy1saXNwWzpyZXN1bHRzIHJhd117ImEsYiJ9IGEsYiANCnNyY19lbWFjcy1s aXNweyJBLEIsQyJ9IHt7e3Jlc3VsdHMoQVwsQlwsQyl9fX0gDQpzcmNfZW1h Y3MtbGlzcFs6cmVzdWx0cyBsYXRleF17ImEsYiJ9IEBATGFUZVg6DQphLGJA QA0KIA0Kc3JjX2VtYWNzLWxpc3BbOndyYXAgbGF0ZXhdeyJhLGIifSBAQGxh dGV4OmEsYkBAICAgIEBAbGF0ZXg6IEtFRVAgTUUhISEgICBAQCANCnNyY19l bWFjcy1saXNweyJhLGIifSB7e3tyZXN1bHRzKGFcLGIpfX19ICAgICAgICAg ICAgICAgICAgICAgIA0K --0-1345353807-1415986997=:1154--