2010/7/2 Svein Ove Aas <[email protected]>: > On Fri, Jul 2, 2010 at 3:23 PM, Deniz Dogan <[email protected]> wrote: >> Why do you want to rewrite the indenter in Haskell? If haskell-mode >> has any external dependencies such as that one, it will most likely >> never make it into Emacs. >> > In no particular order: > > - For any given line, there are typically several possible > indentations. We can cycle between these, but it's better to minimize > them. > > - I want the parser to be as accurate as possible. This essentially > means reimplementing haskell-src-exts, unless I *use* > haskell-src-exts. > > - In many cases, the legal indentations depend on the types of the > expressions involved. This can be figured out, but requires part of > the code to be running in GHC *anyway*. > > - Elisp is a lousy language compared to haskell, and I don't really > care about getting haskell-mode into the emacs distribution. It makes > more sense to bundle it with GHC, if it has to be bundled. > > - Most of haskell-mode will work without this helper program, > including the three other indentation modes. >
Why not make ALL of haskell-mode work without the helper program? You could ship this helper program along with the Lisp using this program in an external package. I see no reason to virtually exclude haskell-mode from ever being shippable with Emacs. -- Deniz Dogan _______________________________________________ Haskellmode-emacs mailing list [email protected] http://projects.haskell.org/cgi-bin/mailman/listinfo/haskellmode-emacs
