all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: ibus-mode under Emacs 24
Date: Tue, 11 Oct 2011 00:07:55 -0400	[thread overview]
Message-ID: <jwvk48c18i5.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: mailman.5576.1318048343.939.help-gnu-emacs@gnu.org

> 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?

When you encounter such problems in unreleased software, please report
it to the developers so they get a chance to fix it before the release.

I.e. do M-x report-emacs-bug RET.

> Anyway, any light that could be shed on this would be received
> gratefully.

You can use #x2000000 instead of ?\x2000000 to work around the problem
until it gets solved.


        Stefan


       reply	other threads:[~2011-10-11  4:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.5576.1318048343.939.help-gnu-emacs@gnu.org>
2011-10-11  4:07 ` Stefan Monnier [this message]
2011-10-08  4:31 ibus-mode under Emacs 24 Eric Abrahamsen

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=jwvk48c18i5.fsf-monnier+gnu.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --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.