aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad
diff options
context:
space:
mode:
authorSpencer Janssen <spencerjanssen@gmail.com>2009-02-04 06:56:26 +0100
committerSpencer Janssen <spencerjanssen@gmail.com>2009-02-04 06:56:26 +0100
commit85f4807f60cb8c92f29387305fc741384fbcd60b (patch)
tree424d699a887012f7aa7f53abaaf56231a9abb891 /XMonad
parent43e952a307c22f7098963061f7f6127974158c13 (diff)
downloadXMonadContrib-85f4807f60cb8c92f29387305fc741384fbcd60b.tar.gz
XMonadContrib-85f4807f60cb8c92f29387305fc741384fbcd60b.tar.xz
XMonadContrib-85f4807f60cb8c92f29387305fc741384fbcd60b.zip
Remove silliness from XMonad.Doc.Configuring
darcs-hash:20090204055626-25a6b-f506742d12b202d44498730debc587e39e95e3a9.gz
Diffstat (limited to 'XMonad')
-rw-r--r--XMonad/Doc/Configuring.hs26
1 files changed, 7 insertions, 19 deletions
diff --git a/XMonad/Doc/Configuring.hs b/XMonad/Doc/Configuring.hs
index 9d682f8..c80219e 100644
--- a/XMonad/Doc/Configuring.hs
+++ b/XMonad/Doc/Configuring.hs
@@ -106,18 +106,14 @@ be found in "XMonad.Core".
#Checking_whether_your_xmonad.hs_is_correct#
After changing your configuration, it is a good idea to check that it
-is syntactically and type correct. You can do this easily by loading
-your configuration file in the Haskell interpreter:
+is syntactically and type correct. You can do this easily by using an xmonad
+flag:
-> $ ghci ~/.xmonad/xmonad.hs
-> GHCi, version 6.8.2: http://www.haskell.org/ghc/ :? for help
-> Loading package base ... linking ... done.
-> Ok, modules loaded: Main.
->
-> Prelude Main> :t main
-> main :: IO ()
+> $ xmonad --recompile
+> $
-Ok, looks good.
+If there is no output, your xmonad.hs has no errors. If there are errors, they
+will be printed to the console. Patch them up and try again.
Note, however, that if you skip this step and try restarting xmonad
with errors in your xmonad.hs, it's not the end of the world; xmonad
@@ -139,15 +135,7 @@ all your windows, layouts, etc. intact. (If you change anything
related to your layouts, you may need to hit @mod-shift-space@ after
restarting to see the changes take effect.) If something goes wrong,
the previous (default) settings will be used. Note this requires that
-GHC and xmonad are in your @$PATH@. If GHC isn't in your path, you can
-still compile @xmonad.hs@ yourself:
-
-> $ cd ~/.xmonad
-> $ /path/to/ghc --make xmonad.hs
-> $ ls
-> xmonad xmonad.hi xmonad.hs xmonad.o
-
-When you hit @mod-q@, this newly compiled xmonad will be used.
+GHC and xmonad are in your @$PATH@.
-}