From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.bugs Subject: bug#16222: Installing ELPA packages complains about :keywords in define-package Date: Tue, 24 Dec 2013 10:23:04 -0500 Organization: =?UTF-8?Q?=D0=A2=D0=B5=D0=BE=D0=B4=D0=BE=D1=80_?= =?UTF-8?Q?=D0=97=D0=BB=D0=B0=D1=82=D0=B0=D0=BD=D0=BE=D0=B2?= @ Cienfuegos Message-ID: <8761qel1d3.fsf@flea.lifelogs.com> References: <87r4938val.fsf@flea.lifelogs.com> <87lhzbfa4v.fsf@flea.lifelogs.com> <87mwjql699.fsf@flea.lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1387898787 10771 80.91.229.3 (24 Dec 2013 15:26:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Dec 2013 15:26:27 +0000 (UTC) Cc: Juanma Barranquero , 16222@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 24 16:26:33 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1VvToH-0006Kx-NU for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Dec 2013 16:22:17 +0100 Original-Received: from localhost ([::1]:39099 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VvToH-00049w-6g for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Dec 2013 10:22:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55330) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VvTo8-00049b-4K for bug-gnu-emacs@gnu.org; Tue, 24 Dec 2013 10:22:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VvTo2-0006R7-Vs for bug-gnu-emacs@gnu.org; Tue, 24 Dec 2013 10:22:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53387) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VvTo2-0006Qz-RQ for bug-gnu-emacs@gnu.org; Tue, 24 Dec 2013 10:22:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VvTo2-00034c-Ci for bug-gnu-emacs@gnu.org; Tue, 24 Dec 2013 10:22:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ted Zlatanov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Dec 2013 15:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16222 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16222-submit@debbugs.gnu.org id=B16222.138789850411784 (code B ref 16222); Tue, 24 Dec 2013 15:22:02 +0000 Original-Received: (at 16222) by debbugs.gnu.org; 24 Dec 2013 15:21:44 +0000 Original-Received: from localhost ([127.0.0.1]:39173 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VvTnj-00033x-ML for submit@debbugs.gnu.org; Tue, 24 Dec 2013 10:21:44 -0500 Original-Received: from mail-qe0-f41.google.com ([209.85.128.41]:42781) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VvTnh-00033p-PB for 16222@debbugs.gnu.org; Tue, 24 Dec 2013 10:21:42 -0500 Original-Received: by mail-qe0-f41.google.com with SMTP id gh4so6563613qeb.14 for <16222@debbugs.gnu.org>; Tue, 24 Dec 2013 07:21:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lifelogs.com; s=google; h=from:to:cc:subject:organization:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=oJ7IleiIvR8BPSr7Qdsiy/pnfGtQyLbvnbRcC0t+c0E=; b=IrGoMJnQqczuBI/AttPIFsr5oM5vTjidREhfeN/7vaHxQuJ7TBV5pUiT4QQUE3IzI7 hNAcgmYHJ2jN7xchfNQ+KMSos/lxG3xwRnvovcZytFQDTxdVtNzdvDFSicDZBlJjgiJC Xy1eG3swnXno3m07BSyFl1YN6TTHJUzf2v1nU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:organization:references :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=oJ7IleiIvR8BPSr7Qdsiy/pnfGtQyLbvnbRcC0t+c0E=; b=QTAAhM6oAAkSf3YIr0Mvi8RHc/wxTozWrA8cCZc3LXKF4A599BPyJFKbgeueG9kSrO aMriytV8YklAp8StyXuviVev9HUD/u+O3TX1dkVomRfy646uo7hbZ8XdiB0kXQEmIBuI IlbDjdXaXQ7B5zbYBNqbgBUYrM1vT64kAyz1I0NA261X7ep2oIGhYpK4vUz38TOF96xw WPOWNBAnb9sttNtjM35wOwafaUkaTJuQR3bmj6gXVjEJb6WkBIpbnKI6HbS85ZLEfIs9 CacCO4ZBrrLLrnxlpBUY8xjGPwCsLE98e8qXArmXqLeK3F32Z8Ph25Ondl5CDoPpOV8u TBcQ== X-Gm-Message-State: ALoCoQnMtOkjlVA/j44wGeOtQa7xQ1s4wkr/0V+W319cE6Jby337eUul8UHDLhkZsrFAIaA48Tgs X-Received: by 10.49.28.101 with SMTP id a5mr54437568qeh.70.1387898501222; Tue, 24 Dec 2013 07:21:41 -0800 (PST) Original-Received: from flea.lifelogs.com (c-98-229-61-72.hsd1.ma.comcast.net. [98.229.61.72]) by mx.google.com with ESMTPSA id r5sm36326115qaj.13.2013.12.24.07.21.40 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Dec 2013 07:21:40 -0800 (PST) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: (Stefan Monnier's message of "Tue, 24 Dec 2013 09:55:00 -0500") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:82523 Archived-At: On Tue, 24 Dec 2013 09:55:00 -0500 Stefan Monnier wrote: >>>> Stefan: I think the problem is `package--alist-to-plist'. The generated >>>> PACKAGE-pkg.el has, for example: SM> No, the problem is that *-pkg.el should not be compiled (it's not SM> "load"ed either): it's a file using the Elisp `sexp' syntax, but it's SM> not a file written in Elisp. >> OK, is it fixable? SM> Of course: get the byte-compiler to skip those files. 1) Why is *-pkg.el written in this bizarro syntax and not something that compiles cleanly? IOW if it's going to be pure data, why pretend it's a funcall? I'd rather rename it to *-pkg.data or something and eliminate any chance of this problem recurring. The .el extension is wrong, either way. 2) If you'd rather keep it as a confusingly-almost-ELisp file, can the problem be solved by ";; no-byte-compile: t" in the local variables, or does this function have to be changed? #+begin_src lisp (defun package--compile (pkg-desc) "Byte-compile installed package PKG-DESC." (package-activate-1 pkg-desc) (byte-recompile-directory (package-desc-dir pkg-desc) 0 t)) #+end_src Thanks Ted