From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: bug in ELPA archive-contents archive--write-pkg-file Date: Tue, 24 Dec 2013 03:21:44 -0600 Message-ID: <85eh52vc2f.fsf@stephe-leake.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1387876916 12183 80.91.229.3 (24 Dec 2013 09:21:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Dec 2013 09:21:56 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 24 10:22:01 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VvOBc-0005p0-L1 for ged-emacs-devel@m.gmane.org; Tue, 24 Dec 2013 10:22:00 +0100 Original-Received: from localhost ([::1]:37155 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VvOBb-0003Qo-Vm for ged-emacs-devel@m.gmane.org; Tue, 24 Dec 2013 04:21:59 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40845) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VvOBU-0003QZ-39 for emacs-devel@gnu.org; Tue, 24 Dec 2013 04:21:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VvOBN-0001Gk-TI for emacs-devel@gnu.org; Tue, 24 Dec 2013 04:21:52 -0500 Original-Received: from cdptpa-outbound-snat.email.rr.com ([107.14.166.225]:51159 helo=cdptpa-oedge-vip.email.rr.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VvOBN-0001Gg-Pj for emacs-devel@gnu.org; Tue, 24 Dec 2013 04:21:45 -0500 Original-Received: from [75.87.81.6] ([75.87.81.6:56828] helo=TAKVER) by cdptpa-oedge03 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 02/45-17005-82259B25; Tue, 24 Dec 2013 09:21:45 +0000 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) X-RR-Connecting-IP: 107.14.168.142:25 X-Cloudmark-Score: 0 X-detected-operating-system: by eggs.gnu.org: BaiduSpider X-Received-From: 107.14.166.225 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:166816 Archived-At: 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