From unknown Mon Aug 11 18:15:20 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#6694 <6694@debbugs.gnu.org> To: bug#6694 <6694@debbugs.gnu.org> Subject: Status: 24.0.50; mouse-yank-primary tries to yank a *buffer* Reply-To: bug#6694 <6694@debbugs.gnu.org> Date: Tue, 12 Aug 2025 01:15:20 +0000 retitle 6694 24.0.50; mouse-yank-primary tries to yank a *buffer* reassign 6694 emacs submitter 6694 "Drew Adams" severity 6694 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 21 13:51:00 2010 Received: (at submit) by debbugs.gnu.org; 21 Jul 2010 17:51:00 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObdRb-0007WQ-RV for submit@debbugs.gnu.org; Wed, 21 Jul 2010 13:51:00 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObdRJ-0007WI-8v for submit@debbugs.gnu.org; Wed, 21 Jul 2010 13:50:58 -0400 Received: from lists.gnu.org ([199.232.76.165]:47453) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ObdRf-0003Wu-TY for submit@debbugs.gnu.org; Wed, 21 Jul 2010 13:51:03 -0400 Received: from [140.186.70.92] (port=44165 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObdRa-00087y-MC for bug-gnu-emacs@gnu.org; Wed, 21 Jul 2010 13:51:02 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ObdRE-00042x-IR for bug-gnu-emacs@gnu.org; Wed, 21 Jul 2010 13:50:37 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]:38202) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObdRE-00042o-As for bug-gnu-emacs@gnu.org; Wed, 21 Jul 2010 13:50:36 -0400 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o6LHoXxM031143 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 21 Jul 2010 17:50:34 GMT Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o6LHoVCH027868 for ; Wed, 21 Jul 2010 17:50:32 GMT Received: from abhmt021.oracle.com by acsmt355.oracle.com with ESMTP id 446536061279734593; Wed, 21 Jul 2010 10:49:53 -0700 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 21 Jul 2010 10:49:53 -0700 From: "Drew Adams" To: Subject: 24.0.50; mouse-yank-primary tries to yank a *buffer* Date: Wed, 21 Jul 2010 10:49:55 -0700 Message-ID: <2FC5367FD85C40F08F9487247C14363C@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: Acso/SC6cUQBIUtvQZKZ4nd8I6YF6A== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 X-Source-IP: acsmt354.oracle.com [141.146.40.154] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090207.4C473368.019F:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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.3 (------) I click mouse-1 at the left of some text and then mouse-3 at the right of it, to select it (a Lisp symbol). Then I try to yank it using `mouse-2': Debugger entered--Lisp error: (wrong-type-argument char-or-string-p #) mouse-yank-primary((mouse-2 (# 4906 (392 . 488) 12477031 nil 4906 (49 . 33) nil (224 . 9) (8 . 14)))) call-interactively(mouse-yank-primary nil nil) Yanking it with C-y works OK. So the problem is not with what was copied but with `mouse-yank-primary'. This is silly. Please restore the normal copy/paste behavior for the mouse. It seems completely broken now. In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2010-07-19 on 3249CTO Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.4) --no-opt --cflags -Ic:/xpm/include' From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 21 14:21:01 2010 Received: (at 6694) by debbugs.gnu.org; 21 Jul 2010 18:21:01 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Obduf-0007ky-0f for submit@debbugs.gnu.org; Wed, 21 Jul 2010 14:21:01 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Obdue-0007kt-3x for 6694@debbugs.gnu.org; Wed, 21 Jul 2010 14:21:00 -0400 Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o6LILOPA026002 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <6694@debbugs.gnu.org>; Wed, 21 Jul 2010 18:21:26 GMT Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o6LILNRh015128 for <6694@debbugs.gnu.org>; Wed, 21 Jul 2010 18:21:23 GMT Received: from abhmt006.oracle.com by acsmt354.oracle.com with ESMTP id 424759471279736469; Wed, 21 Jul 2010 11:21:09 -0700 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 21 Jul 2010 11:21:09 -0700 From: "Drew Adams" To: <6694@debbugs.gnu.org> References: <2FC5367FD85C40F08F9487247C14363C@us.oracle.com> Subject: RE: bug#6694: 24.0.50; mouse-yank-primary tries to yank a *buffer* Date: Wed, 21 Jul 2010 11:21:11 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <2FC5367FD85C40F08F9487247C14363C@us.oracle.com> Thread-Index: Acso/SC6cUQBIUtvQZKZ4nd8I6YF6AABAlTw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 X-Source-IP: acsmt354.oracle.com [141.146.40.154] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090209.4C473AA4.0042:SCFMA4539814,ss=1,fgs=0 X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 6694 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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.3 (------) Correction: Clicking mouse-1, then mouse-3 apparently does *not* copy the selection to the kill ring. When I said that C-y worked, I must have used M-w first. Without M-w, C-y doesn't work either (after selecting using mouse-1, 3). The mouse should work normally for selection and wrt the kill-ring. This is Emacs. From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 22 16:40:21 2010 Received: (at 6694) by debbugs.gnu.org; 22 Jul 2010 20:40:22 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oc2Z3-0003SS-AR for submit@debbugs.gnu.org; Thu, 22 Jul 2010 16:40:21 -0400 Received: from harpegolden.net ([65.99.215.13]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oc2Z0-0003SL-Vw for 6694@debbugs.gnu.org; Thu, 22 Jul 2010 16:40:19 -0400 Received: from [87.198.55.210] (87-198-55-210.ptr.magnet.ie [87.198.55.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "David De La Harpe Golden", Issuer "David De La Harpe Golden Personal CA rev 3" (verified OK)) by harpegolden.net (Postfix) with ESMTPSA id 4DCC4684BD; Thu, 22 Jul 2010 21:40:10 +0100 (IST) Message-ID: <4C48ACAB.5070805@harpegolden.net> Date: Thu, 22 Jul 2010 21:40:11 +0100 From: David De La Harpe Golden User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100620 Icedove/3.0.5 MIME-Version: 1.0 To: Drew Adams Subject: Re: bug#6694: 24.0.50; mouse-yank-primary tries to yank a *buffer* References: <2FC5367FD85C40F08F9487247C14363C@us.oracle.com> In-Reply-To: <2FC5367FD85C40F08F9487247C14363C@us.oracle.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: 6694 Cc: Chong Yidong , 6694@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -3.0 (---) On 21/07/10 18:49, Drew Adams wrote: > I click mouse-1 at the left of some text and then mouse-3 at the right > of it, to select it (a Lisp symbol). Then I try to yank it using > `mouse-2': > > Debugger entered--Lisp error: (wrong-type-argument char-or-string-p # throw-x-at-pt.el>) Ah, this would be a genuine bug, then. What's happening here is that w32's internal emulation of a primary is incomplete - relatively recently, it became valid on canonical x11 emacs to set selection to a buffer (or a cons of markers), with the meaning the selection is (lazily) the string between the point and mark of the buffer (or the markers). w32's fake selection handling needs update to include this possibility. (It needs this update regardless of changes to the defaults, the defaults have just successfully thrown a spotlight on the breakage). From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 07 15:56:56 2010 Received: (at 6694) by debbugs.gnu.org; 7 Aug 2010 19:56:56 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OhpVo-0001YC-1N for submit@debbugs.gnu.org; Sat, 07 Aug 2010 15:56:56 -0400 Received: from pantheon-po18.its.yale.edu ([130.132.50.74]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OhpVl-0001Y7-Ka for 6694@debbugs.gnu.org; Sat, 07 Aug 2010 15:56:53 -0400 Received: from furry (173-14-147-246-NewEngland.hfc.comcastbusiness.net [173.14.147.246]) (authenticated bits=0) by pantheon-po18.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o77JvUZu011541 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 7 Aug 2010 15:57:30 -0400 Received: by furry (Postfix, from userid 1000) id EDA04C013; Sat, 7 Aug 2010 15:57:29 -0400 (EDT) From: Chong Yidong To: "Drew Adams" Subject: Re: 24.0.50; mouse-yank-primary tries to yank a *buffer* Date: Sat, 07 Aug 2010 15:57:29 -0400 Message-ID: <87mxsyci1i.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 6694 Cc: 6694@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -2.8 (--) > I click mouse-1 at the left of some text and then mouse-3 at the right > of it, to select it (a Lisp symbol). Then I try to yank it using > `mouse-2': > > Debugger entered--Lisp error: (wrong-type-argument char-or-string-p # throw-x-at-pt.el>) This should be fixed now; Emacs no longer uses this mechanism for setting the primary. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 07 15:57:05 2010 Received: (at control) by debbugs.gnu.org; 7 Aug 2010 19:57:05 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OhpVx-0001Yi-Bu for submit@debbugs.gnu.org; Sat, 07 Aug 2010 15:57:05 -0400 Received: from pantheon-po14.its.yale.edu ([130.132.50.23]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OhpVv-0001YI-Na for control@debbugs.gnu.org; Sat, 07 Aug 2010 15:57:04 -0400 Received: from furry (173-14-147-246-NewEngland.hfc.comcastbusiness.net [173.14.147.246]) (authenticated bits=0) by pantheon-po14.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o77JvesC019164 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 7 Aug 2010 15:57:40 -0400 Received: by furry (Postfix, from userid 1000) id 3C3CAC013; Sat, 7 Aug 2010 15:57:40 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 6694 Date: Sat, 07 Aug 2010 15:57:40 -0400 Message-ID: <87k4o2ci17.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -3.3 (---) close 6694 thanks From unknown Mon Aug 11 18:15:20 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 05 Sep 2010 11:24:04 +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