From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (=?iso-8859-1?q?Kai_Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: =?iso-8859-1?q?Re=3A_global-set-key__=5B=3F=5CM-=F6=5D?= Date: Thu, 22 May 2003 18:38:22 +0200 Organization: University of Duisburg, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <84d6ibym0x.fsf@lucy.is.informatik.uni-duisburg.de> References: <3EC936AD.41BBBEC8@gmx.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1053631771 21624 80.91.224.249 (22 May 2003 19:29:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 22 May 2003 19:29:31 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Thu May 22 21:29:28 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19Ivkm-0005cN-00 for ; Thu, 22 May 2003 21:29:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Ivm9-00061G-8W for gnu-help-gnu-emacs@m.gmane.org; Thu, 22 May 2003 15:30:53 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!news.telebyte.nl!fu-berlin.de!uni-berlin.de!p50876f6e.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-NNTP-Posting-Host: p50876f6e.dip.t-dialin.net (80.135.111.110) Original-X-Trace: fu-berlin.de 1053631625 412948 80.135.111.110 (16 [73968]) Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:QwlmnViZSXojeCNm/Uks8DfcoEQ= Original-Xref: shelby.stanford.edu gnu.emacs.help:113563 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10057 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10057 Martin aus Chemnitz writes: > (global-set-key [?\M-ö] 'forward-word) The problem is that there are many characters in Emacs that look like ö: one from Latin-1, one from Latin-2, one from Latin-9, and probably others. Emacs considers them all to be different. Now, let's say the kbd sends a Latin-9 ö to Emacs, but the file contains a Latin-1 ö. You might open the .emacs file with C-x C-f and hit C-u C-x = on the ö character. Then you might wish to type ö into a buffer and also hit C-u C-x = on it. (Please do not use C-x =, use C-u C-x =.) Then you know whether it's the same ö, or whether they just look the same. What happens if you write (kbd "M-ö") instead of [?\M-ö]? -- This line is not blank.