Description of problem: Auto-indent is broken in Haskell-mode. Version-Release number of selected component (if applicable): xemacs-sumo-20060510-2.fc5 How reproducible: Haven't found any cases where it does work. Steps to Reproduce: 1. Install xemacs, xemacs-sumo, and the rest of the xemacs-* packages. 2. move ~/.xemacs and ~/.emacs out of the way 3. start up "xemacs foo.hs" 4. type "data Tree = Node Tree Tree", then newline 5. hit the tab (or control i) Actual results: Error message is "Symbol's function definition is void: line-end-position" Expected results: should alternate between reasonable tab stop with the pressing of tab. Additional info: was working fine until the most recent xemacs-sumo package
Ah, yes, XEmacs 21.4.x does not have line-end-position or line-beginning-position.
Created attachment 129692 [details] Possibly corrected haskell-indent.el Here's a possibly corrected haskell-indent.el. Until a fixed xemacs-sumo (or xemacs 21.4.x) package is installed, you could try creating the ~/.xemacs/xemacs-packages/lisp/haskell-mode directory and installing this file and the haskell-simple-indent.el I'll attach in a jiffy to it.
Created attachment 129694 [details] Possibly corrected haskell-simple-indent.el
Fixed in 20060510-2.fc5.1