From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mounir AITTAHAR Newsgroups: gmane.emacs.help Subject: Re: Translating keys [solved] Date: Fri, 21 Oct 2005 10:37:18 +0200 Organization: 9Telecom Message-ID: References: <87d5m4c2r3.fsf@thalassa.informatimago.com> <87k6g9p0j3.fsf-monnier+gnu.emacs.help@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1129893711 2105 80.91.229.2 (21 Oct 2005 11:21:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 21 Oct 2005 11:21:51 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 21 13:21:39 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ESuxI-0007sb-7K for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Oct 2005 13:21:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ESupi-0005V1-VB for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Oct 2005 07:13:10 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.news.ucla.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!news.agarik.com!usenet-fr.net!gaoland.net!grec.isp.9tel.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-NNTP-Posting-Host: 220.13.101-84.rev.gaoland.net Original-X-Trace: aphrodite.grec.isp.9tel.net 1129883966 9652 84.101.13.220 (21 Oct 2005 08:39:26 GMT) Original-X-Complaints-To: abuse@9online.fr Original-NNTP-Posting-Date: Fri, 21 Oct 2005 08:39:26 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050923) X-Accept-Language: en-us, en In-Reply-To: Original-Xref: shelby.stanford.edu gnu.emacs.help:134843 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:30428 Archived-At: > (read-event) or (read-key-sequence "") => typing "é" give 3945 > (kbd "é") => 233 > (multibyte-char-to-unibyte 3945) => 233 > (unibyte-char-to-multibyte 233) => 2281 But with : (unify-8859-on-encoding-mode 1) (unify-8859-on-decoding-mode 1) > (read-event) or (read-key-sequence "") => typing "é" give 2281 > (kbd "é") => 233 > (multibyte-char-to-unibyte 3945) => 233 > (unibyte-char-to-multibyte 233) => 2281 Ok ! I think it was a problem of 8859 encoding unification. But don't know definitely why : locale pb or emacs-related... -- Mounir AITTAHAR