[lug] silly emacs

ljp ljp at llornkcor.com
Sat Aug 11 18:38:56 MDT 2001


At 20:08 8/11/2001 +0000, you wrote:
> >
>This is a feature... the reason why it's a "kill-ring" rather than a 
>clipboard
>is that you can put more than one thing into it. When you select with the
>mouse, it copies that region to the kill-ring, but doesn't kill it. When you
>paste (yank, ctrl-y), it pulls the most recent thing from the kill ring and
>pastes it. But if you want the *previously* copied thing instead, after using
>ctrl-y and seeing it's not what you want, you can use alt-y repeatedly to go
>back through the kill ring - it'll eventually loop around to the beginning
>(it's a ring, after all).
>
>But if you *really* want to change the behavior of the mouse, it's 
>possible to
>do so - it looks like GNU Emacs treats mouse-bindings the same way it treats
>key-bindings. So, have a look through the info files for documentation on a
>function called "global-unset-key" and the list of bindings (which you can 
>see
>with ctrl-x, b)
>
>Sorry this isn't a more cut-and-dried answer, I don't have my laptop in front
>of me at the moment...

Ya, thanks, Chris. I am aware that this is how its 'supposed' to work. :) 
But I'm so used to being able to highlight something, and paste over it and 
not worry about it copying that something to the 'kill-ring'  when the 
intent is to just get rid of it. I just thought someone here may know how 
to do it. Alot of the default actions of emacs don't make sense to me (and 
vi even less). KDevelop has the ability to toggle what they call 'Auto 
copy' which is what emacs does. Copy something when you highlight it.
I'll either figure something out, or continue my search... I KNOW it has to 
annoy SOMEBODY else out there also.

Oh, I heard KDE 2.2 is supposed to be released Monday, if anybody is 
interested.

ljp




More information about the LUG mailing list