[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs -nw: share mouse cut & pastes from other X windows

From: Richard Stallman
Subject: Re: emacs -nw: share mouse cut & pastes from other X windows
Date: Sun, 13 Jan 2002 13:20:17 -0700 (MST)

    You could easily accomplish just that, with an Emacs keyboard binding
    that copies the top of the kill-ring to the cut buffer.  (And maybe
    another key that cycles through the kill ring while copying to the cut
    buffer, like the C-y/M-y pair.)  And mouse-dragging to select a region
    could still copy it to the cut buffer, as it does now.

Beginners would not know about these extra key bindings, so this is
not very different from proposing that Emacs kill commands should have
no connection with the cut buffer and only dragging a region with the
mouse should set it.

That could be coherent.  However, with that change, you could type
kill commands in Emacs when there is in the cut buffer from another
app, and that selection or text would remain unchanged.  So how would
C-y decide whether to use it?

We'd probably have to disconnect C-y from the cut buffer too.
Perhaps the only way to yank from the cut buffer could be Mouse-2.

The result is that the mouse commands have become different from the
underlying commands that now implement them.  Well, that might not be
totally unreasonable.

Would it be better if Emacs simply did not use the cut buffer at all?
What if all the Emacs commands worked with selections but not with the
cut buffer?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]