<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 19, 2015 at 12:17 PM, Josiah Schwab <span dir="ltr"><<a href="mailto:jschwab@gmail.com" target="_blank">jschwab@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id=":ve" class="" style="overflow:hidden">I based my config from the example (man/xmonad.hs) that ships with<br>
xmonad-0.11 on Arch Linux.  Is an example of a bad config?  With my<br>
limited understanding, it seems like it matches your description.<br></div></blockquote></div><br>It hasd a limpid comment at the top that contains its real danger; I keep trying to get a much stronger warning added, but despite repeated requests that one is still there and still does not have a proper warning.</div><div class="gmail_extra"><br></div><div class="gmail_extra">It is an example of how to override every setting. It does so by overriding every setting, with the defaults for one particular version of xmonad; this means you do not inherit any defaults, and if the defaults change in a later version then you will not see those changes (this bit a lot of people when dmenu changed its usage and we updated the mod-p binding, but people using that "example" didn't get the change because the old way was hardcoded in their configs. That was what convinced me that that example was Evil). If we were to change the implementation in certain ways, or if you use an example from a later version with an earlier version (someone popped up on IRC with that problem the other day), it wouldn't even compile.</div><div class="gmail_extra"><br></div><div class="gmail_extra">The correct place to start is shown on the xmonad wiki:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><a href="https://wiki.haskell.org/Xmonad/Config_archive/Template_xmonad.hs_(darcs)">https://wiki.haskell.org/Xmonad/Config_archive/Template_xmonad.hs_(darcs)</a></div><div class="gmail_extra"><br></div><div class="gmail_extra">(which is actually valid for 0.10 and later).</div><div class="gmail_extra"><br></div><div class="gmail_extra">If you want to truly start "from scratch", <a href="https://wiki.haskell.org/Xmonad/Config_archive/John_Goerzen%27s_Configuration">https://wiki.haskell.org/Xmonad/Config_archive/John_Goerzen%27s_Configuration</a> is a little dated but still valid.</div><div class="gmail_extra"><br></div><div class="gmail_extra">(I'm still working my way through trying to get the wiki up to date. Nobody else seems interested in doing so, sigh.)<br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>