unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* German keyboard key bindings?
@ 2003-12-16 20:24 Ulrich Neumerkel
  2003-12-16 21:57 ` Edi Weitz
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Ulrich Neumerkel @ 2003-12-16 20:24 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1528 bytes --]

On German keyboards many important Emacs commands are not easily
accessible.  In particular C-/ (undo) and M-/ (dabbrev-expand)
are very difficult to type (i.e. one types C-Shift-7 or M-Shift-7) thus
hampering the smooth flow of typing, Emacs users with US-american keyboards
enjoy.

Redefining the keys that are present on the same position does not seem
to be a good idea since this would undermine the canonical meaning of
certain keys.  In particular at the place of / there is -  on German
keyboards.

Fortunately the German keyboard offers the ä (a umlaut) key which has no
predefined binding yet.  Since ä is located at a quite comfortable place
(at the place of ') C-ä and M-ä come quite smoothly similar to C-/ and M-/.
Also C-ä and M-ä are very mnemonic representing the two äh's of German:
The correcting one and the mmh-ähh :-)

How can I correctly define M-ä in the most canonical way?

By more or less trial and error I found the following working under 21.3,
and an older 21.2.50 (of April 2002).  It does no more work under the
current 21.3.50 which is not surprising anyway.

To me this seems to be some kind of boot strap problem: In order to
mention ä one needs to be in a Latin-1 language environment etc.  But the
point would be that this key definiton is even present in other environments.

(global-set-key [(control ?\344)] 'undo)
(global-set-key [(meta ?\344)] 'dabbrev-expand)
(global-set-key [(meta shift ?\344)] 'dabbrev-last-expansion)

-- 
Ulrich Neumerkel http://www.complang.tuwien.ac.at/ulrich/

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2003-12-18  9:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-16 20:24 German keyboard key bindings? Ulrich Neumerkel
2003-12-16 21:57 ` Edi Weitz
2003-12-17  0:03 ` Kai Grossjohann
2003-12-17 14:09   ` Ulrich Neumerkel
2003-12-17 17:58     ` Kai Grossjohann
2003-12-17 19:46       ` Ulrich Neumerkel
2003-12-17 14:10   ` Reiner Steib
2003-12-17 17:57     ` Kai Grossjohann
2003-12-17 21:11 ` Kai Grossjohann
2003-12-17 21:24   ` Ulrich Neumerkel
2003-12-18  9:10     ` Kai Grossjohann

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).