From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: org-babel with R, scrolling an inferior ESS process Date: Thu, 18 Feb 2010 10:39:08 -0700 Message-ID: <87wrya30lf.fsf@gmail.com> References: <4B7AC106.5050109@ccbr.umn.edu> <87sk90vbu9.fsf@stats.ox.ac.uk> <4B7D5EC9.9010102@ccbr.umn.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NiALL-000351-CK for emacs-orgmode@gnu.org; Thu, 18 Feb 2010 12:39:15 -0500 Received: from [140.186.70.92] (port=54406 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NiALK-00034A-K9 for emacs-orgmode@gnu.org; Thu, 18 Feb 2010 12:39:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NiALJ-0001Vn-9x for emacs-orgmode@gnu.org; Thu, 18 Feb 2010 12:39:14 -0500 Received: from mail-pw0-f41.google.com ([209.85.160.41]:39527) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NiALJ-0001Vh-1z for emacs-orgmode@gnu.org; Thu, 18 Feb 2010 12:39:13 -0500 Received: by pwj7 with SMTP id 7so1553328pwj.0 for ; Thu, 18 Feb 2010 09:39:11 -0800 (PST) In-Reply-To: <4B7D5EC9.9010102@ccbr.umn.edu> (Erik Iverson's message of "Thu, 18 Feb 2010 09:37:45 -0600") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Erik Iverson Cc: Dan Davison , emacs-orgmode@gnu.org Erik Iverson writes: [...] >> Please do let us know of any other improvements we can make to using >> org-babel with ESS. Good integration with ESS has been one of our aims >> from the beginning. > > I will let you know as I continue using it. The ultimate improvement > IMO would be some sort of good multi-mode support, so that things > between #+begin_src/#+end_src would be fontified according to their > mode. And when I, for example, move into an R source section in my > org-mode buffer, all ESS key bindings would work. > > I have read a couple recent threads about getting functionality like > this via two-mode-mode for instance, but they have some quirks that > make it unusable for me. Are you and Eric working on anything like > this? I have been investigating different options and will let you > know if I find anything promising! > Hi Erik, This is a very popular feature request, but as far as I know it is not possible due to limitations ingrained fairly deep into the core of Emacs. To my knowledge the best such mode for embedding multiple major modes in a single buffer is MuMaMo-mode [1] which has been applied to source-code blocks in Org-mode buffers [2], but as mentioned in that thread, it's far from stable. Best -- Eric > > Thanks! > Erik Footnotes: [1] http://www.emacswiki.org/cgi-bin/wiki/MuMaMo [2] http://article.gmane.org/gmane.emacs.orgmode/8112/match=mumamo