cvs commit: fptools/CONTRIB/haskell-modes/emacs haskell-indent.el

[email protected]
Newsgroups gmane.comp.lang.haskell.cvs.fptools
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.