dead keys don't work

Bug #261941 reported by Pauli Virtanen
2
Affects Status Importance Assigned to Milestone
emacs22 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: emacs22

Dead keys appear not to work in emacs22, at least when using a Finnish keyboard layout.

This is in current Ubuntu Intrepid (but IIRC was also present in Hardy).

To reproduce: Activate Finnish keyboard layout (or some keyboard layout that has dead keys such as USA International), and press a dead key combination (eg. AltGr+~ or similar). In other programs you can type another key after this, to produce ~ or ñ. In emacs22 only message "<dead-tilde> is undefined" appears in the minibuffer. Same with a fresh guest account.

A workaround is noted here: http://groups.google.co.uk/group/gnu.emacs.help/browse_thread/thread/d5b1ab43f0ec5203
Basically, (load-library "iso-transl") fixes this. I think dead keys should simply work out-of-the-box in Ubuntu, so could this stanza please be added in the default Emacs startup scripts (assuming it has no adverse effects)?

Package versions:

emacs22 22.2-0ubuntu1

xev reports the following to occur when a dead key is pressed:

KeyPress event, serial 34, synthetic NO, window 0x1e00001,
    root 0x1a6, subw 0x0, time 28180805, (953,693), root:(959,742),
    state 0x80, keycode 35 (keysym 0xfe53, dead_tilde), same_screen YES,
    XLookupString gives 1 bytes: (7e) "~"
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: True

Revision history for this message
Øyvind Stegard (oyvindstegard) wrote :

Dead keys don't work for me in Emacs23, Ubuntu Lucid, Norwegian keyboard layout. Worked fine before (on Ubuntu <= Karmic).

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.