all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Vincent Lefevre <vincent@vinc17.net>,
	Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: 18939-done@debbugs.gnu.org
Subject: bug#18939: 24.4; middle-click sometimes pastes data other than the PRIMARY selection
Date: Sun, 22 Mar 2015 19:33:57 +0100	[thread overview]
Message-ID: <550F0B15.5080309@swipnet.se> (raw)
In-Reply-To: <20150322014257.GI5205@xvii.vinc17.org>

Hi.

It seems I introduced this bug when fixing 16382.

The analysis that mouse-drag-track has something to do with this is correct, 
however it is not pop-mark, it is deactivate-mark who sets PRIMARY wrongly 
sometimes (pop-mark may itself call deactivate-mark).

I have checked in a fix in the emacs-24 branch.

	Jan D.

Den 2015-03-22 02:42, Vincent Lefevre skrev:
> On 2015-03-21 18:25:01 -0400, Stefan Monnier wrote:
>>>> % emacs24 -Q    ; That's Debian's Emacs-24.4
>>>> M-< C-k
>>>> C-x 5 b *Messages*
>>>> drag-mouse-1               [ in *Messages*, to select "information" ]
>>> It step 3, it must be another window
>>
>> With C-x 5 b I did get another window (frame).
>
> Yes, but this also has the effect to do other operations in
> the Emacs process.
>
>>> (e.g. xterm, or even some other Emacs window at least if it is not the
>>> same process).
>>
>> I haven't tried with another Emacs process, but I did try with an xterm
>> and got the same result.
>> What do you get if you follow my recipe?
>
> Emacs behaves correctly in this case. Ditto if I do the
> C-x 5 b *Messages* before the M-< C-k. But if the other window
> belongs to a different process, the bug occurs.
>






  reply	other threads:[~2015-03-22 18:33 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-03 20:56 bug#18939: 24.4; middle-click sometimes pastes data other than the PRIMARY selection Vincent Lefevre
2014-11-16 12:27 ` Vincent Lefevre
2014-12-28 15:03   ` Vincent Lefevre
2014-12-28 15:10     ` Vincent Lefevre
2015-03-21 13:42     ` Stefan Monnier
2015-03-21 19:35       ` Vincent Lefevre
2015-03-21 22:25         ` Stefan Monnier
2015-03-22  1:42           ` Vincent Lefevre
2015-03-22 18:33             ` Jan Djärv [this message]
2015-03-22 18:39           ` Glenn Morris
2014-12-30 10:45 ` Riku Saikkonen
2015-01-04  2:23   ` Vincent Lefevre
2015-01-18  1:17   ` Glenn Morris

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=550F0B15.5080309@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=18939-done@debbugs.gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    --cc=vincent@vinc17.net \
    /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.