Package: html-helper-mode
Version: 3.0.4jolly-11
Severity: normal
Tags: patch

The startup file of your package,
/etc/emacs/site-start.d/50html-helper-mode.el, adds the directories to
wrong places in Emacs' load-path.  First, it puts them directly at the
top of the load-path instead of using debian-pkg-add-load-path-item as
mandated by section 9 of the Debian Emacsen policy.  Secondly, the
directory with the uncompiled Elisp files is put before the directory
with the compiled ones, so Emacs loads the uncompiled files. :-(
The following patch fixes these issues:

diff -u 50html-helper-mode.el.orig 50html-helper-mode.el
--- 50html-helper-mode.el.orig  2004-02-21 09:16:24.000000000 +0100
+++ 50html-helper-mode.el       2006-06-19 21:30:53.000000000 +0200
@@ -11,13 +11,15 @@
;; xemacs19, emacs20, xemacs20...).  The compiled code is then
;; installed in a subdirectory of the respective site-lisp directory.
;; We have to add this to the load-path:
-(setq load-path (cons (concat "/usr/share/"
-                              (symbol-name flavor)
-                             "/site-lisp/html-helper-mode") load-path))
+(debian-pkg-add-load-path-item
+ (concat "/usr/share/"
+        (symbol-name debian-emacs-flavor)
+        "/site-lisp/html-helper-mode"))

;; Put the uncompiled code in the path too
-(setq load-path (cons (concat
- "/usr/share/emacs/site-lisp/html-helper-mode") load-path))
+(setq load-path
+      (append load-path
+             (list "/usr/share/emacs/site-lisp/html-helper-mode")))

(autoload 'html-helper-mode "html-helper-mode" "Yay HTML" t)



-- System Information:
Debian Release: testing/unstable
 APT prefers unstable
 APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages html-helper-mode depends on:
ii emacs-snapshot [emacsen] 1:20060615-1 The GNU Emacs editor (development ii emacs-snapshot-gtk [emacsen 1:20060615-1 The GNU Emacs editor (with GTK+ 2.
ii  emacs21 [emacsen]           21.4a-6      The GNU Emacs editor

html-helper-mode recommends no packages.

-- no debconf information


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to