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: [PATCH] Unicode Lisp reader escapes Date: Thu, 18 May 2006 09:31:04 +0900 Message-ID: References: <17491.34779.959316.484740@parhasard.net> <87odyfnqcj.fsf-monnier+emacs@gnu.org> <17498.27200.911709.330947@parhasard.net> <877j4z5had.fsf@gmx.de> <87irohfrx1.fsf@gmx.de> 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 1147912297 24257 80.91.229.2 (18 May 2006 00:31:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 18 May 2006 00:31:37 +0000 (UTC) Cc: emacs-devel@gnu.org, alkibiades@gmx.de Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 18 02:31:34 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FgWQN-0002kN-0X for ged-emacs-devel@m.gmane.org; Thu, 18 May 2006 02:31:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FgWQM-0008Kl-HF for ged-emacs-devel@m.gmane.org; Wed, 17 May 2006 20:31:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FgWQ9-0008Ix-7D for emacs-devel@gnu.org; Wed, 17 May 2006 20:31:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FgWQ7-0008H6-4P for emacs-devel@gnu.org; Wed, 17 May 2006 20:31:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FgWQ6-0008H3-U4 for emacs-devel@gnu.org; Wed, 17 May 2006 20:31:15 -0400 Original-Received: from [192.47.44.130] (helo=tsukuba.m17n.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FgWT2-0008Bw-Nk; Wed, 17 May 2006 20:34:17 -0400 Original-Received: from nfs.m17n.org (nfs.m17n.org [192.47.44.7]) by tsukuba.m17n.org (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id k4I0V4K7017647; Thu, 18 May 2006 09:31:04 +0900 Original-Received: from etlken (etlken.m17n.org [192.47.44.125]) by nfs.m17n.org (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id k4I0V4wg008149; Thu, 18 May 2006 09:31:04 +0900 Original-Received: from handa by etlken with local (Exim 3.36 #1 (Debian)) id 1FgWPw-0003AU-00; Thu, 18 May 2006 09:31:04 +0900 Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Mon, 15 May 2006 16:37:31 -0400) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) 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 Xref: news.gmane.org gmane.emacs.devel:54674 Archived-At: In article , Richard Stallman writes: >> Handa says that telling people "don't use utf-8" solves the problem. > That's NOT what I saied. I said "use emacs-mule". The > other coding systems are affected by > unify-8859-on-decoding-mode, and also by users setting of > standard-translation-table-for-decode. > Ok, I stand corrected. > However, people have pointed out that there are practical drawbacks > to using emacs-mule, and that iso-2022 is more convenient. > Let's see if we can arrange for iso-2022 to work properly. For iso-2022 based coding-systems, the situation is simpler that utf-* case. As we already have the variable `enable-character-translation', just by making it local-variable of a buffer where a file is being read, and setting it to nil, we can read a file in a constant way. The only hack we need is to detect that variable in "Local Variables:" section before start decoding (perhaps in set-auto-coding). --- Kenichi Handa handa@m17n.org