[R] Indentation in emacs

From: Göran Broström <goran.brostrom_at_gmail.com>
Date: Thu 12 Jan 2006 - 21:19:28 EST


I'm using emacs-21.4 on debian unstable, together with the latest ESS implementation. I try to change indentation to 4 by following the advise in "R-exts": It results in the following lines in my .emacs file:

 (custom-set-variables
;; custom-set-variables was added by Custom -- don't edit or cut/paste it!
;; Your init file should contain only one such instance.

 '(c-basic-offset 4)
 '(c-default-style "bsd")
 '(latin1-display t nil (latin1-disp)))
(custom-set-faces
;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
;; Your init file should contain only one such instance.
 )

But it doesn't work with R code (with C code it works). So what is missing? --
Göran Broström



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Jan 12 21:28:12 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:03 EST