Bug#594750: ess: debian-pkg-add-load-path-item
Dirk Eddelbuettel
edd at debian.org
Sun Aug 29 22:48:50 CEST 2010
On 29 August 2010 at 11:28, Kevin Ryde wrote:
| Package: ess
| Version: 5.11-1
| Severity: minor
| File: /etc/emacs/site-start.d/50ess.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 50ess.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 /usr/local has precedence.
Thanks for the heads-up.
Grep'ing in /etc/emacs/site-start.d/ on my system, I see
(debian-pkg-add-load-path-item (concat "/usr/share/emacs/site-lisp/ess"))
instead of
(setq load-path (cons (concat "/usr/share/"
(symbol-name debian-emacs-flavor)
"/site-lisp/ess") load-path ))
as a possible change. Would that work? Or should it be like css-mode and do
both:
(debian-pkg-add-load-path-item "/usr/share/emacs/site-lisp/ess")
(debian-pkg-add-load-path-item (concat "/usr/share/"
(symbol-name debian-emacs-flavor)
"/site-lisp/ess"))
Can you advise? I actually don't really write elisp...
Dirk
|
|
| -- System Information:
| Debian Release: squeeze/sid
| APT prefers unstable
| APT policy: (500, '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 ess depends on:
| ii dpkg 1.15.8.2 Debian package management system
| ii emacs21 [emacsen] 21.4a+1-5.7 The GNU Emacs editor
| ii emacs22-gtk [emacsen] 22.3+1-1.2 The GNU Emacs editor (with GTK use
| ii emacs23 [emacsen] 23.2+1-2 The GNU Emacs editor (with GTK+ us
| ii install-info 4.13a.dfsg.1-5 Manage installed documentation in
| ii xemacs21-mule [emacsen] 21.4.22-3 highly customizable text editor --
|
| ess recommends no packages.
|
| Versions of packages ess suggests:
| pn pspp <none> (no description available)
| pn r-base | r-base-core <none> (no description available)
| pn xlispstat <none> (no description available)
|
| -- no debconf information
|
| _______________________________________________
| ESS-Debian mailing list
| ESS-Debian at stat.math.ethz.ch
| https://stat.ethz.ch/mailman/listinfo/ess-debian
--
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
More information about the ESS-Debian
mailing list