From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tatsuya Kinoshita Newsgroups: gmane.emacs.devel Subject: Re: tmm.el: non-ASCII characters with locale-coding-system Date: Thu, 17 Apr 2008 23:21:31 +0900 (JST) Message-ID: <20080417.232131.217760969.tats%nobody@tats.iris.ne.jp> References: <20080416.220902.173219381.tats%nobody@tats.iris.ne.jp> <20080417.011529.240672663.tats%nobody@tats.iris.ne.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1208443070 1655 80.91.229.12 (17 Apr 2008 14:37:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Apr 2008 14:37:50 +0000 (UTC) Cc: nori1@dolphin.c.u-tokyo.ac.jp To: czkmt@remus.dti.ne.jp, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 17 16:38:21 2008 connect(): Connection refused 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 1JmV2N-0005SY-2q for ged-emacs-devel@m.gmane.org; Thu, 17 Apr 2008 16:24:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JmV1i-0002ri-7d for ged-emacs-devel@m.gmane.org; Thu, 17 Apr 2008 10:23:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JmV1S-0002ei-MV for emacs-devel@gnu.org; Thu, 17 Apr 2008 10:23:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JmV1R-0002cy-Ah for emacs-devel@gnu.org; Thu, 17 Apr 2008 10:23:34 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JmV1R-0002cj-0l for emacs-devel@gnu.org; Thu, 17 Apr 2008 10:23:33 -0400 Original-Received: from vega.ocn.ne.jp ([125.170.92.71] helo=smtp.vega.ocn.ne.jp) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JmV1Q-0007lA-7A for emacs-devel@gnu.org; Thu, 17 Apr 2008 10:23:32 -0400 Original-Received: from localhost (EM119-72-21-17.pool.e-mobile.ne.jp [119.72.21.17]) by smtp.vega.ocn.ne.jp (Postfix) with ESMTP id 8A5673FC7; Thu, 17 Apr 2008 23:23:24 +0900 (JST) In-Reply-To: <20080417.011529.240672663.tats%nobody@tats.iris.ne.jp> X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI) X-detected-kernel: by monty-python.gnu.org: HP-UX 11.00-11.11 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:95405 Archived-At: On April 17, 2008 at 1:15AM +0900, tats (at vega.ocn.ne.jp) wrote: > > The patch is created by Tetsuo Tsukamoto (czkmt at remus.dti.ne.jp) > > at http://mail.ring.gr.jp/skk/200803/msg00009.html to prevent a > > problem of displaying Japanese characters with tmm.el reported > > by Noritada Kobayashi at Debian BTS http://bugs.debian.org/470646. [...] > Hmm, the encoding scheme is decided as follows, quoting from > skk-e21.el: > > | (defvar skk-e21-coding-system (cond > | ((memq window-system '(w32 nil)) > | nil) > | ((and (boundp 'mac-carbon-version-string) > | window-system > | (find-coding-system 'utf-8)) > | 'utf-8) > | (t > | locale-coding-system))) > > Should it be set to 'utf-8? What's the correct way to handle a > non-ASCII character of a menu item? Wow, I set skk-e21-coding-system to nil, and then the problem has gone away. The SKK Japanese menu item can be displayed with tmm.el and also with the menu bar. Tetsuo, is locale-coding-system really needed? If not, please set skk-e21-coding-system to nil by default. Thanks, -- Tatsuya Kinoshita