On Wed, Dec 24, 2014 at 12:25 PM, jenia.ivlev <jenia.ivlev@gmail.com> wrote:
That's my error message. (I don't understand why I get undisplayable
characters, like that "a" with the hat).

That looks like Unicode vs. iso8859 confusion. It was trying to print "smart quotes".
 
    Error detected while loading xmonad configuration file: /home/jenia-xmonad/.xmonad/xmonad.hs
    xmonad.hs:8:45: parse error on input â=â
    Please check the file for errors.

The line indicated appears to be

        kb = XConfig {XMonad.modMask = modMask} = (modMask, xK_b)

which is in fact incorrect. I suspect it was supposed to be

        kb XConfig {XMonad.modMask = modMask} = (modMask, xK_b)

which uses record syntax in a pattern to unpack modMask from an XConfig parameter. You might find it less confusing with parentheses:

        kb (XConfig {XMonad.modMask = modMask}) = (modMask, xK_b)

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net