[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9894: mouse-yank-primary does not set mark
From: |
Eli Zaretskii |
Subject: |
bug#9894: mouse-yank-primary does not set mark |
Date: |
Fri, 28 Oct 2011 08:56:14 +0200 |
> From: Glenn Morris <rgm@gnu.org>
> Date: Fri, 28 Oct 2011 00:15:33 -0400
>
> Using the mouse, hold down the left mouse button and drag to select the
> text "buffer is for" in the scratch buffer.
> Release left mouse button, move mouse towards the bottom of the window.
> Press middle button to paste the previously selected text.
> Press C-x C-x.
> The cursor goes to the near the start of the buffer, just after "This".
>
> Contrast with Emacs 23.3, where the cursor goes to the start of the text
> that was just pasted. Perhaps the new behaviour is intentional?
Mouse-2 is now bound to a different command than it was in Emacs 23.3,
as you well know. Isn't this change part of the selection-related
changes in Emacs 24 that the different binding was part of? Pasting
with mouse-2 doesn't go through the kill ring now.
FWIW, on MS-Windows, "C-x C-x" still goes to the start of the pasted
text, but that could be due to the fact that PRIMARY is emulated on
w32.