View previous topic :: View next topic |
Author |
Message |
ld50 Tux's lil' helper
Joined: 13 Feb 2005 Posts: 135
|
Posted: Sun Feb 13, 2005 8:35 pm Post subject: How to paste in emacs? |
|
|
I'm running emacs in aterm (emacs -nw), and i enabled my mouse wheel with M-x xterm-mouse-mode so i can scroll up and down.
The problem is when i try to paste something using the middle button, it says "kill ring is empty" and it doesnt paste.
If i don't use xterm-mouse-fine there's no problem. |
|
Back to top |
|
|
rsharman n00b
Joined: 16 Jan 2005 Posts: 5 Location: Ottawa, Ontario, Canada
|
Posted: Sun Feb 13, 2005 11:51 pm Post subject: Re: How to paste in emacs? |
|
|
ld50 wrote: | I'm running emacs in aterm (emacs -nw), and i enabled my mouse wheel with M-x xterm-mouse-mode so i can scroll up and down.
The problem is when i try to paste something using the middle button, it says "kill ring is empty" and it doesnt paste.
If i don't use xterm-mouse-fine there's no problem. |
I just emerge'd aterm to try it and it worked fine for me.
If you get help for key (or run describe-key) on the middle button does it say
Code: | <mouse-2> at that spot runs the command mouse-yank-at-click |
If so, let's see what the kill-ring has. The error message you gave appears to be given
when the killl-ringis empty.
Try evaluating (e.g. entering in the *scratch* buffer and pressing control-J after the')' ):
Now cut (yank) some text and then re-evaluate (length kill-ring). Even if the kill ring was
empty before it should not be now. You should also be able to yank it with C-y.
If so, are you still getting the error with the middle button?
If you are, try setting debug-on-error to t then when you click the middle button you should see a traceback; this should give a clue as to what's going on.
(Press q in the *Backtrace* buffer to get out of it, and set debug-on-error to nil to not get the backtraces again.)
Richard |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|