From: William Xu <william.xwl@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: macosx(carbon): slow keyboard responsiveness bug fix
Date: Wed, 21 Nov 2007 00:04:12 +0900 [thread overview]
Message-ID: <m2sl31x8k3.fsf@gmail.com> (raw)
In-Reply-To: jwvbq9qz3gx.fsf-monnier+emacs@gnu.org
Stefan Monnier <monnier@iro.umontreal.ca> 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
next prev parent reply other threads:[~2007-11-20 15:04 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-19 10:38 macosx(carbon): slow keyboard responsiveness bug fix William Xu
2007-11-19 15:00 ` Stefan Monnier
2007-11-20 15:04 ` William Xu [this message]
2007-11-20 15:56 ` Andreas Schwab
2007-11-20 16:53 ` Stefan Monnier
2007-11-20 17:58 ` Dan Nicolaescu
2007-11-21 8:59 ` William Xu
2007-11-20 17:11 ` CHENG Gao
2007-11-20 17:52 ` CHENG Gao
2007-11-20 23:32 ` Andreas Schwab
2007-11-21 0:38 ` YAMAMOTO Mitsuharu
2007-11-21 2:55 ` CHENG Gao
2007-11-21 4:05 ` William Xu
2007-11-21 2:46 ` CHENG Gao
2007-11-21 4:12 ` William Xu
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=m2sl31x8k3.fsf@gmail.com \
--to=william.xwl@gmail.com \
--cc=emacs-devel@gnu.org \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).