unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: 16222@debbugs.gnu.org
Subject: bug#16222: Installing ELPA packages complains about :keywords in define-package
Date: Mon, 23 Dec 2013 17:57:52 -0500	[thread overview]
Message-ID: <87lhzbfa4v.fsf@flea.lifelogs.com> (raw)
In-Reply-To: <CAAeL0SSpbq79T1eeQNeJgdgnTopg3jkG2Lw9p6jzVJsVfcb38Q@mail.gmail.com> (Juanma Barranquero's message of "Mon, 23 Dec 2013 16:13:32 +0100")

On Mon, 23 Dec 2013 16:13:32 +0100 Juanma Barranquero <lekktu@gmail.com> wrote: 

JB> On Mon, Dec 23, 2013 at 4:02 PM, Ted Zlatanov <tzz@lifelogs.com> wrote:
>> Can you provide a full bug description, Emacs version, etc.?  I can't
>> find it here (I know there's an emacs-devel discussion but the bug
>> report is incomplete as is).

JB> With an Emacs from trunk, of a few days ago, I just did M-x
JB> list-packages, then U (packages to update where debbugs and
JB> rainbow-mode), then x, and voilà.

JB> Aren't you able to reproduce it?

I can reproduce it but don't see why you couldn't make a proper bug
report with a version (for the record, mine is 24.3.50.1, compiled today).

Stefan: I think the problem is `package--alist-to-plist'.  The generated
PACKAGE-pkg.el has, for example:

(define-package "ack" "1.3" "Interface to ack-like source code search tools" 'nil :keywords ("tools" "processes" "convenience") :url "https://github.com/leoliu/ack-el")

(define-package "nlinum" "1.1" "Show line numbers in the margin" 'nil :url "http://elpa.gnu.org/packages/nlinum.html" :keywords ("convenience"))

If I quote the keywords, e.g.

  :keywords '("convenience")

then the function call works but I don't really understand the creative
mix of `defstruct' and the `define-package' funcall that errors out, so
I couldn't write the fix and test it.  I hope you or someone else has a
chance to do it... I may try it again tomorrow if no one else does.

Ted





  reply	other threads:[~2013-12-23 22:57 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-23  1:42 bug#16222: Installing ELPA packages complains about :keywords in define-package Juanma Barranquero
2013-12-23 15:02 ` Ted Zlatanov
2013-12-23 15:13   ` Juanma Barranquero
2013-12-23 22:57     ` Ted Zlatanov [this message]
2013-12-24  0:01       ` Juanma Barranquero
2013-12-24  3:43       ` Stefan Monnier
2013-12-24 13:37         ` Ted Zlatanov
2013-12-24 14:55           ` Stefan Monnier
2013-12-24 15:23             ` Ted Zlatanov
2013-12-24 16:23               ` Stefan Monnier
2014-01-15  5:02                 ` Dmitry Gutov
2014-01-15 15:29                   ` Stefan Monnier
2014-01-16 12:58                     ` Dmitry Gutov
2014-01-16 16:18                       ` Stefan Monnier
2014-01-16 17:04                         ` Dmitry Gutov
2014-01-20 16:16                           ` Ted Zlatanov
2014-01-21  1:58                             ` Dmitry Gutov
2014-01-21 13:48                               ` Stefan Monnier
2014-01-14 18:16 ` bug#16222: latest js2-mode from elpa causes backtrace during emacs initialization Tom Willis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lhzbfa4v.fsf@flea.lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=16222@debbugs.gnu.org \
    --cc=lekktu@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).