unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#16441: 24.3; package-install js2-mode doesn't put a ' before the keywords list
@ 2014-01-14 13:40 Kevin Brubeck Unhammer
  2014-01-14 16:19 ` Dmitry Gutov
  0 siblings, 1 reply; 4+ messages in thread
From: Kevin Brubeck Unhammer @ 2014-01-14 13:40 UTC (permalink / raw)
  To: 16441

[-- Attachment #1: Type: text/plain, Size: 2394 bytes --]

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@gmail.com>
;;         mooz <stillpedant@gmail.com>
;;         Dmitry Gutov <dgutov@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

[-- Attachment #2: Type: application/pgp-signature, Size: 472 bytes --]

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

* bug#16441: 24.3; package-install js2-mode doesn't put a ' before the keywords list
  2014-01-14 13:40 bug#16441: 24.3; package-install js2-mode doesn't put a ' before the keywords list Kevin Brubeck Unhammer
@ 2014-01-14 16:19 ` Dmitry Gutov
  2014-01-14 17:05   ` Glenn Morris
  0 siblings, 1 reply; 4+ messages in thread
From: Dmitry Gutov @ 2014-01-14 16:19 UTC (permalink / raw)
  To: Kevin Brubeck Unhammer; +Cc: 16441

Control: merge -1 16222

Kevin Brubeck Unhammer <unhammer@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





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

* bug#16441: 24.3; package-install js2-mode doesn't put a ' before the keywords list
  2014-01-14 16:19 ` Dmitry Gutov
@ 2014-01-14 17:05   ` Glenn Morris
  2014-01-14 17:08     ` Dmitry Gutov
  0 siblings, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2014-01-14 17:05 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: 16441

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. :(





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

* bug#16441: 24.3; package-install js2-mode doesn't put a ' before the keywords list
  2014-01-14 17:05   ` Glenn Morris
@ 2014-01-14 17:08     ` Dmitry Gutov
  0 siblings, 0 replies; 4+ messages in thread
From: Dmitry Gutov @ 2014-01-14 17:08 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 16441

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. :)





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

end of thread, other threads:[~2014-01-14 17:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-14 13:40 bug#16441: 24.3; package-install js2-mode doesn't put a ' before the keywords list Kevin Brubeck Unhammer
2014-01-14 16:19 ` Dmitry Gutov
2014-01-14 17:05   ` Glenn Morris
2014-01-14 17:08     ` Dmitry Gutov

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).