monnier 2005/01/26 11:23:10 PST
Modified files:
CONTRIB/haskell-modes/emacs haskell-indent.el
Log:
(haskell-indent-inside-comment): Don't assume column(pos+2) = column(pos)+2.
(haskell-indent-indentation-info): Fix indentation of , and ;.
Add arg `start'. Restrict choice of indentation for comments.
(haskell-indent-event-type): Remove.
(haskell-indent-last-info): New var.
(haskell-indent-cycle): Use it to store info from one invocation to
the next, so we can do cycling outside of the function.
Don't cycle directly any more. Instead, recognize repeated invocations
via last-command and friends.
Use indent-line-function rather than hardcoding indent-to-left-margin.
(haskell-indent-insert-where): Don't save excursion.
(haskell-indent-layout-indent-info): Minor simplifications.
(haskell-indent-line-indentation): Don't ignore code on a line before a
string.
Revision Changes Path
1.12 +146 -132 fptools/CONTRIB/haskell-modes/emacs/haskell-indent.el
_______________________________________________
Cvs-fptools mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-fptools