From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#11772: 24.1; A click changes the primary selection Date: Sun, 08 Jul 2012 14:10:26 +0800 Message-ID: <877guelr59.fsf@gnu.org> References: <87wr2wehih.fsf@xvii.vinc17.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1341727869 21075 80.91.229.3 (8 Jul 2012 06:11:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 8 Jul 2012 06:11:09 +0000 (UTC) Cc: 11772@debbugs.gnu.org To: Vincent Lefevre Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 08 08:11:07 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Snkhx-0005sQ-5d for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Jul 2012 08:11:01 +0200 Original-Received: from localhost ([::1]:55859 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Snkhv-0004JI-UV for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Jul 2012 02:10:59 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53266) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Snkhs-0004J4-Nu for bug-gnu-emacs@gnu.org; Sun, 08 Jul 2012 02:10:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Snkhr-0005Au-3y for bug-gnu-emacs@gnu.org; Sun, 08 Jul 2012 02:10:56 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46322) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Snkhr-0005Ap-0h for bug-gnu-emacs@gnu.org; Sun, 08 Jul 2012 02:10:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Snkmo-0003xX-BM for bug-gnu-emacs@gnu.org; Sun, 08 Jul 2012 02:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Jul 2012 06:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11772 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11772-submit@debbugs.gnu.org id=B11772.134172814415170 (code B ref 11772); Sun, 08 Jul 2012 06:16:02 +0000 Original-Received: (at 11772) by debbugs.gnu.org; 8 Jul 2012 06:15:44 +0000 Original-Received: from localhost ([127.0.0.1]:55865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SnkmW-0003wd-1h for submit@debbugs.gnu.org; Sun, 08 Jul 2012 02:15:44 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:59765) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SnkmT-0003wV-6d for 11772@debbugs.gnu.org; Sun, 08 Jul 2012 02:15:41 -0400 Original-Received: from cm162.gamma80.maxonline.com.sg ([202.156.80.162]:54641 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1SnkhT-0003ht-D1; Sun, 08 Jul 2012 02:10:32 -0400 In-Reply-To: <87wr2wehih.fsf@xvii.vinc17.org> (Vincent Lefevre's message of "Sun, 24 Jun 2012 19:39:34 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:61713 Archived-At: Vincent Lefevre writes: > 1. Run "emacs -Q" under X. > 2. Select something in the Emacs window, e.g. "This buffer". > 3. Select something in some other application that supports the > PRIMARY selection, e.g. xterm. > 4. Optional: paste the PRIMARY selection somewhere (but not in the > Emacs window opened above). As expected, one can see that the > selection done in (3) is pasted. > 5. Click somethere in the Emacs window, with the left button. > As expected, the selection is no longer highlighted. > 6. Paste the PRIMARY selection somewhere: it is the one from Emacs > (e.g. "This buffer"), i.e. in (2), that is pasted instead of the > most recent PRIMARY selection from (3). Thanks for the extremely clear testcase. I've committed a fix to trunk.