bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mac OSX keyboard input fails for custom layouts


From: Nikolaj Schumacher
Subject: Mac OSX keyboard input fails for custom layouts
Date: Wed, 14 Dec 2005 09:58:39 +0100

In Mac OSX there are two kind of keyboard resources: classic and unicode. XML .keylayout files only provide a unicode resource and Emacs currently only uses the classic resource. As a result keys pressed with modifiers will result in a completely wrong key (while normal text input works correctly).

I've written a short patch for emacs-20.0.50.2 which solved the issue for me. It should be rather save to include since most of the code is only executed when no classic resource is available anyway. However it will only work on OSX >= 10.2. Is that implied by #define MAC_OSX? Some of the code I've seen seemed to suggest that. If not, how do I check for it?

regards,
Nikolaj Schumacher

Attachment: emacs_mac_unicode_keyboard.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]