From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: keyboard-translate does suddenly not work anymore Date: Wed, 11 May 2005 10:14:36 -0400 Organization: Bell Sympatico Message-ID: <87r7gd7t2u.fsf-monnier+gnu.emacs.help@gnu.org> References: <87psvydalu.fsf@ortler.iwr.uni-heidelberg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1115821693 29305 80.91.229.2 (11 May 2005 14:28:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 11 May 2005 14:28:13 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 11 16:28:10 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DVsBn-0000hA-5Y for geh-help-gnu-emacs@m.gmane.org; Wed, 11 May 2005 16:27:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DVsKX-0007px-FT for geh-help-gnu-emacs@m.gmane.org; Wed, 11 May 2005 10:36:57 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wns13feed!worldnet.att.net!207.35.177.252!nf3.bellglobal.com!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:dN/QNHZYqoJ54IWb67drF+ineXM= Original-Lines: 24 Original-NNTP-Posting-Host: 67.68.217.114 Original-X-Complaints-To: abuse@sympatico.ca Original-X-Trace: news20.bellglobal.com 1115820877 67.68.217.114 (Wed, 11 May 2005 10:14:37 EDT) Original-NNTP-Posting-Date: Wed, 11 May 2005 10:14:37 EDT Original-Xref: shelby.stanford.edu gnu.emacs.help:130854 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:26512 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26512 > until today the following translation from the German "Umlaut" ö to the > bracket [ has worked fine in my .emacs: > (keyboard-translate ?\366 ?\[) > However, something has broken this (Maybe some software update, because I > installed Motif today? Before this I have also reconfigured the X I see you've found a better solution, but just for your information: ?\366 is not "ö". Recent Emacsen have improved the keyboard handling such that the byte sequence coming in from the tty is more properly decoded into a sequence of chars. So maybe your problem was that you should have now used: (keyboard-translate ?\ö ?\[) of course, assuming the file in which the above expression is written uses an appropriate encoding corresponding to the encoding used on your keyboard. Admittedly, I can't remember in which order things like keyboard-translate and keyboard decoding take place, so maybe I'm just wrong. Stefan