From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 24 13:43:36 2012 Received: (at submit) by debbugs.gnu.org; 24 Jun 2012 17:43:36 +0000 Received: from localhost ([127.0.0.1]:55371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SiqqV-0002w1-U7 for submit@debbugs.gnu.org; Sun, 24 Jun 2012 13:43:36 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53329) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SiqqT-0002vu-IV for submit@debbugs.gnu.org; Sun, 24 Jun 2012 13:43:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Siqmj-0001BG-8t for submit@debbugs.gnu.org; Sun, 24 Jun 2012 13:39:42 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:38958) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Siqmj-0001B7-39 for submit@debbugs.gnu.org; Sun, 24 Jun 2012 13:39:41 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39859) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Siqmh-0002Vg-8j for bug-gnu-emacs@gnu.org; Sun, 24 Jun 2012 13:39:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Siqmf-0001Ab-6M for bug-gnu-emacs@gnu.org; Sun, 24 Jun 2012 13:39:38 -0400 Received: from jlefevre.net1.nerim.net ([80.65.226.245]:57156 helo=smtp-xvii.vinc17.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Siqme-0001AG-Tj for bug-gnu-emacs@gnu.org; Sun, 24 Jun 2012 13:39:37 -0400 Received: by xvii.vinc17.org (Postfix, from userid 1000) id 25C2931000E; Sun, 24 Jun 2012 19:39:34 +0200 (CEST) From: Vincent Lefevre To: bug-gnu-emacs@gnu.org Subject: 24.1; A click changes the primary selection Date: Sun, 24 Jun 2012 19:39:34 +0200 Message-ID: <87wr2wehih.fsf@xvii.vinc17.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) If there is something selected in the Emacs window but is no longer the PRIMARY selection and one clicks somewhere in the window, the primary selection is changed to what had been selected. To reproduce the bug: 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). This is a regression: GNU Emacs 23.4.1 from Debian doesn't have this problem. In GNU Emacs 24.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10) of 2012-06-19 on xvii Windowing system distributor `The X.Org Foundation', version 11.0.11201902 Configured using: `configure '--prefix=/usr/local/emacs-24.1' '--enable-asserts'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: POSIX value of $LC_CTYPE: en_US.UTF-8 value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: en_DK value of $LANG: POSIX value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: display-time-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: x r e p o r t b u Recent messages: Loading /home/vinc17/share/emacs/site-lisp/mutteditor.el (source)...done Loading time...done For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: ~/share/emacs/site-lisp/sh-script hides /usr/local/emacs-24.1/share/emacs/24.1/lisp/progmodes/sh-script Features: (shadow sort gnus-util mail-extr warnings emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time cus-start cus-load paren cc-styles cc-align cc-engine cc-vars cc-defs regexp-opt time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 08 02:15:44 2012 Received: (at 11772) by debbugs.gnu.org; 8 Jul 2012 06:15:44 +0000 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 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 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 From: Chong Yidong To: Vincent Lefevre Subject: Re: bug#11772: 24.1; A click changes the primary selection References: <87wr2wehih.fsf@xvii.vinc17.org> Date: Sun, 08 Jul 2012 14:10:26 +0800 In-Reply-To: <87wr2wehih.fsf@xvii.vinc17.org> (Vincent Lefevre's message of "Sun, 24 Jun 2012 19:39:34 +0200") Message-ID: <877guelr59.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 11772 Cc: 11772@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) 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. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 08 02:15:50 2012 Received: (at control) by debbugs.gnu.org; 8 Jul 2012 06:15:50 +0000 Received: from localhost ([127.0.0.1]:55868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Snkmc-0003wx-Bm for submit@debbugs.gnu.org; Sun, 08 Jul 2012 02:15:50 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:59770) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Snkmb-0003wq-Hn for control@debbugs.gnu.org; Sun, 08 Jul 2012 02:15:49 -0400 Received: from cm162.gamma80.maxonline.com.sg ([202.156.80.162]:54642 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1Snkhc-0003i2-M6 for control@debbugs.gnu.org; Sun, 08 Jul 2012 02:10:41 -0400 From: Chong Yidong To: control@debbugs.gnu.org Subject: close 11772 Date: Sun, 08 Jul 2012 14:10:36 +0800 Message-ID: <87liiukckj.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) close 11772 thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 08 09:39:45 2012 Received: (at control) by debbugs.gnu.org; 8 Jul 2012 13:39:45 +0000 Received: from localhost ([127.0.0.1]:56136 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SnriD-0007pr-GG for submit@debbugs.gnu.org; Sun, 08 Jul 2012 09:39:45 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:35582) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SnriC-0007pl-NC for control@debbugs.gnu.org; Sun, 08 Jul 2012 09:39:44 -0400 Received: from cm162.gamma80.maxonline.com.sg ([202.156.80.162]:55056 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1SnrdB-0001GW-QG for control@debbugs.gnu.org; Sun, 08 Jul 2012 09:34:34 -0400 From: Chong Yidong To: control@debbugs.gnu.org Subject: unmerge 6372 Date: Sun, 08 Jul 2012 21:34:28 +0800 Message-ID: <87sjd2wf4r.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) unmerge 6372 forcemerge 11772 6372 thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 08 09:42:40 2012 Received: (at control) by debbugs.gnu.org; 8 Jul 2012 13:42:40 +0000 Received: from localhost ([127.0.0.1]:56141 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Snrl0-0007ue-1L for submit@debbugs.gnu.org; Sun, 08 Jul 2012 09:42:39 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:35606) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Snrkx-0007uW-Tg for control@debbugs.gnu.org; Sun, 08 Jul 2012 09:42:36 -0400 Received: from cm162.gamma80.maxonline.com.sg ([202.156.80.162]:55059 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1Snrfx-0001PD-Et for control@debbugs.gnu.org; Sun, 08 Jul 2012 09:37:26 -0400 From: Chong Yidong To: control@debbugs.gnu.org Subject: unmerge 6372 Date: Sun, 08 Jul 2012 21:37:21 +0800 Message-ID: <87liiu2x2m.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) unmerge 6372 unmerge 6872 forcemerge 6872 11772 thanks From unknown Sun Jun 15 08:40:05 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 06 Aug 2012 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator