Package: tuareg-mode Version: 1:1.45.4-3 Severity: minor Editing a file sometimes leaves lines highlighted as if they were comments or strings.
The problem seems to be because when opening a comment, the next two lines are colored as comments, but when closing a comment, only the next line is updated, so the line after that stays colored like a comment until it is edited again. Same thing applies to strings. Closing the buffer and reopening the file gets the right colors of course. Here is a small example: ========= BEGIN FILE =========== (*remove me and then type me again *) let x = 1 let y = 2 let z = 3 ========= END FILE ============= Let me know if you can't reproduce it for some reason. Thanks, Ivan -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.21-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/bash Versions of packages tuareg-mode depends on: ii emacs21 [emacsen] 21.4a+1-5.1 The GNU Emacs editor ii emacs22 [emacsen] 22.1+1-2 The GNU Emacs editor Versions of packages tuareg-mode recommends: ii ocaml 3.10.0-8 ML language implementation with a ii ocaml-mode 3.10.0-8 A major mode for editing Objective -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]