After adding the keyword 'default' to the "level4" map in symbols/nbsp, and then specifying setxkbmap "us+nbsp", xkbcomp still just takes the first-defined map, the simple-space thing; only when doing setxkbmap "us+nbsp(level4)" do I get the level4 thing.
This is both with a four-year old xkbcomp (from Ubuntu 10.04, that doesn't even know -version yet) and with xkbcomp 1.2.4 from git.
Created attachment 86893 [details] [review]
Here's a patch to fix this. I'd like to see this in, but since the behavior has always been to just take the first map, this might suddenly change keymaps which inadvertently relied on the broken behavior.
Sergey, as maintainer of xkeyboard-config I think you should decide :)
Confirming that the patch has the intended and desired effect here.
As far as I can tell, applying the patch would only affect the behaviour of specifying a bare "keypad" component -- until now it would select the "overlay" map, after application of the patch it will select the "x11" one. All other files have the default map as the first one, or do not specify a default at all.
(I've not looked at the files in the *_vndr/ subdirectories, though, but I think they hardly matter.)
> Sergey, as maintainer of xkeyboard-config I think you should decide :)
Please do it. If there are complains - I will deal with it in xk-c. Or people will have to fix their configs. That is really a bug.
Created attachment 120838 [details] [review]
Ran's patch with Tested-by and Acked-by tags added