all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Angelo Graziosi <angelo.graziosi@alice.it>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Mouse copy/paste problem?
Date: Sat, 23 Jun 2012 11:57:23 +0200	[thread overview]
Message-ID: <4FE59303.9040008@alice.it> (raw)
In-Reply-To: <83y5nebizq.fsf@gnu.org>

Il 23/06/2012 9.11, Eli Zaretskii ha scritto:
>> Date: Fri, 22 Jun 2012 22:56:03 +0200
>> From: Angelo Graziosi <angelo.graziosi@alice.it>
>>
>> Just for completeness...
>>
>> With trunk, at least > 108548 (june 10, 2012), copy/pasting with mouse
>> doesn't seem to work. To reproduce:
>>
>> emacs -Q &
>>
>> In the "scratch" buffer double click on the word "then" (start 3rd row).
>> Then move to the end of the row, i.e. after "buffer." and paste with
>> mouse-2 (wheel). It pastes "then enter the text in that file's own
>> buffer." and not "then". Repeating several tries, it never pastes
>> correctly but garbage. The same happens if one select the words dragging
>> the mouse. With trunk 108548 (the last revision I have backed up) it
>> works fine.
>>
>> This happens with trunk builds on GNU/Linux (K)Ubuntu 12.04, Fedora 16,
>> and on Cygwin.
>
> Doesn't happen in the native Windows build of revno 108682.  But the
> native Windows build doesn't have a real primary selection, so I'm not
> sure this is relevant.
>

Maybe this change is the culprit?

lisp/ChangeLog:

2012-06-13  Chong Yidong  <cyd@gnu.org>

         * mouse.el (mouse-drag-track): Do not set the mark if the user
         releases the mouse without selecting anything (Bug#11588).


I guess this because:

emacs -Q &

Now in the "scratch" buffer I select the word "then" at the start of 3rd 
row *holding down* the SHIF key and moving with right arrow, i.e. not 
using mouse. Then with mouse-1 I go to the end of "buffer.". Clicking 
with mouse-2 (wheel) I get "then enter the text in that file's own 
buffer." pasted. Instead, if I move at the end of "buffer." with arrow 
key and there I paste with mouse-2, I correctly get "then".

In other words, if I use the mouse *only* for pasting and not for select 
the text and moving the pointer, I get the right behavior.


Ciao,
Angelo.




  reply	other threads:[~2012-06-23  9:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-22 20:56 Mouse copy/paste problem? Angelo Graziosi
2012-06-23  7:11 ` Eli Zaretskii
2012-06-23  9:57   ` Angelo Graziosi [this message]
2012-06-23 12:55     ` Chong Yidong
2012-06-23 17:07       ` Angelo Graziosi

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

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

  git send-email \
    --in-reply-to=4FE59303.9040008@alice.it \
    --to=angelo.graziosi@alice.it \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.