From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: :session question Date: Wed, 27 Mar 2013 14:29:53 +0100 Message-ID: <871ub1m0mm.fsf@med.uni-goettingen.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> <5152B34E.4020004@easy-emacs.de> <87fvzhmbul.fsf@med.uni-goettingen.de> <5152D9F8.3040404@easy-emacs.de> <10996.1364384905@alphaville> <5152E38A.4050602@easy-emacs.de> <87hajx109o.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40478) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKqQm-0005OO-2e for emacs-orgmode@gnu.org; Wed, 27 Mar 2013 09:30:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKqQk-0003ie-Oe for emacs-orgmode@gnu.org; Wed, 27 Mar 2013 09:30:19 -0400 Received: from plane.gmane.org ([80.91.229.3]:40870) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKqQk-0003iZ-Hp for emacs-orgmode@gnu.org; Wed, 27 Mar 2013 09:30:18 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UKqR0-0000mm-RX for emacs-orgmode@gnu.org; Wed, 27 Mar 2013 14:30:34 +0100 Received: from genepi110.genepi.med.uni-goettingen.de ([134.76.140.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Mar 2013 14:30:34 +0100 Received: from andreas.leha by genepi110.genepi.med.uni-goettingen.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Mar 2013 14:30:34 +0100 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 Hi Eric, [...] > As a side note, if > one wants to set these R defaults for a single file the following syntax > at the top of the file will suffice. > > # -*- org-babel-default-header-args:R: ((:session . "foo")) -*- > That does not work for me. (I am on GNU Emacs 24.3.50.1, org-mode version 8.0-pre (release_8.0-pre-97-gffdd9e)) When I open an org-file containing that line, I get ,---- | Malformed mode-line `---- and have to answer ,---- | The local variables list contains values that may not be safe(*). | | (*) org-babel-default-header-args : R: | | Please type y, n, or !: y `---- When I accept and try to actually evaluate R-code, I get ,---- | Wrong type argument: sequencep, R: | `---- What am I missing? Regards, Andreas