Bug#671559: ocaml-mode: debian-pkg-add-load-path-item
Package: ocaml-mode
Version: 3.12.1-2
Severity: minor
File: /etc/emacs/site-start.d/50ocaml-mode.el
/usr/share/doc/emacsen-common/debian-emacs-policy.gz section 9 asks lisp
add-ons to add directories with `debian-pkg-add-load-path-item' rather
than directly modifying `load-path' the way 50ocaml-mode.el does.
I believe debian-pkg-add-load-path-item is available as of "sarge"
emacsen-common 1.4.14 of June 2002. It aims to keep /usr/local ahead of
packaged lisp dirs so that anything in /usr/local has precedence.
I notice too 50ocaml-mode.el uses (symbol-name flavor) to make the
path. I think `flavor' is only a dynamic binding from the site-start.d
running code whereas `debian-emacs-flavor' is the documented variable.
-- 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 ocaml-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
ocaml-mode recommends no packages.
Versions of packages ocaml-mode suggests:
pn ocaml <none>
-- no debconf information
Reply to: