From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: buffer-swap-text and multibyteness Date: Wed, 25 Feb 2009 06:11:44 +0200 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1235535168 14096 80.91.229.12 (25 Feb 2009 04:12:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Feb 2009 04:12:48 +0000 (UTC) Cc: emacs-devel@gnu.org, monnier@iro.umontreal.ca, rms@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 25 05:14:04 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LcB9k-0005An-7k for ged-emacs-devel@m.gmane.org; Wed, 25 Feb 2009 05:14:00 +0100 Original-Received: from localhost ([127.0.0.1]:35461 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LcB8P-0008C6-8u for ged-emacs-devel@m.gmane.org; Tue, 24 Feb 2009 23:12:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LcB8K-0008AP-Bh for emacs-devel@gnu.org; Tue, 24 Feb 2009 23:12:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LcB8J-00089D-7E for emacs-devel@gnu.org; Tue, 24 Feb 2009 23:12:31 -0500 Original-Received: from [199.232.76.173] (port=38841 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LcB8J-00089A-07 for emacs-devel@gnu.org; Tue, 24 Feb 2009 23:12:31 -0500 Original-Received: from mtaout5.012.net.il ([84.95.2.13]:25486) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LcB8H-0003ao-4p; Tue, 24 Feb 2009 23:12:29 -0500 Original-Received: from conversion-daemon.i_mtaout5.012.net.il by i_mtaout5.012.net.il (HyperSendmail v2004.12) id <0KFL00E00SX9GT00@i_mtaout5.012.net.il>; Wed, 25 Feb 2009 06:12:10 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.228.50.25]) by i_mtaout5.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KFL00DJ0T003OF1@i_mtaout5.012.net.il>; Wed, 25 Feb 2009 06:12:10 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 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 Xref: news.gmane.org gmane.emacs.devel:109328 Archived-At: > From: Kenichi Handa > CC: monnier@iro.umontreal.ca, rms@gnu.org, emacs-devel@gnu.org > Date: Wed, 25 Feb 2009 10:15:15 +0900 >=20 > In article , Eli Zaretskii wr= ites: >=20 > > Btw, while I worked on this, I discovered a strange problem with = a > > coding-system I never heard about before: iso-2022-jp-2. (It was= one > > of the encodings select-safe-coding-system suggested for encoding= the > > text with both Japanese and Latin-1 characters.) Whenever I used > > iso-2022-jp-2 to encode the edited message back into the mbox buf= fer, > > Emacs crashed inside GC. Is something wrong with that coding-sys= tem? >=20 > Perhaps, but I can't reproduce it with this simple test: >=20 > (decode-coding-string (encode-coding-string "abc=E6=BC=A2=E5=AD= =97=C3=80=C3=81" 'iso-2022-jp-2) > =09=09 'iso-2022-jp-2) >=20 > Please give me a test case. It was the same test case you sent to me earlier in this thread.