mattfidler / ess-smart-underscore.el

Smarter underscore for Emacs Speaks Statistics
13 stars 2 forks source link

use ess-cycle-assign instead of ess-S-assign? #6

Closed lo-zed closed 5 years ago

lo-zed commented 5 years ago

Hi, it seems like ess-smart-underscore doesn't work in superior R mode anymore. It looks like ess-S-assign is deprecated and should be replaced by ess-cycle-assign. Do you think of doing the replacement any time soon? Thanks.

mattfidler commented 5 years ago

I just updated it. I also added checking completions first before inserting an underscore. if a_ has completions in your r session a and then will now insert `a`

lo-zed commented 5 years ago

Alright thank you very much! One last thing though: should it work in r-mode too? Because it only works in iESS for me.