[ESS] indentation of ggplot code and ess from MELPA
rdiaz02 at gmail.com
Tue May 20 01:30:58 CEST 2014
On Mon, 19-05-2014, at 18:20, Martin Maechler <maechler at stat.math.ethz.ch> wrote:
> (subject corrected!)
>>>>>> Ramon Diaz-Uriarte <rdiaz02 at gmail.com>
>>>>>> on Mon, 19 May 2014 17:35:45 +0200 writes:
>> Dear All,
>> I have weird indentation problems with ggplot code but only
>> with it with the latest ESS from ELPA. For instance
>> ggplot(data = dd, aes(x = x, y = y)) +
>> ylab("some y") +
>> xlab(" some x") +
>> This is using the latest ESS from ELPA; ess-version: 13.09-2 [elpa:
> Well, this is outrageous:
> The ELPA/MELPA version is *NOT AT ALL* ess-version 13.09-2 from
> all I know.
> Rather it uses a version of the *development* version of ESS,
> see below.
I understood it was the development version (as the ESS page lists 13.09-1
as the current stable version). As for the 13.09-2, it is not my fault :-):
I just copied what gets left in *Messages* when I type
ess-version: 13.09-2 [elpa: 20140507.2352] (loaded from /home/ramon/.emacs.d/elpa/ess-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?
>>  Not just "only". In fact,
>> ab + cd +
>> ef + gh +
>> ij + kl +
>> but I do not tend to type that kind of code, except with ggplot.
> and similar.
> What formerly indented as
> else if(...)
> else if(...)
> now indents very badly.
I hadn't noticed that.
> Please note that the ELPA / MELPA version of ESS are
> *development* versions and hence you are beta testing the
> release I had planned for last week and postponed, exactly for
> this (indentation "broken") reason.
I understood I was not using the stable version. But after reading these
entries, from 2012,
I did not know if this was the same issue popping up again (or me doing
something wrong). (Yes, sure, I just found
Department of Biochemistry, Lab B-25
Facultad de Medicina
Universidad Autónoma de Madrid
Arzobispo Morcillo, 4
Email: rdiaz02 at gmail.com
ramon.diaz at iib.uam.es
More information about the ESS-help