ChangeLog
1 2007-02-14 Stefan Monnier <monnier@iro.umontreal.ca> 2 3 * haskell-cabal.el: New file. 4 5 * haskell-indent.el (haskell-indent-look-past-empty-line): Typo. 6 7 * inf-haskell.el (with-selected-window): Define while compiling. 8 9 2007-02-10 Stefan Monnier <monnier@iro.umontreal.ca> 10 11 * haskell-font-lock.el (haskell-font-lock-keywords-create): 12 Remove qualified and hiding from the reserved identifiers. 13 Add a special rule for import statements. 14 15 * haskell-doc.el (haskell-doc-get-current-word): Remove. 16 Change all refs to it, to use haskell-ident-at-point instead. 17 18 * inf-haskell.el (inferior-haskell-info-xref-re): New cst. 19 (inferior-haskell-error-regexp-alist): Use it to highlight xref info. 20 (inferior-haskell-type, inferior-haskell-info) 21 (inferior-haskell-find-definition): New funs. 22 Contributed by Matthew Danish <mrd@cs.cmu.edu>. 23 24 * haskell-mode.el (haskell-ident-at-point): New fun. 25 Copy of haskell-doc-get-current-word. 26 (haskell-mode-map): Add bindings for inferior-haskell-(type|info|find). 27 28 2007-02-09 Stefan Monnier <monnier@iro.umontreal.ca> 29 30 * haskell-indent.el (haskell-indent-back-to-indentation): Simplify. 31 (haskell-indent-look-past-empty-line): New var. 32 (haskell-indent-start-of-def): Use it. 33 34 * fontlock.hs: Add test case. 35 36 * haskell-font-lock.el (haskell-font-lock-version): Remove. 37 38 * haskell-doc.el (haskell-doc-version): Remove. 39 (haskell-doc-get-current-word): Correctly distinguish 40 variable identifiers and infix identifiers. 41 (haskell-doc-rescan-files): Avoid switch-to-buffer. 42 (haskell-doc-imported-list): Operate on current buffer. 43 (haskell-doc-make-global-fct-index): Adjust call. 44 45 2006-11-20 Stefan Monnier <monnier@iro.umontreal.ca> 46 47 * haskell-doc.el (haskell-doc-mode-print-current-symbol-info): 48 Fix thinko. 49 50 2006-10-19 Stefan Monnier <monnier@iro.umontreal.ca> 51 52 * inf-haskell.el (inferior-haskell-load-file): Simplify and make more 53 robust at the same time. 54 55 * haskell-doc.el: Drop p-c-idle-h in favor of run-with-idle-timer. 56 (haskell-doc-timer, haskell-doc-buffers): New vars. 57 (haskell-doc-mode): Use them. 58 (haskell-doc-check-active): Update the check. 59 (haskell-doc-mode-print-current-symbol-info): Don't sit-for unless it's 60 really needed. Remove the interactive spec. 61 62 2006-09-25 Stefan Monnier <monnier@iro.umontreal.ca> 63 64 * haskell-mode.el (haskell-mode-menu): Fix typo. 65 66 2006-09-20 Stefan Monnier <monnier@iro.umontreal.ca> 67 68 * haskell-font-lock.el (haskell-font-lock-keywords-create): Use a more 69 precise test for literate haskell highlighting. 70 71 * haskell-mode.el (haskell-mode-menu): New menu. 72 (haskell-mode): Use new name `eldoc-documentation-function'. 73 74 2006-05-18 Stefan Monnier <monnier@iro.umontreal.ca> 75 76 * inf-haskell.el (inferior-haskell-wait-for-prompt): New fun, extracted 77 from inferior-haskell-send-command. 78 (inferior-haskell-send-command): Use it. 79 (inferior-haskell-wait-and-jump): New custom var. 80 (inferior-haskell-load-file): Use it. 81 82 2006-05-17 Stefan Monnier <monnier@iro.umontreal.ca> 83 84 * inf-haskell.el (inferior-haskell-mode): Use shell-dirtrack-mode 85 if possible. 86 87 * haskell-hugs.el (haskell-hugs-start-process): 88 * haskell-ghci.el (haskell-ghci-start-process): 89 Use comint-input-filter-functions rather than the outdated 90 comint-input-sentinel. Reported by Jerry James <james@xemacs.org>. 91 92 2005-12-09 Stefan Monnier <monnier@iro.umontreal.ca> 93 94 * indent.hs: Add some erroneous cases. 95 96 * haskell-font-lock.el (haskell-font-lock-keywords-create): 97 Minor regexp fiddling. 98 99 2005-11-23 Stefan Monnier <monnier@iro.umontreal.ca> 100 101 * haskell-indent.el (haskell-indent-next-symbol): Simplify. 102 (haskell-indent-comment): Rename from haskell-indent-inside-comment. 103 (haskell-indent-skip-lexeme-forward) 104 (haskell-indent-offset-after-info, haskell-indent-hanging-p): New funs. 105 (haskell-indent-inhibit-after-offset, haskell-indent-dont-hang): 106 New variables. 107 (haskell-indent-closing-keyword, haskell-indent-after-keyword-column) 108 (haskell-indent-inside-paren): New functions, extracted 109 from haskell-indent-indentation-info. Use the above new functions. 110 (haskell-indent-indentation-info): Use them. 111 (haskell-indent-after-keywords): Add data for ( and {. 112 113 * haskell-font-lock.el (haskell-font-lock-keywords-create): `as' is not 114 a reserved keyword, apparently, and is used as var name. 115 116 2005-11-21 Stefan Monnier <monnier@iro.umontreal.ca> 117 118 * haskell-*.el (turn-(on|off)-*): Make non-interactive. 119 120 * haskell-decl-scan.el (haskell-decl-scan-mode): New minor mode. 121 (turn-on-haskell-decl-scan): Use it. 122 123 * haskell-doc.el (haskell-doc-extract-types): Get labelled data working. 124 (haskell-doc-prelude-types): Update via auto-generation. 125 126 * haskell-doc.el (haskell-doc-extract-types): Get it partly working. 127 (haskell-doc-fetch-lib-urls): Don't use a literal if we apply 128 `nreverse' on it later on. 129 (haskell-doc-prelude-types): Update some parts by auto-generation. 130 (haskell-doc-grab, haskell-doc-string-nub-ws): Simplify. 131 132 * haskell-doc.el (haskell-doc-maintainer, haskell-doc-varlist) 133 (haskell-doc-submit-bug-report, haskell-doc-ftp-site) 134 (haskell-doc-visit-home): Remove. 135 (haskell-doc-reserved-ids, haskell-doc-fetch-lib-urls) 136 (haskell-doc-extract-and-insert-types): New funs. 137 (haskell-doc-reserved-ids): Fix type of `map'. 138 139 2005-11-20 Stefan Monnier <monnier@iro.umontreal.ca> 140 141 * inf-haskell.el (inferior-haskell-load-file): Fix the 142 compilation-parsing-end fiddling so it doesn't get moved inadvertently. 143 144 * haskell-font-lock.el (haskell-font-lock-symbols-alist): Some XEmacs 145 versions define make-char but not charsetp. 146 (haskell-font-lock-symbols-keywords): Add a `keep' arg so 147 de-highlighting in strings works correctly even in Emacs-21. 148 149 * haskell-doc.el: Add coding cookie. 150 151 2005-11-14 Stefan Monnier <monnier@iro.umontreal.ca> 152 153 * haskell-decl-scan.el (haskell-ds-get-variable): Massage. 154 (haskell-ds-move-to-decl, haskell-ds-generic-find-next-decl): 155 Use with-syntax-table. 156 157 2005-11-14 Dave Love <fx@gnu.org> 158 159 * haskell-decl-scan.el: Docstring fixes. 160 (haskell-ds-keys): Delete. 161 (turn-on-haskell-decl-scan): Inline it here. 162 Use beginning-of-defun-function if available. 163 164 * haskell-font-lock.el (haskell-font-lock-keywords-create): Add pattern 165 for numbers and strings for arguments to toplevel declarations. 166 167 2005-11-14 Stefan Monnier <monnier@iro.umontreal.ca> 168 169 * inf-haskell.el (inferior-haskell-error-regexp-alist): Fix GHCi 170 regexp, add support for warnings. 171 172 2005-11-11 Stefan Monnier <monnier@iro.umontreal.ca> 173 174 * Makefile (dist): Remove profile file and avoid ztar. 175 176 * inf-haskell.el (inferior-haskell-command): Provide a default. 177 (with-selected-window): Define if necessary. 178 (inferior-haskell-load-file): Display the buffer. 179 180 * haskell-indent.el (haskell-indent-indentation-info): Typo. 181 182 * haskell-ghci.el (haskell-ghci-mode): Use define-derived-mode. 183 184 2005-11-07 Stefan Monnier <monnier@iro.umontreal.ca> 185 186 * Release version 2.1. 187 188 * haskell-indent.el (haskell-indent-inside-comment): Rename `start' arg 189 into `open' and add a new `start' arg. 190 (haskell-indent-after-keywords): Change defaults for `in'. 191 (haskell-indent-indentation-info): Fix confusion between pos and col. 192 (haskell-indent-mode): Autoload. 193 194 * haskell-indent.el (haskell-indent-find-matching-start): 195 Add `pred' and `start' arguments. 196 (haskell-indent-filter-let-no-in): New fun. 197 (haskell-indent-indentation-info): Use them to correctly match `let's 198 with `in's even when some of the `let's have no matching `in'. 199 200 2005-11-06 Stefan Monnier <monnier@iro.umontreal.ca> 201 202 * haskell-indent.el: Reduce the use of dyn-bound haskell-indent-info. 203 (haskell-indent-push-col): Don't duplicate info. 204 (haskell-indent-line-indentation): Handle let-in-do. Remove dead code. 205 (haskell-indent-inside-comment): Move rest of code from 206 haskell-indent-indentation-info. 207 208 * haskell-indent.el (haskell-literate): Declare. 209 (haskell-running-xemacs, event-basic-type, read-event): Remove. 210 (haskell-indent-get-beg-of-line, haskell-indent-get-end-of-line): 211 Remove. Use line-(beginning|end)-position instead. 212 (haskell-indent-mark-active): Move the xemacs test inside the defun. 213 (haskell-indent-info): Rename from indent-info. Update users. 214 (haskell-indent-bolp, haskell-indent-inside-comment): 215 Use line-beginning-position. 216 (haskell-indent-within-literate-code): Use `case'. 217 (haskell-indent-put-region-in-literate): Bind more comment-* vars. 218 (haskell-indent-virtual-indentation): Add the missing `start' arg. 219 (haskell-indent-mode): Move before first use. 220 (haskell-indent-stand-alone-mode): Use haskell-indent-mode. 221 Rename from haskell-stand-alone-indent-mode. Use define-derived-mode. 222 (hugs-mode-map, hugs-syntax-table): 223 Rename to haskell-stand-alone-indent-mode-(map|syntax-table). 224 225 * haskell-doc.el (haskell-doc-xemacs-p, haskell-doc-emacs-p) 226 (haskell-doc-message): Remove. 227 (haskell-doc-is-id-char-at): Remove. 228 (haskell-doc-get-current-word): Rewrite. 229 230 2005-11-04 Stefan Monnier <monnier@iro.umontreal.ca> 231 232 * haskell-indent.el (haskell-indent-indentation-info): Fix detection of 233 hanging let/if/case statements. 234 235 * haskell-mode.el (haskell-mode): Fix typo. 236 237 2005-11-04 Stefan Monnier <monnier@iro.umontreal.ca> 238 239 * inf-haskell.el (inferior-haskell-mode): Hide compilation bindings. 240 241 * haskell-indent.el (haskell-indent-after-keywords): New var. 242 (haskell-indent-virtual-indentation): New fun. 243 (haskell-indent-indentation-info): Use them to indent after keywords. 244 245 * haskell-simple-indent.el (haskell-simple-indent): Minor simplif. 246 (turn-on-haskell-simple-indent): Don't bind \t and \n. 247 248 * haskell-mode.el (haskell-vars, haskell-mode-generic): Remove. 249 (haskell-mode-hook): Rename from haskell-mode-hooks. 250 (haskell-mode): Use define-derived-mode. Inline haskell-mode-generic 251 and haskell-vars. 252 (literate-haskell-mode): Use define-derived-mode. 253 254 * fontlock.hs: Add some entries for infix declarations. 255 256 2005-10-12 Stefan Monnier <monnier@iro.umontreal.ca> 257 258 * haskell-indent.el (haskell-indent-start-keywords-re): Use regexp-opt. 259 (haskell-indent-type-at-point): Accept ' in identifiers. 260 (haskell-indent-find-case): Tell match-data to not generate markers. 261 (haskell-indent-line-indentation): Ignore off-side keywords in comments 262 and strings. 263 (haskell-indent-find-matching-start): Generalize. 264 Rename from haskell-indent-find-let. 265 (haskell-indent-indentation-info): Use it for of, then, and else. 266 267 2005-09-28 Stefan Monnier <monnier@iro.umontreal.ca> 268 269 * haskell-indent.el (haskell-indent-in-comment): Don't fail at EOB. 270 271 * haskell-font-lock.el (haskell-font-lock-symbols-alist): Add "not". 272 (haskell-font-lock-compose-symbol): Handle alphanum identifiers. 273 Fix incorrect handling of . when used for qualified names. 274 275 2005-09-26 Stefan Monnier <monnier@iro.umontreal.ca> 276 277 * haskell-font-lock.el (haskell-font-lock-symbols-alist): Prefer the 278 unicode version of lambda. Add two symbols from the Omega language and 279 from Paterson's arrow syntax. 280 281 2005-08-24 Steve Chamberlain <sac@pobox.com> (tiny patch) 282 283 * haskell-doc.el (haskell-doc-message): Paren typo. 284 285 2005-08-23 Stefan Monnier <monnier@iro.umontreal.ca> 286 287 * haskell-doc.el (haskell-doc-show-type): Assume that the availability 288 of display-message won't change at runtime. 289 290 * haskell-font-lock.el (haskell-font-lock-keywords-create): Try and 291 work around a bug that seems to be in Emacs-21.3 rather than in 292 haskell-font-lock.el. Reported by Steve Chamberlain <sac@pobox.com>. 293 294 2005-07-18 Stefan Monnier <monnier@iro.umontreal.ca> 295 296 * inf-haskell.el (haskell-program-name): Fix defcustom delcaration. 297 298 * haskell-doc.el (haskell-doc-message): Remove. 299 (haskell-doc-show-type): Inline it. Don't do anything for if there's 300 no doc to show. 301 302 2005-02-02 Stefan Monnier <monnier@iro.umontreal.ca> 303 304 * haskell-hugs.el (haskell-hugs-mode-map): 305 * haskell-ghci.el (haskell-ghci-mode-map): Remove. 306 307 2005-01-26 Stefan Monnier <monnier@iro.umontreal.ca> 308 309 * haskell-indent.el (haskell-indent-inside-comment): Don't assume that 310 column(pos+2) = column(pos)+2. 311 (haskell-indent-indentation-info): Fix indentation of , and ;. 312 Add arg `start'. Restrict choice of indentation for comments. 313 (haskell-indent-event-type): Remove. 314 (haskell-indent-last-info): New var. 315 (haskell-indent-cycle): Use it to store info from one invocation to 316 the next, so we can do cycling outside of the function. 317 Don't cycle directly any more. Instead, recognize repeated invocations 318 via last-command and friends. 319 Use indent-line-function rather than hardcoding indent-to-left-margin. 320 (haskell-indent-insert-where): Don't save excursion. 321 (haskell-indent-layout-indent-info): Minor simplifications. 322 (haskell-indent-line-indentation): Don't ignore code on a line 323 before a string. 324 325 * haskell-hugs.el (haskell-hugs-last-loaded-file): Remove. 326 (haskell-hugs-start-process): Fix misuse of make-variable-buffer-local. 327 (haskell-hugs-go): Quote file name. Simplify. 328 329 * haskell-ghci.el (haskell-ghci-last-loaded-file): Remove. 330 (haskell-ghci-start-process): Fix misuse of make-variable-buffer-local. 331 (haskell-ghci-go): Quote file name. Simplify. 332 333 * haskell-mode.el (haskell-version): Keep it up-to-date. 334 335 * inf-haskell.el (inferior-haskell-load-file): Quote file name. 336 337 2004-12-10 Stefan Monnier <monnier@iro.umontreal.ca> 338 339 * haskell-indent.el (haskell-indent-start-of-def): Only go backward. 340 (haskell-indent-in-string): Simplify. 341 (haskell-indent-in-comment): Simplify. 342 (haskell-indent-comment): Remove. 343 (haskell-indent-inside-comment): New fun. 344 (haskell-indent-indentation-info): Assume we're at the indentation. 345 Handle comments differently. 346 (haskell-indent-cycle): Go to indentation and then save excursion 347 around haskell-indent-indentation-info. 348 349 * haskell-doc.el (haskell-doc-minor-mode-string): Make it dynamic. 350 (haskell-doc-install-keymap): Remove conflicting C-c C-o binding. 351 (haskell-doc-mode): Make a nil arg turn the mode ON. 352 (turn-on-haskell-doc-mode): Make it an alias for haskell-doc-mode. 353 (haskell-doc-mode): Don't touch haskell-doc-minor-mode-string. 354 (haskell-doc-show-global-types): Don't touch 355 haskell-doc-minor-mode-string. Call haskell-doc-make-global-fct-index. 356 (haskell-doc-check-active): Fix message. 357 (define-key-after): Don't define. 358 (haskell-doc-install-keymap): Check existence of define-key-after. 359 360 * haskell-mode.el (haskell-literate-default): Fix custom type. 361 (haskell-vars): Ignore comments when doing C-M-f. 362 363 * indent.hs: More test cases. 364 365 * inf-haskell.el (haskell-program-name): Use ghci if hugs is absent. 366 (inferior-haskell-load-file): Reset compilation-parsing-end. 367 368 2004-11-25 Stefan Monnier <monnier@iro.umontreal.ca> 369 370 * Release version 2.0. 371 372 * .emacs: Remove. 373 374 * haskell-decl-scan.el (haskell-ds-imenu-label-cmp): Undo last 375 idiotic change. 376 377 * haskell-doc.el (haskell-doc-sym-doc): Make even the last char bold. 378 379 * haskell-mode.el (haskell-mode-map): Typo. 380 381 * inf-haskell.el (inferior-haskell-mode): Typo. 382 (inferior-haskell-wait-for-output): Remove. 383 (inferior-haskell-send-command): New function. 384 (inferior-haskell-load-file): Use it. 385 386 * index.html: 387 * installation-guide.html: Partial fixup. 388 389 2004-11-24 Stefan Monnier <monnier@iro.umontreal.ca> 390 391 * haskell-mode.el (turn-on-haskell-hugs, turn-on-haskell-ghci): 392 Mark them as obsolete. 393 (haskell-mode-map): Add bindings for the inferior-haskell commands. 394 395 * inf-haskell.el: New file. 396 397 * haskell-doc.el (haskell-doc-install-keymap): Don't blindly assume 398 there's a Hugs menu. 399 400 2004-11-22 Stefan Monnier <monnier@iro.umontreal.ca> 401 402 * haskell-indent.el (turn-on-haskell-indent, turn-off-haskell-indent): 403 Use C-c C-foo rather than C-c foo to follow coding conventions. 404 405 * haskell-font-lock.el (haskell-font-lock-symbols-alist): Add . = ○. 406 407 2004-10-25 Stefan Monnier <monnier@iro.umontreal.ca> 408 409 * haskell-indent.el (haskell-indent-indentation-info): Don't use layout 410 for paren-closing elements. 411 412 2004-10-20 Stefan Monnier <monnier@iro.umontreal.ca> 413 414 * haskell-indent.el (haskell-indent-indentation-info): Only use 415 the new `in' indentation rule if the `let' is on the left of the decl. 416 417 2004-10-19 Stefan Monnier <monnier@iro.umontreal.ca> 418 419 * haskell-indent.el (haskell-indent-find-let): New function. 420 (haskell-indent-indentation-info): Use it to indent `in'. 421 422 * haskell-font-lock.el (haskell-default-face): Add missing declaration. 423 424 * haskell-indent.el (haskell-indent-open-structure): Simplify. 425 (haskell-indent-contour-line): Work even when `start' is in the middle 426 of a line. 427 (haskell-indent-layout-indent-info): New fun extracted from 428 haskell-indent-indentation-info. 429 (haskell-indent-indentation-info): Use it as before. Use it also to 430 handle layout-within-open-structure. 431 432 2004-10-18 Stefan Monnier <monnier@iro.umontreal.ca> 433 434 * haskell-font-lock.el (haskell-font-lock-keywords-create): 435 Use explicit `symbol-value' to work around limitations in XEmacs's 436 implementation of font-lock. 437 (haskell-basic-syntactic-keywords): Fix up char-constants some more. 438 439 2004-10-14 Stefan Monnier <monnier@iro.umontreal.ca> 440 441 * haskell-doc.el (turn-off-haskell-doc-mode) 442 (haskell-doc-current-info): Don't autoload. 443 444 * haskell-decl-scan.el (haskell-ds-match-string): 445 Use match-string-no-properties if available. 446 (haskell-ds-syntax-table): Use haskell-mode-syntax-table. 447 (haskell-ds-imenu-label-cmp): Use car-less-than-car if available. 448 (haskell-ds-imenu): Remove obsolete incorrect code. 449 450 * haskell-mode.el: Set things up so that mode-hook functions are not 451 necessary, and generic functions can be used instead, like 452 global-font-lock-mode. 453 (haskell-enum-from-to): Remove. 454 (turn-on-haskell-font-lock): Make obsolete. 455 (haskell-running-xemacs): Remove. 456 (haskell-mode-syntax-table): Fiddle with non-ascii chars. 457 Fix up comment syntax in XEmacs. 458 (haskell-vars): Improve comment-start-skip. 459 Add comment-end-skip. Setup imenu, eldoc, and font-lock. 460 Tweak handling of tabs to be on the safe side. 461 (haskell-mode-hooks): Declare and mention some useful ideas. 462 (literate-haskell-mode): Simplify. 463 (haskell-comment-indent): Remove. The default works as well. 464 465 * haskell-font-lock.el: Remove level 1 fontification. 466 (haskell-font-lock-keywords-1, haskell-font-lock-keywords-2) 467 (bird-literate-haskell-font-lock-keywords-1) 468 (bird-literate-haskell-font-lock-keywords-2) 469 (latex-literate-haskell-font-lock-keywords-1) 470 (latex-literate-haskell-font-lock-keywords-2): Remove. 471 (bird-literate-haskell-font-lock-keywords) 472 (latex-literate-haskell-font-lock-keywords): Rename. 473 (haskell-font-lock-keywords-create): Remove `level' arg. 474 (haskell-fl-syntax): Remove. Assume the major modes sets it right. 475 (haskell-font-lock-choose-keywords) 476 (haskell-font-lock-choose-syntactic-keywords): New funs. 477 (haskell-font-lock-defaults-create): Use them. 478 (turn-off-haskell-font-lock, turn-on-haskell-font-lock): Simplify. 479 480 * haskell-hugs.el (haskell-hugs-mode): Use define-derived-mode. 481 (run-hugs): New alias. 482 (haskell-hugs-wait-for-output): Don't loop if the process is dead. 483 484 * haskell-font-lock.el (haskell-font-lock-compose-symbol): New fun. 485 (haskell-font-lock-symbols-keywords): Use it. 486 (haskell-string-char-face): Remove. 487 (haskell-font-lock-keywords-create): Hardcode font-lock-string-face. 488 (haskell-fl-syntax): Fix typos. Keep " as a string delimiter. 489 490 2004-10-13 Stefan Monnier <monnier@iro.umontreal.ca> 491 492 * haskell-doc.el (haskell-doc): New group. 493 (haskell-doc-show-reserved, haskell-doc-show-prelude) 494 (haskell-doc-show-strategy, haskell-doc-show-user-defined) 495 (haskell-doc-chop-off-context, haskell-doc-chop-off-fctname): 496 Make them custom vars. 497 (haskell-doc-keymap): Declare and fill it right there. 498 (haskell-doc-mode): Simplify. 499 (haskell-doc-toggle-var): Make it into what it was supposed to be. 500 (haskell-doc-mode-print-current-symbol-info): Simplify. 501 (haskell-doc-current-info): New autoloaded function. 502 (haskell-doc-sym-doc): New fun extracted from haskell-doc-show-type. 503 (haskell-doc-show-type): Use it. 504 (haskell-doc-wrapped-type-p): Remove unused var `lim'. 505 (haskell-doc-forward-sexp-safe, haskell-doc-current-symbol): 506 Remove. Unused. 507 (haskell-doc-visit-home): Don't require ange-ftp, it's autoloaded. 508 (haskell-doc-install-keymap): Simplify. 509 510 * haskell-decl-scan.el (literate-haskell-ds-create-imenu-index) 511 (haskell-ds-generic-create-imenu-index): Remove. 512 (haskell-ds-bird-p): New function. 513 (haskell-ds-backward-decl, haskell-ds-forward-decl): Use it. 514 (haskell-ds-create-imenu-index): Use it to make it generic. 515 (haskell-ds-imenu): Remove now-unused arg. 516 (turn-on-haskell-decl-scan): Fix up call to haskell-ds-imenu. 517 (haskell-ds-running-xemacs): Remove. 518 (haskell-ds-func-menu-next): Make generic. 519 (literate-haskell-ds-func-menu-next): Delete. 520 (haskell-ds-func-menu): Remove unused arg. 521 (turn-on-haskell-decl-scan): Simplify. 522 523 * haskell-indent.el: Don't load CL at runtime. 524 (haskell-indent-start-of-def, haskell-indent-type-at-point): 525 Don't hardcode point-min == 1. 526 (indent-info): Declare it. 527 (haskell-indent-empty, haskell-indent-ident, haskell-indent-other) 528 (haskell-indent-line-indentation): Use `string'. 529 (haskell-indent-valdef-indentation): Fix `case' arms syntax. 530 (haskell-indent-indentation-info): Remove unused var `pt'. 531 (haskell-indent-align-def): Remove unused var `defpos'. 532 (turn-on-haskell-indent): Don't bind TAB. 533 (turn-off-haskell-indent): Don't unbind TAB and DEL. 534 (hugs-syntax-table): Use the `n' for nested comments. 535 (haskell-stand-alone-indent-mode): Fix `comment-end'. 536 537 ;; Local Variables: 538 ;; coding: utf-8 539 ;; End: 540 541 # arch-tag: a2606dc4-fab7-4b2f-bbe9-0a51db643511