
On Friday 22 March 2002 16:31, you wrote:
Jorge Adriano
writes: Tried using Andrew Cookes haskell.sty and liked it a lot, but seems like the (X)emacs haskell mode doesn't support the \begin{code} \end{code} literate programming style, just the one where code is preceded by '> '.
Anyone has got an hack available for this?
According to my haskell-mode.el: (...)
So you probably want to change this as per the instructions.
Seems like it was not a .emacs (in fact .init.el here) problem. I just noticed that if you got to add a line break *right after* the \begin{code} and right after the \end{code} If you add a space after the '{code}' it will not toggle comment/code modes. Where should I report this bug? Since I'm on haskell-mode bugs, when typing "undefined" in xemacs I get "(1) (error/warning) Error in `post-command-hook' (setting hook to nil): (wrong-type-argument listp a )" Thanks, J.A.