[Top][All Lists]

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

bug in ELPA archive-contents archive--write-pkg-file

From: Stephen Leake
Subject: bug in ELPA archive-contents archive--write-pkg-file
Date: Tue, 24 Dec 2013 03:21:44 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt)

In an ELPA package, if I have a "Keywords:" line in my main file with
multiple keywords, the generated -pkg.el file has invalid syntax:

(define-package "ada-mode" "5.0" "major-mode for editing Ada sources" '((wisi 
"1.0")) :url "http://stephe-leake.org/emacs/ada-mode/emacs-ada-mode.html"; 
:keywords ("languages" "ada"))

After installing this package, attempting to load it gives : 

Invalid function: "languages"

The elisp that produces this is in elpa/admin/archive-contents.el
archive--write-pkg-file, which uses prin1-to-string on the results of
(archive--alist-to-plist extras).

Apparently prin1-to-string should be adding ' on a literal list?

I don't know how to fix this, so the only work-around I have is to
delete the "Keywords:" line.

Do we report bugs like this on debbugs? If so, what package and/or other
tags should be used?

-- Stephe

reply via email to

[Prev in Thread] Current Thread [Next in Thread]