Package: emacs22
Version: 22.1+1-1

Hi,

I'm using debian unstable, and the bug is in one of:
emacs22 22.1+1-1
emacs22-bin-common 22.1+1-1

Also, for the record, I'm using
emacs22-gtk 22.1+1-1
emacs22-el 22.1+1-1
emacs22-non-dfsg 22.1+1-1 (bug manifests itself regardless of whether I
have this installed, but it's a relevant package)

Bug:

Calling M-x describe-project from within emacs (or C-h C-p, as
instructed by the startup message) returns this ugly error message:

describe-project: Wrong number of arguments: #[(filename) "Â
\"Ã!__ÂÄP \")_" [file data-directory expand-file-name
file-exists-p ".dfsg"] 3 858848], 2


I reckon that the problem is in the elisp source file
'/usr/share/emacs/22.1/lisp/help.el.gz' (from package emacs22-el),
in the debian-expand-file-name-dfsg function, which protects us from
the tyrannical oppression of the GNU Free Documentation License that
covers the file telling us about the history of GNU. 

I think the function, in lines 282-288 should be rewritten to something
like this:

---
(defun debian-expand-file-name-dfsg (filename data-directory)
  "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 filename data-directory)))
    (if (file-exists-p file)
        file
      (expand-file-name (concat filename ".dfsg") data-directory))))
---

though I've not gotten round to testing this, since it looks like it
needs a full-on emacs recompile.

Hope this helps, 

David

Reply via email to