| I don't expect most people to see the warnings - most GHC devs will
| hopefully just set their editors to produce spaces to head off the
| problem :-).

Not so easy.  Simon gave me emacs goop that expanded lines I'd edited (but not 
others).  But it totally messed up 'undo', so I took it out again.

For newly typed input I'm not sure how to tell Emacs that when I type "TAB" 
please insert an appropriate number of spaces. If we're going to adopt the new 
plan, can we have a brief wiki page giving instructions on how to set up a 
couple of common editors appropriately?

| Furthermore, the hook's error message shows exactly the
| files at fault, so to fix it you can just do something approximately
| like:
| 
|   for file in $(cat files-from-error); do; expand $file > /tmp/$file;
| cp /tmp/$file $file; done

If it's that easy, just do the lot in one big bang!

simon

_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to