GNU bug report logs - #16441
24.3; package-install js2-mode doesn't put a ' before the keywords list

Previous Next

Package: emacs;

Reported by: Kevin Brubeck Unhammer <unhammer <at> fsfe.org>

Date: Tue, 14 Jan 2014 13:42:02 UTC

Severity: important

Merged with 16222

Found in version 24.3

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 16441 in the body.
You can then email your comments to 16441 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#16441; Package emacs. (Tue, 14 Jan 2014 13:42:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kevin Brubeck Unhammer <unhammer <at> fsfe.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 14 Jan 2014 13:42:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kevin Brubeck Unhammer <unhammer <at> fsfe.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3;
 package-install js2-mode doesn't put a ' before the keywords list
Date: Tue, 14 Jan 2014 14:40:52 +0100
[Message part 1 (text/plain, inline)]
This bug report will be sent to the Bug-GNU-Emacs mailing list
and the GNU bug tracker at debbugs.gnu.org.  Please check that
the From: line contains a valid email address.  After a delay of up
to one day, you should receive an acknowledgment at that address.

Please write in English if possible, as the Emacs maintainers
usually do not have translators for other languages.

Please describe exactly what actions triggered the bug, and
the precise symptoms of the bug.  If you can, give a recipe
starting from `emacs -Q':

M-x package-install RET js2-mode RET

gives

js2-mode-pkg.el:2:1:Warning: `"languages"' is a malformed function

after creating this js2-mode-pkg.el:

;; Generated package description from js2-mode.el
(define-package "js2-mode" "20140114" "Improved JavaScript editing mode" '((emacs "24.1")) :url "https://github.com/mooz/js2-mode/" :keywords ("languages" "javascript"))

which e.g. leads to errors on next emacs startup. Adding a ' before the
keywords list (and deleting the .elc) is a workaround. I don't see the
error in js2-mode.el that would cause this:


$ head -13 js2-mode.el
;;; js2-mode.el --- Improved JavaScript editing mode

;; Copyright (C) 2009, 2011-2014  Free Software Foundation, Inc.

;; Author: Steve Yegge <steve.yegge <at> gmail.com>
;;         mooz <stillpedant <at> gmail.com>
;;         Dmitry Gutov <dgutov <at> yandex.ru>
;; URL:  https://github.com/mooz/js2-mode/
;;       http://code.google.com/p/js2-mode/
;; Version: 20140114
;; Keywords: languages, javascript
;; Package-Requires: ((emacs "24.1"))


but in any case, 'package should probably handle this better.


In GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bars)
 of 2013-08-15 on kiwiarch
Windowing system distributor `The X.Org Foundation', version 11.0.11403000
Configured using:
 `configure '--prefix=/usr' '--sysconfdir=/etc' '--libexecdir=/usr/lib'
 '--localstatedir=/var' '--with-x-toolkit=lucid' '--with-xft'
 '--without-gconf' '--without-gsettings' 'CFLAGS=-march=x86-64
 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4'
 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro'
 'CPPFLAGS=-D_FORTIFY_SOURCE=2''

Important settings:
  value of $LANG: nn_NO.UTF-8
  locale-coding-system: utf-8
  default enable-multibyte-characters: t




-- 
Kevin Brubeck Unhammer

GPG: 0x766AC60C
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16441; Package emacs. (Tue, 14 Jan 2014 16:20:01 GMT) Full text and rfc822 format available.

Message #8 received at 16441 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Kevin Brubeck Unhammer <unhammer <at> fsfe.org>
Cc: 16441 <at> debbugs.gnu.org
Subject: Re: bug#16441: 24.3;
 package-install js2-mode doesn't put a ' before the keywords list
Date: Tue, 14 Jan 2014 18:19:28 +0200
Control: merge -1 16222

Kevin Brubeck Unhammer <unhammer <at> fsfe.org> writes:

> M-x package-install RET js2-mode RET
>
> gives
>
> js2-mode-pkg.el:2:1:Warning: `"languages"' is a malformed function
>
> after creating this js2-mode-pkg.el:
>
> ;; Generated package description from js2-mode.el
> (define-package "js2-mode" "20140114" "Improved JavaScript editing mode" '((emacs "24.1")) :url "https://github.com/mooz/js2-mode/" :keywords ("languages" "javascript"))
>
> which e.g. leads to errors on next emacs startup. Adding a ' before the
> keywords list (and deleting the .elc) is a workaround. I don't see the
> error in js2-mode.el that would cause this:

This is a duplicate of http://debbugs.gnu.org/16222




Merged 16222 16441. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 14 Jan 2014 17:01:03 GMT) Full text and rfc822 format available.

Severity set to 'important' from 'normal' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 14 Jan 2014 17:01:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16441; Package emacs. (Tue, 14 Jan 2014 17:07:02 GMT) Full text and rfc822 format available.

Message #15 received at 16441 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 16441 <at> debbugs.gnu.org
Subject: Re: bug#16441: 24.3;
 package-install js2-mode doesn't put a ' before the keywords list
Date: Tue, 14 Jan 2014 12:05:59 -0500
Dmitry Gutov wrote:

> Control: merge -1 16222

Sorry, our debbugs is too old to understand that syntax.
Updating it will be _very_ difficult, due to local changes. :(




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16441; Package emacs. (Tue, 14 Jan 2014 17:09:01 GMT) Full text and rfc822 format available.

Message #18 received at 16441 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 16441 <at> debbugs.gnu.org
Subject: Re: bug#16441: 24.3; package-install js2-mode doesn't put a ' before
 the keywords list
Date: Tue, 14 Jan 2014 19:08:02 +0200
On 14.01.2014 19:05, Glenn Morris wrote:
> Sorry, our debbugs is too old to understand that syntax.
> Updating it will be _very_ difficult, due to local changes. :(

Ok, well, it was worth a shot. :)




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 19 Feb 2014 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 120 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.