From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org babel, ess, R Date: Fri, 07 Jul 2017 13:57:05 +0200 Message-ID: <87k23k5ujy.fsf@nicolasgoaziou.fr> References: <87mv8o2u9b.fsf@nicolasgoaziou.fr> <3295F295-A14A-43EA-8752-53D1BEBCC31A@agrarianresearch.org> <87fuef1fov.fsf@nicolasgoaziou.fr> <829AC437-872D-453D-8543-B3C147F08B54@agrarianresearch.org> <87inj660la.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57062) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dTRu3-0002rE-Jm for emacs-orgmode@gnu.org; Fri, 07 Jul 2017 07:58:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dTRu0-0003U5-IJ for emacs-orgmode@gnu.org; Fri, 07 Jul 2017 07:58:31 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:46896) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dTRu0-0003TZ-C8 for emacs-orgmode@gnu.org; Fri, 07 Jul 2017 07:58:28 -0400 In-Reply-To: (John Hendy's message of "Wed, 5 Jul 2017 16:58:00 -0500") 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" To: John Hendy Cc: org-mode mailing list , Vikas Rawal Hello, John Hendy writes: > Really, it was a comment about how Org behaves, not necessarily a bug. > That said, speaking for myself, I would never want a default session > in interactive mode when I've defined one in the code heading. I'd > love if Org could pick up on that setting, such that the first C-RET > of the day dropped into the session named by the block I'm editing. At > present, interactive mode appears to ignore this. > > > Hope that helps clarify, Thank you for the explaination. Note that C-RET is not an Org thing, but defined by ESS mode. It doesn't know anything about block headers. Would it be possible to modify `ess-gen-proc-buffer-name-function' so that it extracts the buffer name from the :session parameter? Regards, -- Nicolas Goaziou 0x80A93738