unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* defining odd keystrokes
@ 2012-01-09 11:18 Eric Abrahamsen
  0 siblings, 0 replies; only message in thread
From: Eric Abrahamsen @ 2012-01-09 11:18 UTC (permalink / raw)
  To: help-gnu-emacs

I think I've finally figured out how to pass certain keystrokes to ibus
(the system-wide input method), but I need a little help in specifying
those keystrokes. Once ibus is toggled and I'm inputting Chinese, I can
switch between two different Chinese input methods using "Alt+Shift_L"
(that's how it's specified in ibus preferences), sort of a xmodmap-type
of specification. Just pressing Shift also toggles into and out of plain
English input while ibus is active.

So I ought to be using `ibus-define-common-key' to tell ibus-mode to
pass those keystrokes directly to the ibus engine: 

(ibus-define-common-key "specify keystroke here" t)

The problem is that both those keystrokes consist solely of modifiers,
and I don't know how to (or if I can) produce a key event that consists
only of modifiers. Is this possibly, or do I have to change my
system-wide ibus keybindings?

Thanks,
Eric

-- 
GNU Emacs 24.0.92.2 (i686-pc-linux-gnu, GTK+ Version 2.24.8)
 of 2012-01-04 on pellet




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-01-09 11:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-09 11:18 defining odd keystrokes Eric Abrahamsen

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).