Dear Mailing list,

2 questions:

A)
Some time ago I asked whether it was possible to push a line from one window
to a bottom window. (post here:
https://stat.ethz.ch/pipermail/ess-help/2008-November/004949.html)

Charles C. Berry suggested the following command (written by Tim Hesterberg)

       (fset 'push-line-other-window
       "\C-@\C-e\M-w\C-n\C-a\C-xo\M->\C-y\C-m\C-xo")
       (global-set-key "\C-xp" 'push-line-other-window )

I've been using it extensively, and it has been very, very usefully. But
there are two minor details I would love to change:
1) The prompt goes to the bottom window, while it would be very nice if it
would stay in the top window
2) The prompt does not go to the next line of "code", i.e., it does not skip
empty lines
3) Any code to do the equivalent to C-C C-r (push whole regions, not only
single lines)

Any suggestions?

#################
B)

Also, and this may be more complicated…, what I am doing is working on an R
script on the top window and on the bottom window I have a remote machine.

I use X-p to push R lines on the top of my script to the bottom remote
machine.
When I type an R function --for instance c(1,2)-- the command is sent to the
R window (which I don't really need); even if I don't have any R process,
the process will start.

Thanks for your patience and any help on this case,
Tiago Magalhães

	[[alternative HTML version deleted]]

