[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#450741: marked as done (tuareg-mode: incorrect if/then/else indentation)



Your message dated Sun, 13 Jan 2008 12:32:05 +0000
with message-id <E1JE20T-0001fA-Oa@ries.debian.org>
and subject line Bug#450741: fixed in tuareg-mode 1:1.45.6-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
Source: tuareg-mode
Source-Version: 1:1.45.6-1

We believe that the bug you reported is fixed in the latest version of
tuareg-mode, which is due to be installed in the Debian FTP archive:

tuareg-mode_1.45.6-1.diff.gz
  to pool/main/t/tuareg-mode/tuareg-mode_1.45.6-1.diff.gz
tuareg-mode_1.45.6-1.dsc
  to pool/main/t/tuareg-mode/tuareg-mode_1.45.6-1.dsc
tuareg-mode_1.45.6-1_all.deb
  to pool/main/t/tuareg-mode/tuareg-mode_1.45.6-1_all.deb
tuareg-mode_1.45.6.orig.tar.gz
  to pool/main/t/tuareg-mode/tuareg-mode_1.45.6.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 450741@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ralf Treinen <treinen@debian.org> (supplier of updated tuareg-mode package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 13 Jan 2008 13:23:05 +0100
Source: tuareg-mode
Binary: tuareg-mode
Architecture: source all
Version: 1:1.45.6-1
Distribution: unstable
Urgency: low
Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
Changed-By: Ralf Treinen <treinen@debian.org>
Description: 
 tuareg-mode - An emacs-mode for ocaml programs
Closes: 450741 456006
Changes: 
 tuareg-mode (1:1.45.6-1) unstable; urgency=low
 .
   [ Ralf Treinen ]
   * New upstream release, fixes a bug concerning indentation of
     if-then-else (closes: Bug#450741), and elisp compiler warnings
     (closes: Bug#456006).
   * Standards-Version 3.7.3 (no change).
 .
   [ Stefano Zacchiroli ]
   * fix vcs-svn field to point just above the debian/ dir
Files: 
 daa3e8358db3aaaf50114b38dc0d7a38 1064 devel optional tuareg-mode_1.45.6-1.dsc
 757406cf481d5eaa1a34099a12231f78 53415 devel optional tuareg-mode_1.45.6.orig.tar.gz
 01fe9bb36b5cc2810397bb6063ac32e2 6938 devel optional tuareg-mode_1.45.6-1.diff.gz
 1246f6ab9606867a16d6b867de1372a1 56860 devel optional tuareg-mode_1.45.6-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHigNbtzWmSeC6BMERAsbHAKDPRd9nzYG9121cTl+9pK88Po0w9wCg6PrB
sIwSgD2rE/I05LX7gjmuy8E=
=tVvG
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: