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

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

ibus-mode under Emacs 24


From: Eric Abrahamsen
Subject: ibus-mode under Emacs 24
Date: Sat, 08 Oct 2011 12:31:56 +0800
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux)

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




reply via email to

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