From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: remove leim/leim-list.el for make bootstrap? Date: Fri, 20 Mar 2009 09:15:58 -0400 Message-ID: References: <87r60seqk5.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1237554973 30789 80.91.229.12 (20 Mar 2009 13:16:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Mar 2009 13:16:13 +0000 (UTC) Cc: miles@gnu.org, schwab@linux-m68k.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 20 14:17:29 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 1LkebI-0000No-2K for ged-emacs-devel@m.gmane.org; Fri, 20 Mar 2009 14:17:28 +0100 Original-Received: from localhost ([127.0.0.1]:48691 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkeZv-0005oC-EY for ged-emacs-devel@m.gmane.org; Fri, 20 Mar 2009 09:16:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LkeZp-0005n7-T3 for emacs-devel@gnu.org; Fri, 20 Mar 2009 09:15:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LkeZl-0005i5-IJ for emacs-devel@gnu.org; Fri, 20 Mar 2009 09:15:57 -0400 Original-Received: from [199.232.76.173] (port=44086 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkeZl-0005i2-By for emacs-devel@gnu.org; Fri, 20 Mar 2009 09:15:53 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:43036) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LkeZg-00077b-AP; Fri, 20 Mar 2009 09:15:48 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgMFAHgzw0lFxIZP/2dsb2JhbACBT9Jtg30GhGY X-IronPort-AV: E=Sophos;i="4.38,395,1233550800"; d="scan'208";a="35439172" Original-Received: from 69-196-134-79.dsl.teksavvy.com (HELO pastel.home) ([69.196.134.79]) by ironport2-out.teksavvy.com with ESMTP; 20 Mar 2009 09:15:47 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 7C2757F74; Fri, 20 Mar 2009 09:15:58 -0400 (EDT) In-Reply-To: (Eli Zaretskii's message of "Fri, 20 Mar 2009 14:50:13 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:109720 Archived-At: >> What am I missing? > Looks like some bug in `insert', which happens when the buffer from > which the quail-define-package form was read is in iso-2022-7bit and > the buffer into which the text is inserted is also iso-2022-7bit: > could it be that the inserted text is not decoded into the internal > representation, so that encoding it in utf-8 still leaves behind > ISO-2022 escapes? Indeed, the problem I saw was that the generated file was marked as "utf-8" but contained iso-2022 encoded text, so there might be something like that going on. But `insert' doesn't decode/encode. OTOH maybe it's linked to the `charset' text-property we keep on such text to partly de-unify the CJK chars, so they can be saved back. OTOH, trying to do such copying (e.g. from lisp/language/chinese.el to a utf-8 file) doesn't seem to be able to reproduce the bug. Stefan