emacs-devel
[Top][All Lists]
Advanced

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

Re: macosx(carbon): slow keyboard responsiveness bug fix


From: William Xu
Subject: Re: macosx(carbon): slow keyboard responsiveness bug fix
Date: Wed, 21 Nov 2007 00:04:12 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (darwin)

Stefan Monnier <address@hidden> writes:

> Could you try and arange for the Mac OS X to work with MULTI_KBOARD?
> It shouldn't be difficult (because even though the generic Emacs code
> then supports multiple keyboards, the Mac OS X part of the code can
> still choose to only create a single keyboard and work the same as
> before).

Hmm, it turns out easy. Just enable it, then works fairly well. :P 

Well, there's one problem. Some special keys become undefined, like tab,
return, esc. Do you have an idea what might cause this? The following is
a workaround for this: 

,----
| (global-set-key (kbd "<return>") (kbd "RET"))
| (global-set-key (kbd "<tab>") (kbd "TAB"))
`----

The patch: 

Index: darwin.h
===================================================================
RCS file: /sources/emacs/emacs/src/s/darwin.h,v
retrieving revision 1.32
diff -u -r1.32 darwin.h
--- darwin.h    11 Sep 2007 01:04:00 -0000      1.32
+++ darwin.h    20 Nov 2007 14:58:52 -0000
@@ -52,10 +52,6 @@
 #define MAC_OS
 /* We need a little extra space, see ../../lisp/loadup.el. */
 #define SYSTEM_PURESIZE_EXTRA 30000
-
-/* XXX The MULTI_KBOARD support does not work yet on this platform. */
-#undef MULTI_KBOARD
-
 #endif
 #endif

-- 
William

http://williamxu.net9.org





reply via email to

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