From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julian Burgos Subject: little annoyance Date: Thu, 24 May 2012 14:21:56 +0000 Message-ID: <4FBE4404.80805@hafro.is> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44375) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SXYvX-0004ys-TE for emacs-orgmode@gnu.org; Thu, 24 May 2012 10:22:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SXYvV-0008Qn-NH for emacs-orgmode@gnu.org; Thu, 24 May 2012 10:22:07 -0400 Received: from hafgarpur.hafro.is ([130.208.64.48]:37447) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SXYvV-0008Jg-3R for emacs-orgmode@gnu.org; Thu, 24 May 2012 10:22:05 -0400 Received: from [130.208.64.203] (hafnfirdingur [130.208.64.203]) by hafgarpur.hafro.is (8.14.2/8.14.2/hafro-2.46) with ESMTP id q4OELt7v027932 for ; Thu, 24 May 2012 14:21:55 GMT 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 Dear list: Is there any way to stop org-mode from adding blank spaces on the left=20 margin of an R source code block when returning from editing in ESS=20 mode? Here is an example: 1) I create my org mode file with an R source code block: ---------------------start org mode------------------- * Trial #+begin_src R plot(1:10) #+end_src ---------------------end org mode------------------- 2) I do Ctrl-' to switch to ESS mode, and then again to go back to org mo= de. 3) The source code block has new spaces' ---------------------start org mode------------------- * Trial #+begin_src R plot(1:10) #+end_src ---------------------end org mode------------------- This is mildly annoying because I edit the source code blocks both in=20 ESS and in org-mode, and the code gets misaligned. Any ideas? Many thanks, Julian --=20 Julian Mariano Burgos, PhD Hafranns=F3knastofnunin/Marine Research Institute Sk=FAlagata 4, 121 Reykjav=EDk, Iceland S=EDmi/Telephone : +354-5752037 Br=E9fs=EDmi/Telefax: +354-5752001 Netfang/Email: julian@hafro.is