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 Date: Mon, 17 Oct 2005 17:15:17 +0200 Organization: 9Telecom Message-ID: References: <87d5m4c2r3.fsf@thalassa.informatimago.com> <87mzl89stz.fsf@thalassa.informatimago.com> 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 1129562285 14296 80.91.229.2 (17 Oct 2005 15:18:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 Oct 2005 15:18:05 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 17 17:17:57 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ERWiJ-0000Zz-0N for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Oct 2005 17:15:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ERWiI-0005ib-CM for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Oct 2005 11:15:46 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!npeer.de.kpn-eurorings.net!news.agarik.com!usenet-fr.net!gaoland.net!grec.isp.9tel.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: 31.13.101-84.rev.gaoland.net Original-X-Trace: apollon.grec.isp.9tel.net 1129562184 1959 84.101.13.31 (17 Oct 2005 15:16:24 GMT) Original-X-Complaints-To: abuse@9online.fr Original-NNTP-Posting-Date: Mon, 17 Oct 2005 15:16:24 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050923) X-Accept-Language: en-us, en In-Reply-To: <87mzl89stz.fsf@thalassa.informatimago.com> Original-Xref: shelby.stanford.edu gnu.emacs.help:134708 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:30290 Archived-At: >>As told in another thread(1), (local-set-key (kbd "é") ...) seems not >>to work if non-ASCII characters are entered by pressing one button, >>Do you know this problem and how to solve it ? > (local-set-key (kbd "é") (lambda()(interactive)(insert "\ngot e acute\n"))) Nope, this line doesn't work : when I type "é", I don't get "got e acute", but "é". I've recently tried this bind on *true* console-mode emacs, it works. I wonder if this not a graphical libraries problem. Notice that in emacs 20.7 (with-xlib compiled version) non-ascii key bindings worked. -- Mounir AITTAHAR