hi,
i've been using stumpwm for a while now, and while i really like it there's one thing that's been bugging me since day one: windows are by default numbered from 0, which makes the shortcuts to switch between windows a bit unintuitive since 0 is right of 9 on the keyboard. anyways, i finally decided to do something about it and started digging around in the source code. after finding *window-number-map* and changing it to start with 1 i thought everything was going to be peachy, but it turns out that while the windows are properly numbered in the window list the keyboard shortcuts to switch between them are still 0-based. the attached patch should make sure that the values from *window-number-map* are used also from select-window-by-number. since i haven't really ever written anything in common-lisp the fix is not super elegant, so feel free to adopt it as necessary.
thanks for an awesome window manager, you guys rock :)
/ mrgnu