2

had a system crash and my .emacs got lost. Before the crash, haskell-mode auto completed function names when pressing tab button on a new line. Unfortunately I'm unable to reproduce this behaviour in my new .emacs.

Any one got a clue on how to enable this behaviour?

capitrane
  • 487
  • 6
  • 20
  • 1
    This is a feature of one of the Haskell indentation modes. They have confusingly similar names, so I forget which one it is. Try each of them until you find the one you're used to. – Reid Barton Feb 28 '11 at 02:23
  • 1
    Looks related to http://stackoverflow.com/questions/3424697/haskell-autocompletion-in-gnu-emacs, read all the answers there? – vpit3833 Feb 28 '11 at 19:05
  • Shouldn't this solution be posted as an answer? That way the question can be closed. – Alessandro Vermeulen Apr 29 '11 at 19:29

1 Answers1

4
(load "~/.emacs.d/haskell-mode/haskell-site-file") (add-hook 'haskell-mode-hook 'turn-on-haskell-indent) 

solved my problem

capitrane
  • 487
  • 6
  • 20