Package: tuareg-mode Version: 1:1.45.5-1 Severity: normal The following code is incorrectly indented by Tuareg: let foo x = if p then match bar with | A -> if a then b (* else c *) | B -> b else this
The final else is matched against the "if" in the match clause for A. If I uncomment the inner "else c", it indents correctly. Here's another example: let bar = if p then try if a then b with e -> () else c -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (990, 'testing'), (500, 'stable'), (400, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.22-2-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages tuareg-mode depends on: ii emacs [emacsen] 22.1+1-2 The GNU Emacs editor (metapackage) ii emacs22-gtk [emacsen] 22.1+1-2 The GNU Emacs editor (with GTK use Versions of packages tuareg-mode recommends: ii ocaml 3.10.0-8 ML language implementation with a pn ocaml-mode <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]