From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 14 20:38:08 2010 Received: (at submit) by debbugs.gnu.org; 15 Jul 2010 00:38:08 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZCSl-0004E7-TS for submit@debbugs.gnu.org; Wed, 14 Jul 2010 20:38:08 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZCSk-0004Dl-PF for submit@debbugs.gnu.org; Wed, 14 Jul 2010 20:38:07 -0400 Received: from lists.gnu.org ([199.232.76.165]:39878) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OZCSu-0006w6-5F for submit@debbugs.gnu.org; Wed, 14 Jul 2010 20:38:16 -0400 Received: from [140.186.70.92] (port=41175 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZCSs-0006mT-Ll for bug-gnu-emacs@gnu.org; Wed, 14 Jul 2010 20:38:15 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OZCSr-0007gZ-MM for bug-gnu-emacs@gnu.org; Wed, 14 Jul 2010 20:38:14 -0400 Received: from harpegolden.net ([65.99.215.13]:41718) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZCSr-0007gT-G0 for bug-gnu-emacs@gnu.org; Wed, 14 Jul 2010 20:38:13 -0400 Received: from [87.198.54.10] (87-198-54-10.ptr.magnet.ie [87.198.54.10]) (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 C3D9C68422 for ; Thu, 15 Jul 2010 01:38:10 +0100 (IST) Message-ID: <4C3E5873.9090909@harpegolden.net> Date: Thu, 15 Jul 2010 01:38: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: bug-gnu-emacs@gnu.org Subject: mouse-yank-primary/secondary and unicode from other apps. Content-Type: multipart/mixed; boundary="------------000902020902080600030409" 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: -5.0 (-----) 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: -5.0 (-----) This is a multi-part message in MIME format. --------------000902020902080600030409 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit mouse-yank-primary and mouse-yank-secondary don't like inserting non-ascii chars from other apps. They need to use the slightly higher-level (x-selection-value 'PRIMARY) or at least give a 'TEXT arg to their (x-get-selection 'PRIMARY 'TEXT), so that the proper kinds of selection type are tried as e.g. attached. --------------000902020902080600030409 Content-Type: text/x-patch; name="myp-encode_r1.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="myp-encode_r1.diff" === modified file 'lisp/mouse.el' --- lisp/mouse.el 2010-07-14 18:03:39 +0000 +++ lisp/mouse.el 2010-07-15 00:32:41 +0000 @@ -1277,19 +1277,19 @@ (interactive "e") ;; Give temporary modes such as isearch a chance to turn off. (run-hooks 'mouse-leave-buffer-hook) (when select-active-regions ;; Without this, confusing things happen upon e.g. inserting into ;; the middle of an active region. (deactivate-mark)) (or mouse-yank-at-point (mouse-set-point click)) - (let ((primary (x-get-selection 'PRIMARY))) + (let ((primary (x-selection-value 'PRIMARY))) (if primary - (insert (x-get-selection 'PRIMARY)) + (insert (x-selection-value 'PRIMARY)) (error "No primary selection")))) (defun mouse-kill-ring-save (click) "Copy the region between point and the mouse click in the kill ring. This does not delete the region; it acts like \\[kill-ring-save]." (interactive "e") (mouse-set-mark-fast click) (let (this-command last-command) @@ -1572,19 +1572,19 @@ "Insert the secondary selection at the position clicked on. Move point to the end of the inserted text. If `mouse-yank-at-point' is non-nil, insert at point regardless of where you click." (interactive "e") ;; Give temporary modes such as isearch a chance to turn off. (run-hooks 'mouse-leave-buffer-hook) (or mouse-yank-at-point (mouse-set-point click)) - (let ((secondary (x-get-selection 'SECONDARY))) + (let ((secondary (x-selection-value 'SECONDARY))) (if secondary - (insert (x-get-selection 'SECONDARY)) + (insert (x-selection-value 'SECONDARY)) (error "No secondary selection")))) (defun mouse-kill-secondary () "Kill the text in the secondary selection. This is intended more as a keyboard command than as a mouse command but it can work as either one. The current buffer (in case of keyboard use), or the buffer clicked on, --------------000902020902080600030409-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 15 01:29:27 2010 Received: (at submit) by debbugs.gnu.org; 15 Jul 2010 05:29:27 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZH0h-00062S-6V for submit@debbugs.gnu.org; Thu, 15 Jul 2010 01:29:27 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZH0f-00062L-5E for submit@debbugs.gnu.org; Thu, 15 Jul 2010 01:29:26 -0400 Received: from lists.gnu.org ([199.232.76.165]:56328) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OZH0o-0002RC-Uw for submit@debbugs.gnu.org; Thu, 15 Jul 2010 01:29:35 -0400 Received: from [140.186.70.92] (port=53771 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZH0n-0006db-AP for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2010 01:29:34 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_RP_MATCHES_RCVD, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OZH0m-0000b6-1q for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2010 01:29:33 -0400 Received: from lo.gmane.org ([80.91.229.12]:39832) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZH0l-0000av-PM for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2010 01:29:32 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OZH0e-0001EJ-Bk for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2010 07:29:24 +0200 Received: from c-71-237-24-138.hsd1.co.comcast.net ([71.237.24.138]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Jul 2010 07:29:24 +0200 Received: from kevin.d.rodgers by c-71-237-24-138.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Jul 2010 07:29:24 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Kevin Rodgers Subject: Re: bug#6635: mouse-yank-primary/secondary and unicode from other apps. Date: Wed, 14 Jul 2010 23:29:11 -0600 Lines: 47 Message-ID: References: <4C3E5873.9090909@harpegolden.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-71-237-24-138.hsd1.co.comcast.net User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) In-Reply-To: <4C3E5873.9090909@harpegolden.net> 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: -4.6 (----) 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: -5.8 (-----) David De La Harpe Golden wrote: > mouse-yank-primary and mouse-yank-secondary don't like > inserting non-ascii chars from other apps. > > They need to use the slightly higher-level > (x-selection-value 'PRIMARY) > > or at least give a 'TEXT arg to their > (x-get-selection 'PRIMARY 'TEXT), > > so that the proper kinds of selection type are tried > as e.g. attached. ... - (let ((primary (x-get-selection 'PRIMARY))) + (let ((primary (x-selection-value 'PRIMARY))) (if primary - (insert (x-get-selection 'PRIMARY)) + (insert (x-selection-value 'PRIMARY)) (error "No primary selection")))) ... - (let ((secondary (x-get-selection 'SECONDARY))) + (let ((secondary (x-selection-value 'SECONDARY))) (if secondary - (insert (x-get-selection 'SECONDARY)) + (insert (x-selection-value 'SECONDARY)) (error "No secondary selection")))) Can someone explain why the result of x-get-selection/x-selection-value is bound to a variable, but instead of referencing the variable in the insert function call the expression is evaluated again? I.e. why not change it to: (let ((primary (x-selection-value 'PRIMARY))) (if primary (insert primary) (error "No primary selection")))) ... (let ((secondary (x-selection-value 'SECONDARY))) (if secondary (insert secondary) (error "No secondary selection")))) Thanks, -- Kevin Rodgers Denver, Colorado, USA From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 18 12:39:30 2010 Received: (at submit) by debbugs.gnu.org; 18 Jul 2010 16:39:30 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OaWtl-0007W0-Rc for submit@debbugs.gnu.org; Sun, 18 Jul 2010 12:39:30 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OaWtj-0007Vv-Qo for submit@debbugs.gnu.org; Sun, 18 Jul 2010 12:39:28 -0400 Received: from lists.gnu.org ([199.232.76.165]:43393) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OaWu2-000657-Se for submit@debbugs.gnu.org; Sun, 18 Jul 2010 12:39:46 -0400 Received: from [140.186.70.92] (port=40694 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OaWu1-0006T9-6V for bug-gnu-emacs@gnu.org; Sun, 18 Jul 2010 12:39:46 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OaWu0-0005LF-5k for bug-gnu-emacs@gnu.org; Sun, 18 Jul 2010 12:39:45 -0400 Received: from harpegolden.net ([65.99.215.13]:55134) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OaWtz-0005L3-Ua for bug-gnu-emacs@gnu.org; Sun, 18 Jul 2010 12:39:44 -0400 Received: from [87.198.55.163] (87-198-55-163.ptr.magnet.ie [87.198.55.163]) (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 AD9C2683A2; Sun, 18 Jul 2010 17:39:40 +0100 (IST) Message-ID: <4C432E4D.7090600@harpegolden.net> Date: Sun, 18 Jul 2010 17:39:41 +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: Kevin Rodgers Subject: Re: bug#6635: mouse-yank-primary/secondary and unicode from other apps. References: <4C3E5873.9090909@harpegolden.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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: -4.9 (----) X-Debbugs-Envelope-To: submit Cc: bug-gnu-emacs@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: -4.9 (----) On 15/07/10 06:29, Kevin Rodgers wrote: > Can someone explain why the result of x-get-selection/x-selection-value > is bound to a variable, but instead of referencing the variable in the > insert function call the expression is evaluated again? I.e. why not > change it to: > I don't know anyway; you're likely quite right - in fact wouldn't there be a race the other way? I think the selection could (at least in principle) vanish in between the two calls if another app owns it... > (let ((primary (x-selection-value 'PRIMARY))) > (if primary > (insert primary) > (error "No primary selection")))) > ... > (let ((secondary (x-selection-value 'SECONDARY))) > (if secondary > (insert secondary) > (error "No secondary selection")))) > > Thanks, > From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 24 21:09:02 2010 Received: (at 6635) by debbugs.gnu.org; 25 Jul 2010 01:09:02 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcpiA-00030p-Fo for submit@debbugs.gnu.org; Sat, 24 Jul 2010 21:09:02 -0400 Received: from caiajhbdccah.dreamhost.com ([208.97.132.207] helo=homiemail-a1.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ocpi8-00030Q-Ie; Sat, 24 Jul 2010 21:09:01 -0400 Received: from homiemail-a1.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a1.g.dreamhost.com (Postfix) with ESMTP id 3920734806C; Sat, 24 Jul 2010 18:09:01 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:cc:subject :references:date:message-id:mime-version:content-type; q=dns; s= jidanni.org; b=D94qPWHqxGLA8yfdLvZdDLWoQypyhtAAHQ/ckmn1KcshQ3NXv OAw99iyKnDckOzpTKZXKw4dG0KlJ1P1FUCAlvSG4pPE/uL1NAencoR5q/wfumpHU c1ERWc3frF0f4a3L0/V3njfmjRt6jyNzSRU40Ogzyv0M/YR+3RkxF/ASwU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=UgEX6UPB+Fu3VKinJ/ZQp/v34+0=; b=oLetOR/ya/7A/ So6XhT6cG6wv8/oE/1QlKnhVlHtgETIKlj5Hhc0e/D2m8i2KoGxPM7uM9GRS/qkK Z5Uw9LIKSuLl84V6AmQfdyWxQHpFaflMCsYYNOXhmTy3ujp0ZHNXukfWNET8aN9x ZgrCpWZfApmdEs1LDkaqoqKzyMngy0= Received: from jidanni.org (218-163-2-116.dynamic.hinet.net [218.163.2.116]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a1.g.dreamhost.com (Postfix) with ESMTPSA id 8F9B834806B; Sat, 24 Jul 2010 18:09:00 -0700 (PDT) From: jidanni@jidanni.org To: david@harpegolden.net Subject: Re: battle with x-clipboard vs. Chinese References: <4C4B3A17.2070007@harpegolden.net> Date: Sun, 25 Jul 2010 09:08:58 +0800 Message-ID: <87lj904bbp.fsf_-_@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 6635 Cc: 6720@debbugs.gnu.org, 6635@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.5 (--) >>>>> "DDLHG" == David De La Harpe Golden writes: DDLHG> On 24/07/10 18:36, jidanni@jidanni.org wrote: >> I just updated to >> emacs-snapshot: >> Installed: 1:20100724-1 >> and am having to battle getting Chinese in correctly from the X >> clipboard. >> It is turning into ###, ???, \u{5432}, etc. etc. >> DDLHG> Do you see this when using middle mouse button or C-y or both? All I know is starting with $ apt-cache policy emacs-snapshot emacs-snapshot: Installed: 1:20100724-1 Candidate: 1:20100724-1 Version table: *** 1:20100724-1 0 500 http://emacs.orebokech.com sid/main Packages 100 /var/lib/dpkg/status I am having two kinds of pain: 1. Having to write things into /tmp/files to be able to read them into emacs correctly as xclip now can't if I want Chinese intact. I try every button and end up having to resort to /tmp. 2. Even more disconnection between C-y, Shift-insert, the middle mouse button, between emacs and the outside world. I wish I could make them all connected. DDLHG> This sounds like it might be bug #6635, an encoding handling problem DDLHG> in mouse-yank-primary, which could affect people more due to recent DDLHG> changes: DDLHG> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6635 From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 24 21:28:24 2010 Received: (at 6635) by debbugs.gnu.org; 25 Jul 2010 01:28:25 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ocq0u-00038j-3Q for submit@debbugs.gnu.org; Sat, 24 Jul 2010 21:28:24 -0400 Received: from mailbigip.dreamhost.com ([208.97.132.5] helo=homiemail-a5.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ocq0s-00038b-WA; Sat, 24 Jul 2010 21:28:23 -0400 Received: from homiemail-a5.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a5.g.dreamhost.com (Postfix) with ESMTP id C158870406A; Sat, 24 Jul 2010 18:28:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:cc:subject :references:date:message-id:mime-version:content-type; q=dns; s= jidanni.org; b=LV+Dx10v1etFgBYRpScbvayGxRK2BmYIN+a1TZ2St/YKqW+oF uDXx8R2Dq1XfcfLN2RSU/arFmEJ2k1HGkl/qYnKOkIK3zmNTIir8PsxOCM66eJWZ rBr2RzK8xZk4ex7K3j5/9EWSHtWFVzaKN2gwCw/848CZ74z6J5eDv976WY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=ackIr1HJ5J8EtMXWMm7AnhdL1Ec=; b=KFPMpCoxehgSb KyG6dY0sZcJnncdK7PiXSTv4ekc4UDqd6ariqPl0PHrN/bf/HI83AnJ9ssL0pvje KodYxxnSKp5gRxBK32dfws7v3sMeD2SpPj85UkgAx2zH7SQ4UvcEPRKbnTM25C64 yykWqcQBbyYCpBJ6typEXiXRnuwt4w= Received: from jidanni.org (218-163-2-116.dynamic.hinet.net [218.163.2.116]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a5.g.dreamhost.com (Postfix) with ESMTPSA id 6932C704063; Sat, 24 Jul 2010 18:28:23 -0700 (PDT) From: jidanni@jidanni.org To: david@harpegolden.net Subject: Re: battle with x-clipboard vs. Chinese References: <4C4B3A17.2070007@harpegolden.net> Date: Sun, 25 Jul 2010 09:28:20 +0800 Message-ID: <87fwz84aff.fsf_-_@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 6635 Cc: 6720@debbugs.gnu.org, 6635@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.5 (--) And the most scary thing of all is now things that I kill with C-k in emacs are not necessarily what Shift-Insert will now paste in xterm. That has never happened before and is causing me to send dangers wads of text of some previous yank to the shell. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 06 17:42:24 2011 Received: (at 6635) by debbugs.gnu.org; 6 Oct 2011 21:42:24 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBvhw-0001K6-FU for submit@debbugs.gnu.org; Thu, 06 Oct 2011 17:42:24 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBvhv-0001K0-GH for 6635@debbugs.gnu.org; Thu, 06 Oct 2011 17:42:24 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RBvhj-0005UC-6z; Thu, 06 Oct 2011 17:42:11 -0400 From: Glenn Morris To: David De La Harpe Golden Subject: Re: bug#6635: mouse-yank-primary/secondary and unicode from other apps. References: <4C3E5873.9090909@harpegolden.net> X-Spook: TWA Ortega fissionable CipherTAC-2000 Security Council X-Ran: +~i,xUs])PO1P"4xKeDWa>Npo`5(PYA$L#Y/fqHk%W?~gS-t?IQ5%Nidf){t`l~FZ8GDTv X-Hue: red X-Attribution: GM Date: Thu, 06 Oct 2011 17:42:11 -0400 In-Reply-To: <4C3E5873.9090909@harpegolden.net> (David De La Harpe Golden's message of "Thu, 15 Jul 2010 01:38:11 +0100") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 6635 Cc: 6635@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: -6.4 (------) David De La Harpe Golden wrote: > mouse-yank-primary and mouse-yank-secondary don't like > inserting non-ascii chars from other apps. Is this still an issue? I copied some non-ASCII chars in firefox and pasted them to the current Emacs trunk with no problem. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 06 19:17:39 2011 Received: (at 6635) by debbugs.gnu.org; 6 Oct 2011 23:17:39 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBxC7-0005xA-Aw for submit@debbugs.gnu.org; Thu, 06 Oct 2011 19:17:39 -0400 Received: from harpegolden.net ([65.99.215.13]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBxC4-0005x2-No for 6635@debbugs.gnu.org; Thu, 06 Oct 2011 19:17:37 -0400 Received: from [87.198.47.56] (87-198-47-56.ptr.magnet.ie [87.198.47.56]) (using TLSv1 with cipher 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 C306F6839E; Fri, 7 Oct 2011 00:17:24 +0100 (IST) Message-ID: <4E8E3703.6080602@harpegolden.net> Date: Fri, 07 Oct 2011 00:17:23 +0100 From: David De La Harpe Golden User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.21) Gecko/20110831 Icedove/3.1.13 MIME-Version: 1.0 To: Glenn Morris Subject: Re: bug#6635: mouse-yank-primary/secondary and unicode from other apps. References: <4C3E5873.9090909@harpegolden.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 6635 Cc: 6635@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.7 (--) On 06/10/11 22:42, Glenn Morris wrote: > David De La Harpe Golden wrote: > >> mouse-yank-primary and mouse-yank-secondary don't like >> inserting non-ascii chars from other apps. > > Is this still an issue? > > I copied some non-ASCII chars in firefox and pasted them to the current > Emacs trunk with no problem. I think this got fixed in trunk by Jan D. under #6802 and closing this report was overlooked. And it appears to be fixed for both primary and secondary, just tested in case. http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6802#40 From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 06 19:26:55 2011 Received: (at control) by debbugs.gnu.org; 6 Oct 2011 23:26:55 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBxL4-0006AI-Pb for submit@debbugs.gnu.org; Thu, 06 Oct 2011 19:26:54 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBxL3-0006AC-IR for control@debbugs.gnu.org; Thu, 06 Oct 2011 19:26:54 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RBxKs-0003KP-Bw for control@debbugs.gnu.org; Thu, 06 Oct 2011 19:26:42 -0400 Date: Thu, 06 Oct 2011 19:26:42 -0400 Message-Id: Subject: control message for bug 6635 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.4 (------) 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: -6.4 (------) unarchive 6802 forcemerge 6802 6635 From unknown Fri Aug 15 18:52:47 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 04 Nov 2011 11:24:02 +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