Package: emacs22-common
Version: 22.1+1-2
Severity: normal

Steps to reproduce:

M-x toggle-debug-on-error

C-h C-p

Debugger entered--Lisp error: (wrong-number-of-arguments #[(filename)
" \"^X!<U+0083>[EMAIL PROTECTED]<U+0082>[EMAIL PROTECTED]       \")<U+0087>" 
[file
data-directory expand-file-name file-exists-p ".dfsg"] 3 858836] 2)
  debian-expand-file-name-dfsg("THE-GNU-PROJECT" "/usr/share/emacs/22.1/etc/")
  describe-project()
  call-interactively(describe-project)

You can apply this patch to fix the problem:

---- BEGIN OF PATCH ----
--- /usr/share/emacs/22.1/lisp/help.el
+++ /tmp/help.el        2007-08-07 09:10:50.637071318 +0300
@@ -282,7 +282,7 @@
 (defun debian-expand-file-name-dfsg (filename)
   "Apply expand-file-name to FILENAME.
 If expand-file-name does not find a file, append `.dfsg' and try again."
-  (let ((file (expand-file-name file data-directory)))
+  (let ((file (expand-file-name filename data-directory)))
     (if (file-exists-p file)
         file
       (expand-file-name (concat file ".dfsg") data-directory))))
@@ -301,7 +301,7 @@
 (defun describe-project ()
   "Display info on the GNU project."
   (interactive)
-  (view-file (debian-expand-file-name-dfsg "THE-GNU-PROJECT" data-directory))
+  (view-file (debian-expand-file-name-dfsg "THE-GNU-PROJECT"))
   (goto-char (point-min)))

 (defun describe-no-warranty ()
---- END OF PATCH ----

Happy hacking!

--
vvv


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages emacs22-common depends on:
ii  dpkg                          1.14.7     package maintenance system for Deb
ii  emacsen-common                1.4.17     Common facilities for all emacsen

emacs22-common recommends no packages.

-- no debconf information

Reply via email to