From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: buffer-swap-text and multibyteness Date: Wed, 25 Feb 2009 10:15:15 +0900 Message-ID: References: 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 1235524507 22526 80.91.229.12 (25 Feb 2009 01:15:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Feb 2009 01:15:07 +0000 (UTC) Cc: emacs-devel@gnu.org, monnier@iro.umontreal.ca, rms@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 25 02:16:22 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 1Lc8Nq-0003KE-23 for ged-emacs-devel@m.gmane.org; Wed, 25 Feb 2009 02:16:22 +0100 Original-Received: from localhost ([127.0.0.1]:58204 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lc8MU-0003KX-O8 for ged-emacs-devel@m.gmane.org; Tue, 24 Feb 2009 20:14:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lc8MP-0003Ig-Gq for emacs-devel@gnu.org; Tue, 24 Feb 2009 20:14:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lc8MO-0003Hs-QW for emacs-devel@gnu.org; Tue, 24 Feb 2009 20:14:53 -0500 Original-Received: from [199.232.76.173] (port=46660 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lc8MO-0003Hp-KK for emacs-devel@gnu.org; Tue, 24 Feb 2009 20:14:52 -0500 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:50429) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lc8ML-0005zd-Fy; Tue, 24 Feb 2009 20:14:49 -0500 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id n1P1EmwL005700; Wed, 25 Feb 2009 10:14:48 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp2.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id n1P1Elgh028436; Wed, 25 Feb 2009 10:14:47 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp2.aist.go.jp with ESMTP id n1P1Elvm023578; Wed, 25 Feb 2009 10:14:47 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1Lc8Ml-0007ih-UK; Wed, 25 Feb 2009 10:15:15 +0900 In-reply-to: (message from Eli Zaretskii on Tue, 24 Feb 2009 20:48:04 +0200) X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.aist.go.jp id n1P1EmwL005700 X-detected-operating-system: by monty-python.gnu.org: Solaris 9 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:109324 Archived-At: In article , Eli Zaretskii writes: > 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 buffer, > Emacs crashed inside GC. Is something wrong with that coding-system? Perhaps, but I can't reproduce it with this simple test: (decode-coding-string (encode-coding-string "abc=E6=BC=A2=E5=AD=97=C3=80=C3= =81" 'iso-2022-jp-2) 'iso-2022-jp-2) Please give me a test case. --- Kenichi Handa handa@m17n.org