can't active fcitx from emacs-snapshot-gtk

Bug #83661 reported by LI Daobing
4
Affects Status Importance Assigned to Milestone
emacs-snapshot (Ubuntu)
Invalid
Undecided
Unassigned
emacs21 (Ubuntu)
Invalid
Undecided
Unassigned
fcitx (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: emacs-snapshot

Hello,

when I use emacs-snapshot-gtk in gnome, I want to use fcitx to input Chinese, but when I press Ctrl+Space to active fcitx, emacs-snapshot-gtk block it and run 'set-mark-command' in emacs.

fcitx runs properly on other program, for example gvim, gnome-terminal, etc.
I can reproduce this bug when run emacs with '-q' or '-q -no-site-file' args
my locale is zh_CN.UTF-8.

Revision history for this message
LI Daobing (lidaobing) wrote :

emacs21 also has this bug

Micah Cowan (micahcowan)
Changed in fcitx:
status: Unconfirmed → Rejected
Revision history for this message
Micah Cowan (micahcowan) wrote :

Thank you for your report.

Ctrl+Space has been established as set-mark-command; most serious Emacs users would be upset to lose that combination.

X Input Managers such as fcitx and SCIM only work with applications that have been specifically written to use an Input Manager. AFAICT, Emacs is not one of these, and probably won't be.

However, Emacs does have it's own built-in input management system, which it has had for several years. For instance, you can type (I know it's ugly): C-x RET C-\, and it will prompt you to name an input method to use. Type "chinese" and hit tab, and you will be presented with a variety of IMs to choose from. Once you've chosen one, type M-x describe-mode, and it will give you instructions on how to use the current IM. Please see http://www.gnu.org/software/emacs/manual/emacs.html#Input-Methods for detailed information.

Using the chinese-py method, I can type: woaini, and emacs gives me 我爱你.

I'm sorry if you'd prefer to use the X Input Method you're accustomed to. However, this falls into the realm more of a feature request than an actual bug, and as such, and since it's not trivial (so doesn't qualify for Wishlist), I need to close this bug. If you are really, /really/ motivated, you could write a feature specification (see https://wiki.ubuntu.com/FeatureSpecifications) to get the ball rolling for such support; adding support for it could be cumbersome, though, especially given all the various Control-foo combinations that Emacs uses.

Changed in emacs21:
status: Unconfirmed → Rejected
Changed in emacs-snapshot:
status: Unconfirmed → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.