all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: emacs18@gmail.com
To: 8469@debbugs.gnu.org
Subject: bug#8469: 24.0.50; package.el cannot handle long package names
Date: Sun, 10 Apr 2011 12:38:07 -0700	[thread overview]
Message-ID: <qtmzknxvqw0.fsf@gmail.com> (raw)

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	other threads:[~2011-04-10 19:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-10 19:38 emacs18 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=qtmzknxvqw0.fsf@gmail.com \
    --to=emacs18@gmail.com \
    --cc=8469@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.