From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Cannot remap umlaut keys Date: Wed, 12 Nov 2003 13:53:46 GMT 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> <87islw6jen.fsf@ID-28718.user.uni-berlin.de> <87brriknso.fsf@ID-28718.user.uni-berlin.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1068645773 11071 80.91.224.253 (12 Nov 2003 14:02:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 Nov 2003 14:02:53 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 12 15:02:51 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 1AJva6-0006ku-00 for ; Wed, 12 Nov 2003 15:02:50 +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 1AJwUR-0004Yd-WD for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Nov 2003 10:01:04 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!nntp.cs.ubc.ca!cyclone.bc.net!snoopy.risq.qc.ca!charlie.risq.qc.ca!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-NNTP-Posting-Host: 132.204.24.42 Original-X-Complaints-To: abuse@umontreal.ca Original-X-Trace: charlie.risq.qc.ca 1068645226 132.204.24.42 (Wed, 12 Nov 2003 08:53:46 EST) Original-NNTP-Posting-Date: Wed, 12 Nov 2003 08:53:46 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:118161 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:14100 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:14100 >>> My .emacs is encoded in ASCII. I encoded it in Latin-1 when I >>> experimented with [?ö]. I also tried UTF-8. >> >> Have you tried putting a -*- coding: latin-1 -*- on the first line >> to make sure that it is read with the proper coding system ? > I should have thought of setting the coding explicitly. I use -*- > coding: utf-8 -*- in a lot of other files. The -*- coding -*- thingy should not be necessary. It seems to work OK for me with Emacs-CVS and LANG=fr_CH.iso-8859-1, but if you could check it yourself it would be helpful. > There's still the problem that I have to use (local-set-key [246] "(") > on the Linux text console in addition to (local-set-key [?ö] "("), > which only works under X. But I can live with this minor problem. (local-set-key [?ö] "(") should work in the console as well, although it might require a (set-keyboard-coding-system 'latin-1) or something like that (in Emacs-CVS, the keyboard coding-system should be set automatically based on the locale). Stefan