From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: [PATCH]: Add header-args property to source block info Date: Tue, 10 Feb 2015 21:54:25 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38403) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLHpP-0002YA-0e for emacs-orgmode@gnu.org; Tue, 10 Feb 2015 15:54:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YLHpK-00068B-Vu for emacs-orgmode@gnu.org; Tue, 10 Feb 2015 15:54:38 -0500 Received: from mail-wg0-f51.google.com ([74.125.82.51]:34012) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLHpK-00066f-QF for emacs-orgmode@gnu.org; Tue, 10 Feb 2015 15:54:34 -0500 Received: by mail-wg0-f51.google.com with SMTP id y19so3098725wgg.10 for ; Tue, 10 Feb 2015 12:54:34 -0800 (PST) In-Reply-To: (Charles C. Berry's message of "Tue, 10 Feb 2015 09:58:28 -0800") 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: "Charles C. Berry" Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable "Charles C. Berry" writes: > On Tue, 10 Feb 2015, Rainer M Krug wrote: > >> Hi >> >> Following a recent discussion (based on me forgetting a ":" when setting >> the property :header-args), I added the output of the property >> header-args to the output of org-babel-get-src-block-info to make >> debugging easier. > [snip] >> >> Using the patched version, one gets the following: >> >> ,---- >> | Lang: R >> | Properties: >> | :header-args :exports both :results output exports code >> | :header-args:R :session somename >> | Header Arguments: >> | :cache no >> | :exports both >> | :hlines no >> | :noweb no >> | :results code exports output replace >> | :session somename >> | :tangle no >> `---- >> > > This is handy! > > Just a thought: > > Perhaps allow an `(interactive "P)' type `arg' to determine whether to > present the properties? > > i.e. C-u C-c C-v C-i reveals both Properties: and Header Arguments:, while > C-c C-v C-i just the latter. Apart from having no idea how I can do this, I think it would add just another layer of complexity which is actually not needed as this is just an information to be assessed visually and not to be parsed by some code - so I do not assume there are any backward compatibility issues. Also, as the information presented is only relative small (20 lines max?) it is still quite easy to see the original information. If the patch would strip away information or add a huge amount of it, I would completely agree with your suggestion, but as it stands, I see no harm in leaving it as it is in the patch. Cheers, Rainer > > Best, > > Chuck > > =2D-=20 Rainer M. Krug email: Rainerkrugsde PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBAgAGBQJU2nAFAAoJENvXNx4PUvmCDW4IAJf2ZMoxL9UzGthXvnZVjci4 JMVVHu6snPeeQMXXK6X6op3wxdjF82kgY5rxJdVVY2Ohx0iQj8eS4SNWVUc0hwEq bUxknFqTy9IWr6FwIfolpUu7by5YTJMER12tqomroqJO+/6n/Iracr2brsR7kjF5 HaTfUDKS+26b1LgNL5FAX6/fJF9pRXJ508fo3Vuf4/hiadtz0ki6Z5f5QZajnopT 9ZicWuB5S2xYItsUc/PYj/9fr1DHWTz/4+FY2If7P2sAfR2s5QPC8WraaOL8LAFL 9kOBpl7O07U7KbfubNNP73rZg1aGSicygOUsen/II72Ft3Qbsnyo//8w2vwyQzk= =xEAB -----END PGP SIGNATURE----- --=-=-=--