From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: :session question Date: Mon, 10 Jun 2013 10:12:54 +0200 Message-ID: <87ehca1j09.fsf@krugs.de> References: <51501AF2.1070405@easy-emacs.de> <8738vjugwd.fsf@gmail.com> <51516699.6090604@gmail.com> <87ip4ezf93.fsf@med.uni-goettingen.de> <87fvzi72ve.fsf@gmail.com> <87ip4e5gai.fsf@gmail.com> <87k3nmd5es.fsf@Rainer.invalid> <87sj264o0f.fsf@gmail.com> 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]:38881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UlxE2-0000kt-Hm for emacs-orgmode@gnu.org; Mon, 10 Jun 2013 04:13:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UlxE0-0002uR-V9 for emacs-orgmode@gnu.org; Mon, 10 Jun 2013 04:13:14 -0400 Received: from plane.gmane.org ([80.91.229.3]:39086) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UlxE0-0002u7-OB for emacs-orgmode@gnu.org; Mon, 10 Jun 2013 04:13:12 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UlxDw-00070Z-Ig for emacs-orgmode@gnu.org; Mon, 10 Jun 2013 10:13:08 +0200 Received: from arn78-1-88-186-171-7.fbx.proxad.net ([88.186.171.7]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Jun 2013 10:13:08 +0200 Received: from Rainer by arn78-1-88-186-171-7.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Jun 2013 10:13:08 +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: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable top post - sorry: I overlooked this thread somehow. Eric Schulte writes: > Achim Gratz writes: > >> Eric Schulte writes: >>> If you mean that there should be new syntax for setting header arguments >>> on a file or sub-tree basis w/o using file local variables, I'd be happy >>> to apply a patch. >> >> I'm thinking that something like >> >> #+PROPERTY: header-args:R :session "*R*" :exports none >> >> should work. > > I hate to change syntax, but the syntax you mention above does look both > appealing and natural. Even with working file local variables [1]. I agree - it looks very intuitive. > >> I've checked that the property interface returns the data as expected, >> but I haven't implemented anything yet. It does not seem to be an >> overly difficult endeavour, however. >> > > That is very good news. With that portion working I would agree that > this should be a fairly straightforward task. > >> >>>> But importantly, there should be no way to set a default session name >>>> without also specifying the language, regardless of which way one >>>> tries to set this up. >>> >>> If you can think of a clean way to implement this then we should go for >>> it. I doubt many existing configurations rely on this behavior. >> >> General settings for all languages should be effected by >> >> #+PROPERTY: header-args :results value :exports none >> >> and there'd be a list of header arguments (or specific values) that are >> either ignored or warned about when not associated with a particular >> language. >> >> BTW, I think the current property syntax for header arguments should be >> deprecated since it is the only place where the leading ":" is missing >> for those. >> >> Comments, thoughts? >> > > I think these are great ideas. Personally I'd love to see them > implemented. Unfortunately I don't have time to work on an > implementation currently. I'm surprised that none of the users who > motivated this discussion have chimed in. Their opinions may be more Shame on my head - here are now a few comments (and praises) following in next emails. Cheers, Rainer > valuable than my own in this regard (as I'm not a heavy #+Property > user). > > Thanks for the clean and initially tested implementation idea! > >> >> >> Regards, >> Achim. > > > Footnotes:=20 > > [1] Thanks to Bastien my patch allowing variables like > `org-babel-default-header-args:R' to be set file-local has been > applied to Emacs. =2D-=20 Rainer M. Krug email: RMKruggmailcom --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAEBAgAGBQJRtYqHAAoJENvXNx4PUvmCwp4H/jQL91H73lZZHJ0gnBucY+wA 6tZvk0i2UAvJX/kVF7QLNt1rM4ZK557P3qRAsnP7Uxm1wIhtnAQjnArxAFEByQ5E KzaF/i1ADR6dSGKUC5Knzdms8q3ElRYKfo2gDWKBPKjNtXVNrV8tE+aNkh6EJaNi PW4bOSMl0GbJahcX3QIVaFNXUkeNchlqpu6BI3cO2ljF5Ig1DuIpQH2TvURqNTBe 2zVAkipdCBl7mcKmmTNxYv6KsUu7IFRs9VdODd/cGspfeAWDMYnOiLBXODeTPXqD 0TxPWwh4JKnC88cWkgVECtpDk60jlm3lDKr2LjFo/GacVfeoCtBsr7UfvTA4GkM= =S9/Q -----END PGP SIGNATURE----- --=-=-=--