From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: help-gnu-emacs@gnu.org
Subject: ibus-mode under Emacs 24
Date: Sat, 08 Oct 2011 12:31:56 +0800 [thread overview]
Message-ID: <8739f4w1c3.fsf@ericabrahamsen.net> (raw)
I recently compiled git Emacs on Ubuntu and am loving it -- everything's
very noticeably snappier. My setup transferred over flawlessly, except
for one thing.
Ibus-mode[1], which allows emacs to use the system-wide ibus input
method under Ubuntu, now fails with an odd error. I'd like to help get
this mode working under emacs 24, so I'm trying to understand as much
about it as possible.
The error is "Hex character out of range: \\x2000000", and it's
triggered by this bit of code in ibus.el:
--8<---------------cut here---------------start------------->8---
(if (and (null keybind)
(integerp event)
(memq 'shift (event-modifiers event)))
;; Reset the 25th bit corresponding to the shift key
(setq event (logand event (lognot ?\x2000000))
keybind (key-binding (vector event))))
--8<---------------cut here---------------end--------------->8---
I have no idea what this does, and suspect I never will, but I'm
wondering if anyone out there can tell me -- is this an easy error to
fix? Does this hex value somehow "correspond to the shift key" in a
different way under emacs 24?
Anyway, any light that could be shed on this would be received
gratefully.
Thanks,
Eric
[1]: http://www.emacswiki.org/emacs/IBusMode
--
GNU Emacs 24.0.90.1 (i686-pc-linux-gnu, GTK+ Version 2.24.4)
of 2011-10-06 on pellet
next reply other threads:[~2011-10-08 4:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-08 4:31 Eric Abrahamsen [this message]
[not found] <mailman.5576.1318048343.939.help-gnu-emacs@gnu.org>
2011-10-11 4:07 ` ibus-mode under Emacs 24 Stefan Monnier
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8739f4w1c3.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--cc=help-gnu-emacs@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.