Bug#671558: tuareg-mode: auto-mode-alist regexp string end
Package: tuareg-mode
Version: 1:2.0.4-3
Severity: normal
File: /etc/emacs/site-start.d/51tuareg-mode.el
51tuareg-mode.el sets up
(add-to-list 'auto-mode-alist '("\\.ml\\w?" . tuareg-mode))
but I wonder if the regexp is meant to have a \\' anchor as per the
autoload cookie of /usr/share/emacs/site-lisp/tuareg-mode/tuareg.el
;;;###autoload (add-to-list 'auto-mode-alist '("\\.ml\\w?\\'" . tuareg-mode))
The string end would ensure for example foo.ml.html is opened in html
mode. Not that a name like that would be very likely, but it's just .ml
as a suffix which is intended is it?
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-486
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Versions of packages tuareg-mode depends on:
ii emacs21 [emacsen] 21.4a+1-5.7
ii emacs22-gtk [emacsen] 22.3+1-1.2
ii emacs23 [emacsen] 23.4+1-3
ii xemacs21-mule [emacsen] 21.4.22-3.2
Versions of packages tuareg-mode recommends:
ii ocaml-interp <none>
ii ocaml-mode 3.12.1-2
tuareg-mode suggests no packages.
-- no debconf information
Reply to: