[ESS] Can smart underscore work the other way around?
spinuvit at gmail.com
Thu Mar 6 19:02:46 CET 2014
Would be nice to have a generic function that would take a sequence of
possible "outputs" (like "_", " <- ") and then insert them in turn on
the same key press. Then people can reuse it for other smart operators.
>>> "Richard M. Heiberger" on Thu, 6 Mar 2014 12:52:46 -0500 wrote:
> Here is my outline.
> Duplicate the current code with reversed positions.
> Have a new customized variable ess-smart-underscore-sequence which
> can take values 'assign and 'character.
> On Thu, Mar 6, 2014 at 12:45 PM, Vitalie Spinu <spinuvit at gmail.com> wrote:
>> This is actually a very good idea, and quite frankly a natural way to
>> think about it. Proposals for the code are very much welcome.
>> >>> Henric Winell on Thu, 6 Mar 2014 11:49:30 +0100 wrote:
>> > Hi,
>> > As much as I love the smart underscore for S, it would be great if it could work
>> > the other way around. That is, pushing '_' once results in '_' and twice
>> > results in '<-'. Is it possible? Or is it something for the wishlist, perhaps?
>> > Since objects in R nowadays can have names including '_' I find myself pushing
>> > _' twice very often.
>> > Best regards,
>> > Henric Winell
>> > ______________________________________________
>> > ESS-help at r-project.org mailing list
>> > https://stat.ethz.ch/mailman/listinfo/ess-help>
>> ESS-help at r-project.org mailing list
More information about the ESS-help