Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get compose key work in Emacs?

Tags:

emacs

I am using Debian testing (wheezy) with emacs23. I mapped compose key to the right Windows key (Multi_key). The compose key works in shell, but not in emacs. How do I tell emacs to honor it?

like image 337
Boris Stitnicky Avatar asked Apr 12 '12 09:04

Boris Stitnicky


2 Answers

I'm addicted to the compose key and am using Debian while developping Emacs, so if the compose key doesn't work in your case, it's a weird bug. Please report it via M-x report-emacs-bug, providing as much detail as you can so we can try and reproduce it.

like image 133
Stefan Avatar answered Nov 05 '22 16:11

Stefan


Based on my email, Stefan divined, that I lacked 'include "%L"' line in my custom ~/.XCompose file:

IOW my crystal ball tells me that your .XCompose file is lacking a `include "%L"' so it overrides the default rather than extends it. And you don't notice it in Iceweasel because you haven't set the envvar GTK_IM_MODULE=xim, so those apps don't actually use your .XCompose file anyway.

Adding include "%L" to my ~/.XCompose solved the problem. (I actually went to install Kragen's famous .XCompose file instead of my home made one.)

like image 37
Boris Stitnicky Avatar answered Nov 05 '22 18:11

Boris Stitnicky