From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dave Love Newsgroups: gmane.emacs.bugs Subject: Re: decode-char & utf-8-fragment-on-decoding Date: 05 Sep 2002 00:34:51 +0100 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: References: <87y9aii9hc.fsf@cricket.magic.csuhayward.edu> <200209040818.RAA12414@etlken.m17n.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031182410 30164 127.0.0.1 (4 Sep 2002 23:33:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 4 Sep 2002 23:33:30 +0000 (UTC) Cc: tlm@pocketmail.com, bug-gnu-emacs@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17mjeJ-0007qK-00 for ; Thu, 05 Sep 2002 01:33:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17mjfw-000862-00; Wed, 04 Sep 2002 19:35:08 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17mjfn-00085l-00 for bug-gnu-emacs@gnu.org; Wed, 04 Sep 2002 19:34:59 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17mjfk-00085Z-00 for bug-gnu-emacs@gnu.org; Wed, 04 Sep 2002 19:34:58 -0400 Original-Received: from albion.dl.ac.uk ([148.79.80.39]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17mjfk-00085V-00 for bug-gnu-emacs@gnu.org; Wed, 04 Sep 2002 19:34:56 -0400 Original-Received: from fx by albion.dl.ac.uk with local (Exim 3.35 #1 (Debian)) id 17mjff-0001ZD-00; Thu, 05 Sep 2002 00:34:51 +0100 Original-To: Kenichi Handa Original-Lines: 14 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:3420 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3420 Kenichi Handa writes: > Thank you. It seems to be the right fix. I'll install it > soon. Dave, do you see any problem with that? Yes, I think it's wrong. I think the only bug is that the doc string of `utf-8-fragment-on-decoding' is missing the normal `setting it directly does not take effect' text for a Custom option with a setter. It has no effect on how decoding is done, and `decode-char' was meant to be consistent with how utf-8 decoding actually works. The translation table is always used -- CCL has no way to access Lisp variables anyway. It only matters how it's populated (empty by default).