[ESS] indentation of ggplot code and ess 13.09-02

Ramon Diaz-Uriarte rdiaz02 at gmail.com
Mon May 19 17:35:45 CEST 2014


Dear All,

I have weird indentation problems with ggplot code but only
with it[1] with the latest ESS from ELPA. For instance

ggplot(data = dd, aes(x = x, y = y)) +
    ylab("some y") +
        xlab(" some x") +
            fact_wrap(~z)


This is using the latest ESS from ELPA; ess-version: 13.09-2 [elpa:
20140507.2352]

and emacs 24 from Debian: GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+
Version 3.12.1) of 2014-05-06 on trouble, modified by Debian



The problem is still present if the only thing I have in my .emacs is

(add-to-list 'load-path "/home/ramon/.emacs.d/elpa/ess-20140507.2352/lisp")
(load "ess-site")


and also if I start emacs with -Q and then I evaluate the above code. So it
does not seem related to any obvious site/local configuration problems.


If I use ESS from Debian (13.09-1-1) then I have no problem. Is this a
known issue, or is there something weird some where in my machine?
Best,

R.


[1] Not just "only". In fact,

ab + cd +
    ef + gh +
        ij + kl +
            mn 

but I do not tend to type that kind of code, except with ggplot. 

-- 
Ramon Diaz-Uriarte
Department of Biochemistry, Lab B-25
Facultad de Medicina 
Universidad Autónoma de Madrid 
Arzobispo Morcillo, 4
28029 Madrid
Spain

Phone: +34-91-497-2412

Email: rdiaz02 at gmail.com
       ramon.diaz at iib.uam.es

http://ligarto.org/rdiaz



More information about the ESS-help mailing list