Reputation: 2519
This question is linked to my previous one: Shift arrow selection in emacs
It was solved but partially only.
For now I have another problem:
when I'm pressing shift-right 2 times - only last selection will be present. So. It is not extended (as it should be according my achivements) but always overwritten...
f.e. I have 1 word "window" only. And my cursor at position 0. I want to copy "wi" only. I've pressed shift-right 2 times. But only "i" was selected.
How I can fix this?
den@playground:~/.emacs.den$ cat -v
^[[1;2C^[[1;2C
M-x version
GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11 on raven, modified by Debian
I'm running my emacs on a remote machine via screen
den@playground:~/.emacs.den$ echo $TERM
screen
Without screen
den@playground:~$ echo $TERM
xterm
Behavior the same as under screen.
As I have understood the problem. Emacs after each shift-right click overwrites selection instead of expanding it...
So. Without screen and without my scripts (emacs -q).
Shift-right, shift-left, shift-down - working. shift-up - doing nothing. So. cursor is not moved after shift-up is pressed. Also shift-home, shift-end are working. shift-pgdown, shift-pgup - does not.
With screen and without my scripts (emacs -q).
Nothing.
Upvotes: 1
Views: 299
Reputation: 15793
Why do you press Shift-right 2 times, and not press on 'w' C-SPACERightRight
This selects the wi
. Now you press M-w, and you copied it.
Probably I understood wrong the problem ?
Upvotes: 1