
2009/10/12 Justin Bogner
Adam Vogt
writes: For reference, I've added to contrib the module XMonad.Util.Replace, which seems to work as well as these core patches, other than the lack of command line flag support (the xmonad binary does not pass flags other than --resume to the ~/.xmonad/xmonad-$arch-$os).
Any suggestions for addressing that problem (or the alternative of running `~/.xmonad/xmonad-$arch-$os --replace' instead of /usr/bin/xmonad)
I've thought for quite a while that it would be convenient for xmonad to pass any unknown flags on to ~/.xmonad/xmonad-$arch-$os, as that would allow for a lot of nice flexibility.
The disadvantage, of course, is that unimplemented flags would probably just be ignored, adding a whole new dimension of user errors.
What does everyone else think?
Let it pass ignored, and then create a contrib module that complains if it doesn't have any handlers for a particular option flag. Then encourage people to use it, just like certain modules are highly encourage like EWMH for desktop environments. Just my 0.02 EUR. -Yaakov Nemoy