GNU bug report logs - #8469
24.0.50; package.el cannot handle long package names

Previous Next

Package: emacs;

Reported by: emacs18 <at> gmail.com

Date: Sun, 10 Apr 2011 19:39:01 UTC

Severity: normal

Found in version 24.0.50

Done: Chong Yidong <cyd <at> gnu.org>

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 8469 in the body.
You can then email your comments to 8469 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 owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8469; Package emacs. (Sun, 10 Apr 2011 19:39:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to emacs18 <at> gmail.com:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 10 Apr 2011 19:39:02 GMT) Full text and rfc822 format available.

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

From: emacs18 <at> gmail.com
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.50; package.el cannot handle long package names
Date: Sun, 10 Apr 2011 12:38:07 -0700
In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.22.0)
 of 2011-04-09 on dad-laptop
Windowing system distributor `The X.Org Foundation', version 11.0.10900000

package.el was recently changed to make use of tabulated-list.el.
This seems to be causing problems when a package name is too long.
The threshold seems to be some length between 15 and 19 characters.

To see the problem, start emacs with -q option, then execute the
following code:

    (require 'package)
    (custom-set-variables
     '(package-archives '(("tromey" . "http://tromey.com/elpa/"))))
    (package-list-packages)

This results in the stack trace shown below where the problem is with
a package named "compilation-recenter-end" which has 24 characters long.

Debugger entered--Lisp error: (wrong-type-argument arrayp ("compilation-recenter-end" face link follow-link t package-symbol compilation-recenter-end action package-menu-describe-package))
  tabulated-list-print-entry((compilation-recenter-end 4) [("compilation-recenter-end" face link follow-link t package-symbol compilation-recenter-end action package-menu-describe-package) #("4" 0 1 (font-lock-face default)) #("available" 0 9 (font-lock-face default)) #("compilation-mode window recentre" 0 32 (font-lock-face default))])
  apply(tabulated-list-print-entry ((compilation-recenter-end 4) [("compilation-recenter-end" face link follow-link t package-symbol compilation-recenter-end action package-menu-describe-package) #("4" 0 1 (font-lock-face default)) #("available" 0 9 (font-lock-face default)) #("compilation-mode window recentre" 0 32 (font-lock-face default))]))
  tabulated-list-print(nil)
  package-menu--generate()
  package-list-packages()
  eval((package-list-packages) nil)
  eval-last-sexp-1(nil)
  eval-last-sexp(nil)
  call-interactively(eval-last-sexp nil nil)


On my own ELPA repository, I had to rename a package name to shorten it
from 19 characters down to something less than 15 or so in order to get
around this problm.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8469; Package emacs. (Mon, 25 Apr 2011 18:37:02 GMT) Full text and rfc822 format available.

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

From: Jason Rohwedder <jro <at> codegrinder.com>
To: 8469 <at> debbugs.gnu.org
Subject: me too
Date: Mon, 25 Apr 2011 13:34:10 -0500
[Message part 1 (text/plain, inline)]
Also seeing this on the http://emacs.naquadah.org/ snapshot builds

GNU Emacs 24.0.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.22.0)
 of 2011-04-11 on dfontaine-laptop, modified by Debian
Copyright (C) 2011 Free Software Foundation, Inc.

deb http://emacs.naquadah.org/ maverick/
deb-src http://emacs.naquadah.org/ maverick/
[Message part 2 (text/html, inline)]

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8469; Package emacs. (Tue, 26 Apr 2011 18:48:02 GMT) Full text and rfc822 format available.

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

From: Chong Yidong <cyd <at> stupidchicken.com>
To: emacs18 <at> gmail.com
Cc: 8469 <at> debbugs.gnu.org, Jason Rohwedder <jro <at> codegrinder.com>
Subject: Re: bug#8469: 24.0.50; package.el cannot handle long package names
Date: Tue, 26 Apr 2011 14:47:44 -0400
emacs18 <at> gmail.com, Richard Kim <emacs18 <at> gmail.com> writes:

> package.el was recently changed to make use of tabulated-list.el.
> This seems to be causing problems when a package name is too long.
> The threshold seems to be some length between 15 and 19 characters.
>
> To see the problem, start emacs with -q option, then execute the
> following code:
>
>     (require 'package)
>     (custom-set-variables
>      '(package-archives '(("tromey" . "http://tromey.com/elpa/"))))
>     (package-list-packages)
>
> This results in the stack trace shown below where the problem is with
> a package named "compilation-recenter-end" which has 24 characters long.

I think this was fixed in Leo's 2011-04-10 change; at least, I can't
reproduce this with latest trunk.




bug closed, send any further explanations to 8469 <at> debbugs.gnu.org and emacs18 <at> gmail.com Request was from Chong Yidong <cyd <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 03 May 2011 14:30:03 GMT) Full text and rfc822 format available.

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

This bug report was last modified 14 years and 28 days ago.

Previous Next


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