all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug in ELPA archive-contents archive--write-pkg-file
@ 2013-12-24  9:21 Stephen Leake
  2013-12-24 13:04 ` Juanma Barranquero
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Leake @ 2013-12-24  9:21 UTC (permalink / raw)
  To: emacs-devel

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: bug in ELPA archive-contents archive--write-pkg-file
  2013-12-24  9:21 bug in ELPA archive-contents archive--write-pkg-file Stephen Leake
@ 2013-12-24 13:04 ` Juanma Barranquero
  2013-12-24 13:34   ` Stephen Leake
  0 siblings, 1 reply; 3+ messages in thread
From: Juanma Barranquero @ 2013-12-24 13:04 UTC (permalink / raw)
  To: Stephen Leake; +Cc: Emacs developers

On Tue, Dec 24, 2013 at 10:21 AM, Stephen Leake
<stephen_leake@stephe-leake.org> wrote:
> 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:

I think this is bug#16222: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16222



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: bug in ELPA archive-contents archive--write-pkg-file
  2013-12-24 13:04 ` Juanma Barranquero
@ 2013-12-24 13:34   ` Stephen Leake
  0 siblings, 0 replies; 3+ messages in thread
From: Stephen Leake @ 2013-12-24 13:34 UTC (permalink / raw)
  To: emacs-devel

Juanma Barranquero <lekktu@gmail.com> writes:

> On Tue, Dec 24, 2013 at 10:21 AM, Stephen Leake
> <stephen_leake@stephe-leake.org> wrote:
>> 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:
>
> I think this is bug#16222: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16222

Yes, that's it.

-- 
-- Stephe



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-12-24 13:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-24  9:21 bug in ELPA archive-contents archive--write-pkg-file Stephen Leake
2013-12-24 13:04 ` Juanma Barranquero
2013-12-24 13:34   ` Stephen Leake

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.