unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Glenn Morris <rgm@gnu.org>
Cc: 9894@debbugs.gnu.org
Subject: bug#9894: mouse-yank-primary does not set mark
Date: Fri, 28 Oct 2011 08:56:14 +0200	[thread overview]
Message-ID: <838vo5bo4x.fsf@gnu.org> (raw)
In-Reply-To: <4avcr9rbtm.fsf@fencepost.gnu.org>

> 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.





  reply	other threads:[~2011-10-28  6:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-28  4:15 bug#9894: mouse-yank-primary does not set mark Glenn Morris
2011-10-28  6:56 ` Eli Zaretskii [this message]
2011-10-28 12:52   ` Stefan Monnier
2011-10-29  6:09 ` Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=838vo5bo4x.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=9894@debbugs.gnu.org \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).