all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#8469: 24.0.50; package.el cannot handle long package names
@ 2011-04-10 19:38 emacs18
  2011-04-25 18:34 ` bug#8469: me too Jason Rohwedder
  2011-04-26 18:47 ` bug#8469: 24.0.50; package.el cannot handle long package names Chong Yidong
  0 siblings, 2 replies; 3+ messages in thread
From: emacs18 @ 2011-04-10 19:38 UTC (permalink / raw)
  To: 8469

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.





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

* bug#8469: me too
  2011-04-10 19:38 bug#8469: 24.0.50; package.el cannot handle long package names emacs18
@ 2011-04-25 18:34 ` Jason Rohwedder
  2011-04-26 18:47 ` bug#8469: 24.0.50; package.el cannot handle long package names Chong Yidong
  1 sibling, 0 replies; 3+ messages in thread
From: Jason Rohwedder @ 2011-04-25 18:34 UTC (permalink / raw)
  To: 8469

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

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/

[-- Attachment #2: Type: text/html, Size: 674 bytes --]

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

* bug#8469: 24.0.50; package.el cannot handle long package names
  2011-04-10 19:38 bug#8469: 24.0.50; package.el cannot handle long package names emacs18
  2011-04-25 18:34 ` bug#8469: me too Jason Rohwedder
@ 2011-04-26 18:47 ` Chong Yidong
  1 sibling, 0 replies; 3+ messages in thread
From: Chong Yidong @ 2011-04-26 18:47 UTC (permalink / raw)
  To: emacs18; +Cc: 8469, Jason Rohwedder

emacs18@gmail.com, Richard Kim <emacs18@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.





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

end of thread, other threads:[~2011-04-26 18:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-10 19:38 bug#8469: 24.0.50; package.el cannot handle long package names emacs18
2011-04-25 18:34 ` bug#8469: me too Jason Rohwedder
2011-04-26 18:47 ` bug#8469: 24.0.50; package.el cannot handle long package names Chong Yidong

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.