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: FW: Emacs non-ascii characters Date: Fri, 25 Nov 2005 16:37:11 +0900 Message-ID: References: <43825633.5040403@gnu.org> 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 1132904374 28494 80.91.229.2 (25 Nov 2005 07:39:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 25 Nov 2005 07:39:34 +0000 (UTC) Cc: jorussel@cisco.com, drew.adams@oracle.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 25 08:39:27 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EfYAh-00044z-QA for ged-emacs-devel@m.gmane.org; Fri, 25 Nov 2005 08:39:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EfYAh-0007T4-07 for ged-emacs-devel@m.gmane.org; Fri, 25 Nov 2005 02:39:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EfY99-0007M2-Vl for emacs-devel@gnu.org; Fri, 25 Nov 2005 02:37:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EfY98-0007Lk-D0 for emacs-devel@gnu.org; Fri, 25 Nov 2005 02:37:27 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EfY97-0007Lg-Pu for emacs-devel@gnu.org; Fri, 25 Nov 2005 02:37:26 -0500 Original-Received: from [192.47.44.130] (helo=tsukuba.m17n.org) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EfY94-00061m-47; Fri, 25 Nov 2005 02:37:22 -0500 Original-Received: from nfs.m17n.org (nfs.m17n.org [192.47.44.7]) by tsukuba.m17n.org (8.13.4/8.13.4/Debian-3) with ESMTP id jAP7bDHg016912; Fri, 25 Nov 2005 16:37:13 +0900 Original-Received: from etlken (etlken.m17n.org [192.47.44.125]) by nfs.m17n.org (8.13.4/8.13.4/Debian-3) with ESMTP id jAP7bCgR027584; Fri, 25 Nov 2005 16:37:12 +0900 Original-Received: from handa by etlken with local (Exim 3.36 #1 (Debian)) id 1EfY8t-0002yP-00; Fri, 25 Nov 2005 16:37:11 +0900 Original-To: Jason Rumney In-reply-to: <43825633.5040403@gnu.org> (message from Jason Rumney on Mon, 21 Nov 2005 23:20:19 +0000) 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:46554 Archived-At: In article <43825633.5040403@gnu.org>, Jason Rumney writes: > Perhaps if the current locale is en_US (and other en variants, since > many use the US layout and have little need for input methods), then C-\ > should not automatically select an input method the first time it is > hit. Then the user will be prompted and can hit C-g. This will overcome > the problem that if it is hit by accident by someone who knows nothing > about input methods, they have no way of knowing what has gone wrong. If the current locale is not set or "C", emacs starts with "English" lang. env., default-input-method is not set, thus C-\ prompts you to specify an input method. But if the locale is "en_US", emacs starts with "Latin-1" lang. env. because of this entry. (defconst locale-language-names [...] ;; Users who specify "en" explicitly typically want Latin-1, not ASCII. ;; That's actually what the GNU locales define, modulo things like ;; en_IN -- fx. ("en_IN" "English" utf-8) ; glibc uses utf-8 for English in India ("en" . "Latin-1") ; English And, in this lang. env., default-input-method is set to latin-1-prefix, thus C-\ automatically activates it. If this situation is not good, have about this change. *************** *** 2129,2135 **** ;; That's actually what the GNU locales define, modulo things like ;; en_IN -- fx. ("en_IN" "English" utf-8) ; glibc uses utf-8 for English in India ! ("en" . "Latin-1") ; English ("eo" . "Latin-3") ; Esperanto ("es" "Spanish" iso-8859-1) ("et" . "Latin-1") ; Estonian --- 2138,2144 ---- ;; That's actually what the GNU locales define, modulo things like ;; en_IN -- fx. ("en_IN" "English" utf-8) ; glibc uses utf-8 for English in India ! ("en" "English" iso-8859-1) ; English ("eo" . "Latin-3") ; Esperanto ("es" "Spanish" iso-8859-1) ("et" . "Latin-1") ; Estonian Then, emacs starts with English lang. env. but the default coding systems are set to iso-8859-1. Shall I install this change? --- Kenichi Handa handa@m17n.org