Bug#676858: tuareg-mode: emacs21 require 'derived
Package: tuareg-mode
Version: 1:2.0.6-1
Severity: wishlist
File: /usr/lib/emacsen-common/packages/install/tuareg-mode
I've still got emacs21 installed and tuareg-mode 2.0.6 fails to install
with
While compiling toplevel forms in file /usr/share/emacs21/site-lisp/tuareg-mode/ocamldebug-tuareg.el:
!! Symbol's function definition is void ((derived-mode-p))
It looks like this is not from ocamldebug-tuareg.el but instead from
tuareg.el, which ocamldebug-tuareg.el loads. tuareg.el calls
derived-mode-p in its defcustom tuareg-support-metaocaml default value.
It works for me to add to tuareg.el
(require 'derived) ;; for `derived-mode-p' in emacs21
ocamldebug-tuareg.el has the same (require 'derived) for its own use of
derived-mode things. In newer emacs it's autoloaded or pre-loaded or
some such, but compatibility with past emacs can be had with that
explicit require.
-- 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 4.00.0~~dev15+12379-1
tuareg-mode suggests no packages.
-- no debconf information
Reply to: