2004-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* Release version 2.0.

	* .emacs: Remove.

	* haskell-decl-scan.el (haskell-ds-imenu-label-cmp): Undo last
	idiotic change.

	* haskell-doc.el (haskell-doc-sym-doc): Make even the last char bold.

	* haskell-mode.el (haskell-mode-map): Typo.

	* inf-haskell.el (inferior-haskell-mode): Typo.
	(inferior-haskell-wait-for-output): Remove.
	(inferior-haskell-send-command): New function.
	(inferior-haskell-load-file): Use it.

	* index.html:
	* installation-guide.html: Partial fixup.

2004-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	* haskell-mode.el (turn-on-haskell-hugs, turn-on-haskell-ghci):
	Mark them as obsolete.
	(haskell-mode-map): Add bindings for the inferior-haskell commands.

	* inf-haskell.el: New file.

	* haskell-doc.el (haskell-doc-install-keymap): Don't blindly assume
	there's a Hugs menu.

2004-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>

	* haskell-indent.el (turn-on-haskell-indent, turn-off-haskell-indent):
	Use C-c C-foo rather than C-c foo to follow coding conventions.

	* haskell-font-lock.el (haskell-font-lock-symbols-alist): Add . = ○.

2004-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* haskell-indent.el (haskell-indent-indentation-info): Don't use layout
	for paren-closing elements.

2004-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>

	* haskell-indent.el (haskell-indent-indentation-info): Only use
	the new `in' indentation rule if the `let' is on the left of the decl.

2004-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* haskell-indent.el (haskell-indent-find-let): New function.
	(haskell-indent-indentation-info): Use it to indent `in'.

	* haskell-font-lock.el (haskell-default-face): Add missing declaration.

	* haskell-indent.el (haskell-indent-open-structure): Simplify.
	(haskell-indent-contour-line): Work even when `start' is in the middle
	of a line.
	(haskell-indent-layout-indent-info): New fun extracted from
	haskell-indent-indentation-info.
	(haskell-indent-indentation-info): Use it as before.  Use it also to
	handle layout-within-open-structure.

2004-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* haskell-font-lock.el (haskell-font-lock-keywords-create):
	Use explicit `symbol-value' to work around limitations in XEmacs's
	implementation of font-lock.
	(haskell-basic-syntactic-keywords): Fix up char-constants some more.

2004-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>

	* haskell-doc.el (turn-off-haskell-doc-mode)
	(haskell-doc-current-info): Don't autoload.

	* haskell-decl-scan.el (haskell-ds-match-string):
	Use match-string-no-properties if available.
	(haskell-ds-syntax-table): Use haskell-mode-syntax-table.
	(haskell-ds-imenu-label-cmp): Use car-less-than-car if available.
	(haskell-ds-imenu): Remove obsolete incorrect code.

	* haskell-mode.el: Set things up so that mode-hook functions are not
	necessary, and generic functions can be used instead, like
	global-font-lock-mode.
	(haskell-enum-from-to): Remove.
	(turn-on-haskell-font-lock): Make obsolete.
	(haskell-running-xemacs): Remove.
	(haskell-mode-syntax-table): Fiddle with non-ascii chars.
	Fix up comment syntax in XEmacs.
	(haskell-vars): Improve comment-start-skip.
	Add comment-end-skip.  Setup imenu, eldoc, and font-lock.
	Tweak handling of tabs to be on the safe side.
	(haskell-mode-hooks): Declare and mention some useful ideas.
	(literate-haskell-mode): Simplify.
	(haskell-comment-indent): Remove.  The default works as well.

	* haskell-font-lock.el: Remove level 1 fontification.
	(haskell-font-lock-keywords-1, haskell-font-lock-keywords-2)
	(bird-literate-haskell-font-lock-keywords-1)
	(bird-literate-haskell-font-lock-keywords-2)
	(latex-literate-haskell-font-lock-keywords-1)
	(latex-literate-haskell-font-lock-keywords-2): Remove.
	(bird-literate-haskell-font-lock-keywords)
	(latex-literate-haskell-font-lock-keywords): Rename.
	(haskell-font-lock-keywords-create): Remove `level' arg.
	(haskell-fl-syntax): Remove.  Assume the major modes sets it right.
	(haskell-font-lock-choose-keywords)
	(haskell-font-lock-choose-syntactic-keywords): New funs.
	(haskell-font-lock-defaults-create): Use them.
	(turn-off-haskell-font-lock, turn-on-haskell-font-lock): Simplify.

	* haskell-hugs.el (haskell-hugs-mode): Use define-derived-mode.
	(run-hugs): New alias.
	(haskell-hugs-wait-for-output): Don't loop if the process is dead.

	* haskell-font-lock.el (haskell-font-lock-compose-symbol): New fun.
	(haskell-font-lock-symbols-keywords): Use it.
	(haskell-string-char-face): Remove.
	(haskell-font-lock-keywords-create): Hardcode font-lock-string-face.
	(haskell-fl-syntax): Fix typos.  Keep " as a string delimiter.

2004-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	* haskell-doc.el (haskell-doc): New group.
	(haskell-doc-show-reserved, haskell-doc-show-prelude)
	(haskell-doc-show-strategy, haskell-doc-show-user-defined)
	(haskell-doc-chop-off-context, haskell-doc-chop-off-fctname):
	Make them custom vars.
	(haskell-doc-keymap): Declare and fill it right there.
	(haskell-doc-mode): Simplify.
	(haskell-doc-toggle-var): Make it into what it was supposed to be.
	(haskell-doc-mode-print-current-symbol-info): Simplify.
	(haskell-doc-current-info): New autoloaded function.
	(haskell-doc-sym-doc): New fun extracted from haskell-doc-show-type.
	(haskell-doc-show-type): Use it.
	(haskell-doc-wrapped-type-p): Remove unused var `lim'.
	(haskell-doc-forward-sexp-safe, haskell-doc-current-symbol):
	Remove.  Unused.
	(haskell-doc-visit-home): Don't require ange-ftp, it's autoloaded.
	(haskell-doc-install-keymap): Simplify.

	* haskell-decl-scan.el (literate-haskell-ds-create-imenu-index)
	(haskell-ds-generic-create-imenu-index): Remove.
	(haskell-ds-bird-p): New function.
	(haskell-ds-backward-decl, haskell-ds-forward-decl): Use it.
	(haskell-ds-create-imenu-index): Use it to make it generic.
	(haskell-ds-imenu): Remove now-unused arg.
	(turn-on-haskell-decl-scan): Fix up call to haskell-ds-imenu.
	(haskell-ds-running-xemacs): Remove.
	(haskell-ds-func-menu-next): Make generic.
	(literate-haskell-ds-func-menu-next): Delete.
	(haskell-ds-func-menu): Remove unused arg.
	(turn-on-haskell-decl-scan): Simplify.

	* haskell-indent.el: Don't load CL at runtime.
	(haskell-indent-start-of-def, haskell-indent-type-at-point):
	Don't hardcode point-min == 1.
	(indent-info): Declare it.
	(haskell-indent-empty, haskell-indent-ident, haskell-indent-other)
	(haskell-indent-line-indentation): Use `string'.
	(haskell-indent-valdef-indentation): Fix `case' arms syntax.
	(haskell-indent-indentation-info): Remove unused var `pt'.
	(haskell-indent-align-def): Remove unused var `defpos'.
	(turn-on-haskell-indent): Don't bind TAB.
	(turn-off-haskell-indent): Don't unbind TAB and DEL.
	(hugs-syntax-table): Use the `n' for nested comments.
	(haskell-stand-alone-indent-mode): Fix `comment-end'.

;; Local Variables:
;; coding: utf-8
;; End:
