From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Martin aus Chemnitz Newsgroups: gmane.emacs.help Subject: Re: global-set-key [? \ =?iso-8859-1?q?M-=F6=5D?= Date: Thu, 29 May 2003 13:35:57 +0100 Organization: Customer of PlusNet Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3ED5FEAD.1A00C535@gmx.net> References: <3EC936AD.41BBBEC8@gmx.net> <87of1ybr5p.fsf@bach.composers> <3ECB2DA2.107EDA4@gmx.net> <5lr86o8jox.fsf@rum.cs.yale.edu> <84k7cbctvz.fsf@lucy.is.informatik.uni-duisburg.de> <844r3ermo4.fsf@lucy.is.informatik.uni-duisburg.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: main.gmane.org 1054212104 25084 80.91.224.249 (29 May 2003 12:41:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 29 May 2003 12:41:44 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Thu May 29 14:41:43 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 19LMih-0006Vg-00 for ; Thu, 29 May 2003 14:41:23 +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 19LMiI-000652-GH for gnu-help-gnu-emacs@m.gmane.org; Thu, 29 May 2003 08:40:58 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.stueberl.de!newsr1.ipcore.viaginterkom.de!btnet-peer1!btnet!zen.net.uk!landlord!wards.force9.net.POSTED!not-for-mail X-Mailer: Mozilla 4.75 [de] (Win98; U) X-Accept-Language: de,en Original-Newsgroups: gnu.emacs.help Original-Lines: 62 Original-NNTP-Posting-Host: 212.159.32.142 Original-X-Complaints-To: abuse@plus.net.uk Original-X-Trace: wards.force9.net 1054212065 212.159.32.142 (Thu, 29 May 2003 13:41:05 BST) Original-NNTP-Posting-Date: Thu, 29 May 2003 13:41:05 BST Original-Xref: shelby.stanford.edu gnu.emacs.help:113839 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:10333 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10333 > I created a file foo.el that looks like this (two lines): : > I then started Emacs as follows: : > In the *scratch* buffer, I moved to the beginning of the buffer and My *scratch* buffer is empty if I start with "-l foo.el", but I type in some word and do the same. > then I typed ESC " o. (I don't have a German keyboard, so > " o is my way of typing the ö character in X11. You would > hit your ö key directly.) The cursor moved forward a word. Do you mean M-ö? When I type M-ö nothing happens. C-h k M-ö produces `M-ö is undefined'. If I type in ö and C-u C-x C-= over it I get a similar result as you: `latin-iso8859-1'. ,---- | character: ö (04366, 2294, 0x8f6) | charset: latin-iso8859-1 | (Right-Hand Part of Latin Alphabet 1 (ISO/IEC 8859-1): ISO-IR-100) | code point: 118 | syntax: word | category: l:Latin |buffer code: 0x81 0xF6 | file code: F6 (encoded by coding system iso-latin-1-dos) : `---- If I open foo.el and do the same I get latin-1 as well. ,---- | character: ö (04366, 2294, 0x8f6) | charset: latin-iso8859-1 | (Right-Hand Part of Latin Alphabet 1 (ISO/IEC 8859-1): ISO-IR-100) | code point: 118 | syntax: word | category: l:Latin |buffer code: 0x81 0xF6 | file code: F6 (encoded by coding system iso-latin-1-dos) : `---- M-x local-set-key M-ö forward-word works well and assigns the key. The file foo.el does not. But if my foo.el looks like this ,---- | ;-*- unibyte:t -*- | (global-set-key (kbd "M-ö") 'forward-word) `---- and I start Emacs like above, the key is assigned. I'll get the same behaviour as you for latin-9, but latin-1 file does not work. Martin