This depends entirely on how your terminal is set up.  Specifically, if you
are running Emacs under ssh in a terminal application, any keypress has to
go through

OS
Terminal application
Local shell
(SSH)
Remote shell
Emacs

It can be intercepted or not translated at any time, but you can usually
also make it work given enough time on your hands.  At least, I don't see
why you should not be able to make it work, as long as the OS received a
specific code when you press the key.

Kasper


On Tue, May 14, 2013 at 8:17 PM, Steve Lianoglou
<lianoglou.steve@gene.com>wrote:

> Hi,
>
> On Tue, May 14, 2013 at 8:49 AM, Paul Johnson <pauljohn32@gmail.com>
> wrote:
> > Good morning.
> >
> > This is my "random ESS question" day.
> >
> > Am I the only one who wishes that send to R would be bound to S-Enter,
> not
> > C-Enter?
> >
> > In cua mode, C-Enter is bound to their very handy rectangle selection
> tool.
> >
> > For that reason, my .emacs has S-Enter set as the "send line to R buffer"
> > functionality.  Could you make it possible for me to assign that within
> ESS
> > (Rather than scripting up my own recipe, which I have been doing for 10
> > years).
> >
> > This is not an entirely new thing, I did not invent it.  In the olden
> days
> > of Emacs for Windows, at the turn of the century, Shift-Enter was pre-set
> > by the packager, and I liked it.  Memory tells me the packager was C.
> > Curly.  We had that setting in the first RPM packages for ESS, in Fedora
> 6
> > or such.
>
> I'm pretty sure S-Enter doesn't work when running emacs via terminal,
> and would (then) likely be a poor choice for a default binding, no?
>
> -steve
>
> --
> Steve Lianoglou
> Computational Biologist
> Department of Bioinformatics and Computational Biology
> Genentech
>
> ______________________________________________
> ESS-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>

	[[alternative HTML version deleted]]

