From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sunny Srivastava Subject: Help: Getting ESS key binding to work with a R code block in org-mode Date: Sun, 21 Nov 2010 14:11:47 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2002434707==" Return-path: Received: from [140.186.70.92] (port=58491 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKFKI-0002GJ-3q for emacs-orgmode@gnu.org; Sun, 21 Nov 2010 14:11:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PKFKH-0000zE-0e for emacs-orgmode@gnu.org; Sun, 21 Nov 2010 14:11:50 -0500 Received: from mail-ew0-f41.google.com ([209.85.215.41]:35145) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PKFKG-0000z3-SM for emacs-orgmode@gnu.org; Sun, 21 Nov 2010 14:11:48 -0500 Received: by ewy25 with SMTP id 25so3542925ewy.0 for ; Sun, 21 Nov 2010 11:11:47 -0800 (PST) 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: emacs-orgmode mailing list --===============2002434707== Content-Type: multipart/alternative; boundary=0015174becb23ad116049594e9fa --0015174becb23ad116049594e9fa Content-Type: text/plain; charset=ISO-8859-1 Hello Org-moders, I have been a very happy ESS user so far. Recently, I was introduced to org-mode and I am still a beginner. I am trying to write a research paper using the literate programming style of org-babel-R, instead of Sweave, and the journey has been OK so far. I have a very lame question related to this, so please bear with me. I am used to the ESS key-bindings, however they don't work properly in the code block (begin_src R ... end_src). I googled and found that it is recommended to use C-c ` to edit the source code in an Org-tmp buffer. However, there are a few issues related to this: 1. Let's say I have a code block which contains some code in it. When I do C-c ` a temporary buffer opens up but it doesn't include the R code that was in the code block. 2. The temporary buffer for editing R code doesn't associate itself with ESS, ie the key-bindings don't work. (I am addicted to the "smart _" key binding of ESS as well I am facing problems indenting the code using C-M-\) Any help or pointers is much appreciated. Thanks to Eric and other developers for implementing such a great idea. Version: 7.3 (release_7.3-89-g97f4c --0015174becb23ad116049594e9fa Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello Org-moders,
I have been a very happy ESS user so far. Recently, I= was introduced to org-mode and I am still a beginner.=A0

I am trying to write a research paper using the literate programmin= g style of org-babel-R, instead of Sweave, and the journey has been OK so f= ar. I have a very lame question related to this, so please bear with me.

I am used to the ESS key-bindings, however they don'= ;t work properly in the code block (begin_src R ... end_src). I googled and= found that it is recommended to use C-c ` to edit the source code in an Or= g-tmp buffer. However, there are a few issues related to this:

1. Let's say I have a code block which contains som= e code in it. When I do C-c ` a temporary buffer opens up but it doesn'= t include the R code that was in the code block.
2. The temporary= buffer for editing R code doesn't associate itself with ESS, ie the ke= y-bindings don't work. (I am addicted to the "smart _" key = =A0binding of ESS as well I am facing problems indenting the code using C-M= -\)

Any help or pointers is much appreciated.
Thanks to Eric and other developers for implementing such a gre= at idea.=A0


Version: 7.3 (release_7= .3-89-g97f4c
=A0
--0015174becb23ad116049594e9fa-- --===============2002434707== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============2002434707==--