Re: [ESS] flymake + lintr do not work as expected on emacs 27.2 linux Mint

2022-11-15 Thread Ottorino via ESS-help

Thanks, Rodney.

I've compiled 26.3 from scratch, and now I'm on 26.3.

But still flymake do not work as it should.

Il 14/11/22 15:33, Sparapani, Rodney via ESS-help ha scritto:

Hi Ottorino:

My $0.02.  I haven�t found anything in 27.2 that is worth the upgrade.
I would recommend sticking with 26.3.  That is what I use regularly
with occasional playing around with 27.2 and 28.

--
Rodney Sparapani, Associate Professor of Biostatistics
Director, Wisconsin Chapter of the American Statistical Association
Institute for Health and Equity, Division of Biostatistics
Medical College of Wisconsin, Milwaukee Campus

[[alternative HTML version deleted]]


__
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help


__
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help


[ESS] flymake + lintr do not work as expected on emacs 27.2 linux Mint

2022-11-14 Thread Sparapani, Rodney via ESS-help
Hi Ottorino:

My $0.02.  I haven�t found anything in 27.2 that is worth the upgrade.
I would recommend sticking with 26.3.  That is what I use regularly
with occasional playing around with 27.2 and 28.

--
Rodney Sparapani, Associate Professor of Biostatistics
Director, Wisconsin Chapter of the American Statistical Association
Institute for Health and Equity, Division of Biostatistics
Medical College of Wisconsin, Milwaukee Campus

[[alternative HTML version deleted]]

__
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help


[ESS] flymake + lintr do not work as expected on emacs 27.2 linux Mint

2022-11-12 Thread Ottorino via ESS-help

Hi all, here is Ottorino from Florence, Italy.

After many years of emacs+ESS I'm not able to switch to RStudio, and I
won't, even if all my students and PhDs like it:  you can't teach an old 
dog new tricks


After neglecting my init files for some years, and loosing some
hotkeys, I'm now determined to restore all the functionalities I had
some time ago.

My current problem is that flymake + lintr do not work as expected on
my desktop, while they do on my laptop.

On both systems I have:
Linux Mint 20.3 una
ess-version: 18.10.3snapshot [elpa: 20221108.1714] (loaded from 
/home/user/.emacs.d/elpa/ess-20221108.1714/)

R version 4.2.2 (2022-10-31)

While on my laptop I have
GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 
2021-12-14

while
GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.14) of 
2020-03-26, modified by Debian

is on my desktop.

The desktop was not working and it was on Mint Tricia 19.03. so before
writing this mail, I upgraded it during last night to 20.3 una (both 
based on Ubuntu focal).


In both systems, .emacs.d is in common under GIT, so the configuration 
files are exactly the same.


Two similar copies of .lintr files are under the working dir

linters: linters_with_defaults(
    line_length_linter(120),
    object_name_linter(styles = c("dotted.case", "symbols"))
  )

and under my home

linters: linters_with_defaults(
    line_length_linter(119),
    object_name_linter(styles = c("snake_case", "symbols"))
  )

Well: it seems that emacs 27.2 do not cooperate well with flymake + lintr.
Any suggestion, beside downgrading emacs to 26.3 ?

Thanks
Ottorino

__
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help


Re: [ESS] flymake + lintr

2018-10-26 Thread Vitalie Spinu via ESS-help


Most of the linters are disabled by default because they are controversial,
buggy or interfere with how emacs users normally do things. See
ess-r-flymake-linters for how to change that.

I think project local lintr configuration should be taking effect with new
version of lintr, but I am not sure. Alex knows more about that.

 Vitalie

>> On Thu, Oct 25 2018 12:24, Kevin Wright via ESS-help wrote:

> I'm not seeing any effects from flymake.  I see "Flymake" in the modeline
> and I can click on Flymake, then Check now. Nothing seems to happen.

> I set ess-r-flymake-linters to be the string "lintr::default_linters".

> My setup is fairly current:

> Emacs 27.0.50
> lintr* 1.0.2.9000 2018-10-25 Github (jimhester/lintr@4ade1fc)
> ESS 18.10-1
> I CAN use lint() in an R session:

> R> lint("a=1+1\n")
> :1:2: style: Use <-, not =, for assignment.
> a=1+1
>  ^
> :1:2: style: Put spaces around all infix operators.
> a=1+1
> ~^~
> :1:4: style: Put spaces around all infix operators.
> a=1+1
>   ~^~
> Anybody have ideas for diagnosing what the problem is?

> Kevin Wright

__
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help


[ESS] flymake + lintr

2018-10-25 Thread Kevin Wright via ESS-help
I'm not seeing any effects from flymake.  I see "Flymake" in the modeline
and I can click on Flymake, then Check now. Nothing seems to happen.

I set ess-r-flymake-linters to be the string "lintr::default_linters".

My setup is fairly current:

Emacs 27.0.50
lintr* 1.0.2.9000 2018-10-25 Github (jimhester/lintr@4ade1fc)
ESS 18.10-1
I CAN use lint() in an R session:

R> lint("a=1+1\n")
:1:2: style: Use <-, not =, for assignment.
a=1+1
 ^
:1:2: style: Put spaces around all infix operators.
a=1+1
~^~
:1:4: style: Put spaces around all infix operators.
a=1+1
  ~^~
Anybody have ideas for diagnosing what the problem is?

Kevin Wright


-- 
Kevin Wright

[[alternative HTML version deleted]]

__
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help