[Xmonad] Infelicitous name choice in XPrompt.hs clashes with Config.hs

Spencer Janssen sjanssen at cse.unl.edu
Thu Sep 20 16:43:02 EDT 2007


On Tuesday 18 September 2007 11:37:11 Gwern Branwen wrote:
> So I ran into a name-conflict with XPrompt.hs. The issue basically is that
> a function borderWidth is already defined in Config.hs. Thus, if one
> attempted to use a prompt configuration different than defaultXPConfig, and
> one defined it in one's Config.hs where it should be, then the borderWidth
> field would cause a warning by -Wall, since borderWidth is already a name
> being used by XMonad at large.
>
> --
> gwern
> RUOP sh Al-Qaeda DOE SecDef owhere Gorelick military HoHoCon Stanley

There were some concerns about this name change.  I've decided to apply this
patch for now, because the conflict with borderWidth is more serious.  We can
always change the name later.


Cheers,
Spencer Janssen



More information about the Xmonad mailing list