From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: copying to clipboard silently discards lines Date: Mon, 28 Feb 2005 16:20:25 +0900 (JST) Message-ID: <200502280720.QAA02582@etlken.m17n.org> References: <2150.220.255.172.231.1109220271.squirrel@220.255.172.231> <1515.220.255.172.231.1109259901.squirrel@220.255.172.231> <1156.220.255.172.231.1109344154.squirrel@www.stupidchicken.com> <1401.220.255.172.231.1109386419.squirrel@www.stupidchicken.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1109576319 23320 80.91.229.2 (28 Feb 2005 07:38:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 Feb 2005 07:38:39 +0000 (UTC) Cc: b.riefenstahl@turtle-trading.net, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 28 08:38:38 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D5fU3-00070L-5H for ged-emacs-devel@m.gmane.org; Mon, 28 Feb 2005 08:38:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D5fmM-00072F-Ba for ged-emacs-devel@m.gmane.org; Mon, 28 Feb 2005 02:57:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D5fkU-0006DY-1u for emacs-devel@gnu.org; Mon, 28 Feb 2005 02:55:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D5fkJ-00068U-NC for emacs-devel@gnu.org; Mon, 28 Feb 2005 02:55:17 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D5fkI-00062w-Gg for emacs-devel@gnu.org; Mon, 28 Feb 2005 02:55:14 -0500 Original-Received: from [192.47.44.130] (helo=tsukuba.m17n.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1D5fCh-0007p9-Tk for emacs-devel@gnu.org; Mon, 28 Feb 2005 02:20:32 -0500 Original-Received: from nfs.m17n.org (nfs.m17n.org [192.47.44.7]) by tsukuba.m17n.org (8.12.3/8.12.3/Debian-7.1) with ESMTP id j1S7KRXD025282; Mon, 28 Feb 2005 16:20:28 +0900 Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) by nfs.m17n.org (8.12.3/8.12.3/Debian-7.1) with ESMTP id j1S7KQPN024185; Mon, 28 Feb 2005 16:20:26 +0900 Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id QAA02582; Mon, 28 Feb 2005 16:20:25 +0900 (JST) Original-To: "Chong Yidong" In-reply-to: <1401.220.255.172.231.1109386419.squirrel@www.stupidchicken.com> (cyd@stupidchicken.com) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3.50 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:33907 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33907 In article <1401.220.255.172.231.1109386419.squirrel@www.stupidchicken.com>, "Chong Yidong" writes: > "Benjamin Riefenstahl" wrote: >> Grep is our friend ;-). The coding-system (and its CCL programs) is >> created in lisp/international/ccl.el using (define-ccl-program ...). >> The parameter BUFFER_MAGNIFICATION for that function is set as 1 there >> for the encoders (ccl-encode-mule-utf-16le, ccl-encode-mule-utf-16be, >> ccl-encode-mule-utf-16le-with-signature, >> ccl-encode-mule-utf-16be-with-signature), so that might well be the >> problem. >> >> Can you try and replace that 1 with 2 and see if your problem goes >> away? > Yes, that did the trick. Can someone verify that this is the correct fix? Thank you for finding this bug. The first two fixes are correct, but we must set 4 for XXX-with-signature. I've just installed these fixes. 2005-02-28 Chong Yidong" (tiny change) * international/utf-16.el (ccl-encode-mule-utf-16le): Fix BUFFER_MAGNIFICATION to 2. (ccl-encode-mule-utf-16be): Likewise. 2005-02-28 Kenichi Handa * international/utf-16.el (ccl-encode-mule-utf-16le-with-signature): Fix BUFFER_MAGNIFICATION to 4. (ccl-encode-mule-utf-16be-with-signature): Likewise. --- Ken'ichi HANDA handa@m17n.org