[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: [org-babel] Using the power of ESS inside an R source code
From: |
Sébastien Vauban |
Subject: |
[Orgmode] Re: [org-babel] Using the power of ESS inside an R source code block |
Date: |
Wed, 27 Oct 2010 09:51:03 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt) |
Hi Bernd,
Bernd Weiss wrote:
> I only have a very (very) basic knowledge of elips. So, I guess it is possible
> to change the "depth" of indentation. The current indentation behaviour is as
> follows:
>
> #+BEGIN_SRC R :results output :exports results
> library(MASS)
> plot(1,1)
> for(i in 1:10){
> print(i)
> }
> [...]
>
> However, I would prefer...
>
> #+BEGIN_SRC R :results output :exports results
> library(MASS)
> plot(1,1)
> for(i in 1:10){
> print(i)
> }
> [...]
For that specific question:
#+begin_src emacs-lisp
;; don't indent the content of a source code block
(setq org-edit-src-content-indentation 0)
#+end_src
Best regards,
Seb
--
Sébastien Vauban