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

Bug#671557: tuareg-mode: debian-pkg-add-load-path-item



Package: tuareg-mode
Version: 1:2.0.4-3
Severity: minor
File: /etc/emacs/site-start.d/51tuareg-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 51tuareg-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 51tuareg-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 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: