Emacs21 not receiving danish chars for input

Alf-Ivar Holm alfh at student.matnat.uio.no
Wed Apr 19 14:31:55 UTC 2006


Ian Zerny <ian at zerny.dk> writes:

> I am experiencing a problem with emacs21 after dist-upgrading from
> breezy to dapper.  My emacs buffers will no longer respond to key
> presses on the danish chars æ,ø and å. All other applications work
> as expected and xev shows the correct key event information.
> `view-lossage' in emacs does not show any response to the key events
> ether.

And there is no way to get "C-h c" with a repeated use of æ/ø/å to get
any output?

> I am using a custom xmodmap but the problem is reproducible
> with /usr/share/xmodmap/xmodmap.dk

Strange.

> $ uname -a
> Linux zubuntu 2.6.15-19-686 #1 SMP PREEMPT Mon Mar 20 17:33:20 UTC 2006
> i686 GNU/Linux

There is a 2.6.15-20 out now, but I had no problem with -19 either.
(Hmmm, there I noticed that I hadn't upgraded to the 686-kernel, but I
when did the 386 kernel manage to use 1GB of memory - earlier the
limit was 900MB!?)

> $ xev
> KeyPress event, serial 27, synthetic NO, window 0x3e00001,
>     root 0x4c, subw 0x0, time 2123671156, (-168,-237), root:(934,598),
>     state 0x2000, keycode 47 (keysym 0xe6, ae), same_screen YES,
>     XLookupString gives 0 bytes:
                          
On a Norwegian keyboard I get:

KeyPress event, serial 29, synthetic NO, window 0x2400001,
    root 0x4c, subw 0x0, time 2995185945, (84,-13), root:(92,35),
    state 0x10, keycode 48 (keysym 0xe6, ae), same_screen YES,
    XLookupString gives 2 bytes: (c3 a6) "æ"
    XmbLookupString gives 2 bytes: (c3 a6) "æ"
    XFilterEvent returns: False

Notice the difference in the results for XLookupString and friends.

Just out of curiosity, what is the output of the following?

     xmodmap -pk|egrep '\<(ae|oslash|oe)\>'

Mine is:

     32         0x006f (o)      0x004f (O)      0x13bd (oe)     0x13bc (OE)     0x13bd (oe)     0x13bc (OE)
     47         0x00f8 (oslash) 0x00d8 (Oslash) 0xfe51 (dead_acute)     0xfe59 (dead_doubleacute)       0xfe51 (dead_acute)     0xfe59 (dead_doubleacute)
     48         0x00e6 (ae)     0x00c6 (AE)     0xfe52 (dead_circumflex)        0xfe5a (dead_caron)     0xfe52 (dead_circumflex)        0xfe5a (dead_caron)

The modifier map might also be nice to have, ie. "xmodmap -pm".

	Affi




More information about the ubuntu-users mailing list