From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Reiner Steib <4.uce.03.r.s@nurfuerspam.de> Newsgroups: gmane.emacs.help Subject: Re: Cannot remap umlaut keys Date: Fri, 07 Nov 2003 22:02:06 +0100 Organization: Dept. of Theoretical Physics, University of Ulm Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <878ymsf6o8.fsf@ID-28718.user.uni-berlin.de> Reply-To: reiner.steib@gmx.de NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1068239891 19582 80.91.224.253 (7 Nov 2003 21:18:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 7 Nov 2003 21:18:11 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 07 22:18:08 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AIDzc-0006rM-00 for ; Fri, 07 Nov 2003 22:18:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AIEuQ-0003Uh-Ad for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Nov 2003 17:16:50 -0500 Original-Newsgroups: gnu.emacs.help,de.comp.editoren Original-Followup-To: gnu.emacs.help X-Face: :6KQZ[nyoS_edmB.%gw-=)BYth^|2+Y+^cu%I$FSx!&>-'om>3H7A|M&n(V7fIo3P.; yo.b yq4$p; ZaBtkv)\}biaiBQe"mD}iib1AA@99-fZ7i*bLhNRVC&0Wkxg9)SH?oWc@{ Mail-Copies-To: nobody User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:xrETbdq/0dqAWYc8Gq+SrJNgnQg= Original-NNTP-Posting-Host: lumberjack.physik.uni-ulm.de Original-X-Trace: news.uni-ulm.de 1068239364 134.60.10.173 (7 Nov 2003 22:09:24 +0100) Original-Lines: 32 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!feed.news.nacamar.de!news.belwue.de!news.uni-ulm.de!lumberjack.physik.uni-ulm.de!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:117989 de.comp.editoren:10998 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:13928 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13928 On Fri, Nov 07 2003, Stefan Monnier wrote: > (local-set-key [ö] "{") > > This might not always work, tho. If it doesn't, then maybe your > locale is not set properly. The problem is that the .emacs file > should be in the same coding-system as your keyboard (and the > keyboard's coding system under X is determined by your locale). In Emacs 21.3, with LC_CTYPE=en_US.ISO_8859-1, I tested this: ,----[ ~/.emacs (complete, nothing else) ] | (global-set-key [2276] 'test2276) ; ä | (global-set-key [ö] 'testoe) ; ö | (global-set-key [252] 'test252) ; ü `---- Result: ä -> Symbol's function definition is void: test2276 ö -> ö (i.e. self-insert-command) ü -> ü (i.e. self-insert-command) Bye, Reiner. Followup-To: gnu.emacs.help; Andreas, I doesn't make much sense to post in English to a German speaking newsgroup (additionally, in d.c.e, you should tag Emacs questions with "[Emacs]"). -- ,,, (o o) ---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/