Vitalie,

I tend to agree with the original poster.  It is a great feature, and I
personally insist on space after comma.
My fingers know that, and I would probably trip on it too.  I remember the
fuss that was raised when we
first introduced smart underscore (" <- ").  Several people objected
strongly.  I think this new feature also needs
a variable that can turn it off.

This suggests another new feature.  We currently have a family of
indentation functions (indent-region, etc).
Can you write a new family of ess-smartification functions that will allow
the user to go back and apply all
of the new smart key options to  the region?  This I would use.  For
example, if someone sends to R-help
a line of the form "y<-abcd(d,e,f,g)", the new capability would convert it
to
"y <- abcd(d, e, f, g)"

I am less clear about the IDO menu in inferior mode.  My sense (not yet
having tried it), is that is would interfere
with my thought pattern.  We had some simliar pop-up hint option and it
drive me nuts until I turned it off.
Windows does lots of that type of interference, by popping open new windows
in the middle of typing and the keystrokes
go to the wrong place.  Even gmail has it.  I am merrily typing an email
and it does an auto-save and moves the cursor
while doing so and loses my place.


Rich


On Mon, Jan 23, 2012 at 9:44 AM, Vitalie Spinu <spinuvit@gmail.com> wrote:

> Aleksandar Blagotić <aca.blagotic@gmail.com> writes:
>
> > After recent upgrade I noticed that ESS inserts space after comma by
> > default, which is really frustrating, especially because I tend to insert
> > space manually, and end up with two spaces after comma, which is quite
> > ugly. I can't seem to find a variable that holds reference to this
> feature.
> > Any ideas?
>
> This is a new feature, and is called ess-smart-comma. First it's a first
> step towards  ess-smart-operators which is intended to be much smarter
> and R specific than well known smart-operators package.
>
> Second it does something more in inferior. If the first key pressed in
> inferior is ","  you will get an IDO menu with plenty of handy
> commands. This is inspired by SLIME.
>
> I make a variable to deactivate the space insertion,  but may be you
> should consider changing your habits?
>
> Vitalie.
>
> >
> > aL3xa
> >
> >       [[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
>

	[[alternative HTML version deleted]]

