This patch addes the following commands to WindowGo.

raiseMaster, raiseAndDo, runOrRaiseMaster, runOrRaiseAndDo

I wanted to have the Window raised to the master window after after being found, so I created raiseMaster, and runOrRaiseMaster. I then created more generic versions called raiseAndDo, and runOrRaiseAndDo, so that other things could be done to the raised window.

examples:

  , ((mod4Mask,      xK_m), raiseMaster (runInTerm "-title mutt"  "zsh -c 'mutt -f=Inbox'") (title =? "mutt"))

  , ((mod4Mask,      xK_b), runOrRaiseMaster "iceweasel" (className =? "Iceweasel"))

I spoke to Brent Yorgey on #xmonad about this.