3

I very new to emacs and I installed evil-mode and haskell-mode.

The problem that I have is that every time I press 'o' an haskell-mode-hook window pops up and tells me that the variable is nil and I should configure it.

It only appears when I didn't specify an indention mode, but all those indention modes are super strange and I don't want them to be active.

Is there a way that I can prevent those 'pop ups'?

Maik Klein
  • 15,548
  • 27
  • 101
  • 197
  • 1
    Be more specific. It's likely that someone will then be able to help you prevent the indentation messages you are seeing. Just what is it that you do? Just what are the messages? Etc. – Drew Nov 04 '13 at 20:51

1 Answers1

2

IIUC, this is a misfeature of the new Haskell-mode. You should contact the maintainers about it.

The back story is that Haskell-mode accumulated over the years many new features that were added to haskell-mode-hook by default, which was a bad idea. So, the new maintainer is apparently trying to fix the problem by setting haskell-mode-hook to nil by default (as god intended) but then remind users that this is probably not what they want, since most users will want to use some haskell indentation package (they may not be 100% ideal all the time, because they can't read your mind, but at least the haskell-simple-indent should be sufficiently simple not to feel "super strange").

Stefan
  • 27,908
  • 4
  • 53
  • 82
  • If I use the simple indention mode and I press 'o' (evil-mode) or return in insert mode, it always indents 4 spaces which is kinda annoying :( – Maik Klein Nov 06 '13 at 01:07