bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#8469: 24.0.50; package.el cannot handle long package names


From: emacs18
Subject: bug#8469: 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]