From: kai.grossjohann@gmx.net (Kai Großjohann)
Subject: Re: global-set-key [? \ M-ö]
Date: Thu, 29 May 2003 15:13:13 +0200 [thread overview]
Message-ID: <84d6i1gal2.fsf@lucy.is.informatik.uni-duisburg.de> (raw)
In-Reply-To: 3ED5FEAD.1A00C535@gmx.net
Martin aus Chemnitz <MartinAusChemnitz@gmx.net> writes:
>> 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.
Ah, good.
>> then I typed ESC <compose> " o. (I don't have a German keyboard, so
>> <compose> " 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.
What happens with ESC ö?
> C-h k M-ö produces `M-ö is undefined'.
Hm.
> 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)
> :
> `----
Okay, so I guess that ESC ö would work. Hm. I haven't tried M-ö
because I don't know how to type that on my US keyboard.
> 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.
Fascinating.
> I'll get the same behaviour as you for latin-9, but latin-1 file does
> not work.
So latin-9 doesn't work, either, right? You get a beep and C-h k
tells you the key is undefined?
Anyhow, thanks for all the testing. I wonder what can be done at
this point, and how come that your keys are different.
What's keyboard-coding-system, btw? M-x describe-coding-system RET
RET should tell you.
--
This line is not blank.
next prev parent reply other threads:[~2003-05-29 13:13 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-19 19:55 global-set-key [?\ M-ö] Martin aus Chemnitz
[not found] ` <87of1ybr5p.fsf@bach.composers>
2003-05-19 21:44 ` global-set-key [? \M-ö] Jesper Harder
2003-05-21 7:41 ` global-set-key [?\ M-ö] Martin aus Chemnitz
2003-05-21 15:55 ` global-set-key [? \M-ö] Stefan Monnier
2003-05-22 9:59 ` global-set-key [?\ M-ö] Martin aus Chemnitz
2003-05-22 13:24 ` global-set-key [? \M-ö] Stefan Monnier
2003-05-22 16:43 ` global-set-key [?\ M-ö] Martin aus Chemnitz
2003-05-22 17:41 ` global-set-key [? \M-ö] Stefan Monnier
2003-05-22 19:01 ` global-set-key [?\ M-ö] Martin aus Chemnitz
2003-05-22 20:49 ` global-set-key [? \M-ö] Stefan Monnier
2003-05-24 9:18 ` global-set-key [?\ M-ö] Eli Zaretskii
2003-05-24 9:02 ` global-set-key [? \M-ö] Harald Maier
2003-05-24 9:16 ` global-set-key [?\ M-ö] Eli Zaretskii
[not found] ` <mailman.6685.1053767730.21513.help-gnu-emacs@gnu.org>
2003-05-24 15:10 ` global-set-key [? \ M-ö] Stefan Monnier
2003-05-28 3:49 ` Eli Zaretskii
[not found] ` <mailman.6886.1054093722.21513.help-gnu-emacs@gnu.org>
2003-05-28 9:17 ` Kai Großjohann
2003-05-29 10:45 ` Martin aus Chemnitz
2003-05-29 11:56 ` Kai Großjohann
2003-05-29 12:35 ` Martin aus Chemnitz
2003-05-29 13:13 ` Kai Großjohann [this message]
2003-05-29 13:55 ` Martin aus Chemnitz
2003-05-29 14:19 ` Kai Großjohann
2003-05-29 14:31 ` Stefan Monnier
2003-05-28 14:38 ` Stefan Monnier
2003-05-28 15:49 ` Eli Zaretskii
[not found] ` <mailman.6914.1054137212.21513.help-gnu-emacs@gnu.org>
2003-05-28 16:51 ` Kai Großjohann
2003-05-28 19:58 ` Eli Zaretskii
[not found] ` <mailman.6936.1054151969.21513.help-gnu-emacs@gnu.org>
2003-05-29 8:23 ` Kai Großjohann
2003-05-29 13:43 ` Eli Zaretskii
2003-05-28 17:53 ` Stefan Monnier
2003-05-28 20:04 ` Eli Zaretskii
[not found] ` <mailman.6937.1054152210.21513.help-gnu-emacs@gnu.org>
2003-05-28 20:29 ` Stefan Monnier
2003-05-29 8:25 ` Kai Großjohann
2003-05-25 23:22 ` global-set-key [?\ M-ö] Martin aus Chemnitz
2003-05-26 0:05 ` global-set-key [? \ M-ö] Stefan Monnier
2003-05-26 5:22 ` global-set-key [?\ M-ö] Kai Großjohann
2003-05-26 6:23 ` Kai Großjohann
2003-05-26 17:21 ` Eli Zaretskii
2003-05-22 16:38 ` global-set-key [?\M-ö] Kai Großjohann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=84d6i1gal2.fsf@lucy.is.informatik.uni-duisburg.de \
--to=kai.grossjohann@gmx.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).