[Top][All Lists]

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

Re: Selection changes in revno 100822

From: Stephen J. Turnbull
Subject: Re: Selection changes in revno 100822
Date: Sun, 15 Aug 2010 23:04:10 +0900

Miles Bader writes:

 >    If you _see_ a selected region in Emacs (no matter how it was
 >    selected), it's available as the primary for pasting in other
 >    apps.

But that is normally *not true* in Windows, without C-c or C-x (or the
menu equivalents) first.  The traditional Windows interface for
pasting the primary is drag and drop, not C-v.  C-v will replace the
primary without saving it, with the current content of the clipboard.

See my reply to Eli for more detail on why this is so.

If you want X11 and Windows (and Mac, for that matter) to have similar
interfaces here, then you could disable middle-click-to-paste (by
default) on X11, and use "drag to paste" consistently.  For
consistency with Mac and Windows behavior, almost surely drag to paste
within a buffer should *move* the content, while drag to paste to a
different app should certainly *copy* the content.  Drag to paste
between Emacs buffers I'm not sure about, but I suspect that should
mostly copy.  (Dragging between Dired buffers probably ought to *move*
the file, OTOH.)

Of course wizened (or seasoned) X users probably would want to
reenable middle click to paste.

reply via email to

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