[comp.windows.x] Translation Problem

me@dude.pcs.com (Michael Elbel) (06/08/90)

I have the following translation table:

     foo.Translations: \n\
     <Key>Meta_L,<Key>a,<Key>b: special-action()\n\
     <Key>:                     default-action()

I'd expect the default-action to trigger every time I hit a key
except for the sequence 'Meta_L, a, b', where the special-action should
be called.

However, the default-action does not get called when I hit 'a' or 'b'
without a leading 'Meta_L'. I have to change the translation table to:

     foo.Translations: \n\
     <Key>Meta_L,<Key>a,<Key>b: special-action()\n\
     <Key>a:                    default-action()\n\
     <Key>b:                    default-action()\n\
     <Key>:                     default-action()

to get the desired result.

Is this a problem or am I misinterpreting the Intrinsics document if I 
expect to have the less specific translation called on events that are
subparts of the more specific one?

Michael
--
Michael (X) Elbel 	|  No, I haven't lost my mind, I just
 me@dude.PCS.COM 	|  forgot it in the rush this morning