all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* "Wrong type argument" with latest emacs-snapshot
@ 2013-06-21 21:29 Lele Gaifax
  2013-06-21 21:58 ` Peter Dyballa
  0 siblings, 1 reply; 2+ messages in thread
From: Lele Gaifax @ 2013-06-21 21:29 UTC (permalink / raw)
  To: help-gnu-emacs

Hi all,

today a friend asked me some help, since while trying to install Emacs
on a new Debian "sid" machine, he got some wierd error when
bootstrapping my own variation of the popular starter-kit setup.

Effectively, after upgrading my own machine from emacs-snapshot
2:20130603 to 2:20130618, I was able to replicate the problem, narrowing
the setup to the following ~/.emacs:

    (require 'package)
    (add-to-list 'package-archives
                 '("melpa" . "http://melpa.milkbox.net/packages/") t)
    (add-to-list 'package-archives
                 '("marmalade" . "http://marmalade-repo.org/packages/") t)
    (package-initialize)

    (defvar packages (list 'auto-complete 'darcsum))

    (defun install-packages ()
      (interactive)
      (dolist (package packages)
        (unless (or (member package package-activated-list)
                    (functionp package))
          (message "Installing %s" (symbol-name package))
          (package-install package))))

    (install-packages)

which while working perfectly with the previous version, triggers the
following error with the latest version:

    Wrong type argument: arrayp, auto-complete

I tried using the "--debug-init" option, as well as digging a little
with the elisp debugger, but I was not able to understand what is going
wrong with the new version: as soon as I reach (and execute) the
following lines of the `package-install` function I get the error

  (package-download-transaction
   ;; FIXME: Use (list pkg-desc) instead of just the name.
   (package-compute-transaction (list (package-desc-name pkg-desc))
                                (package-desc-reqs pkg-desc))))


If I install the packages interactively with M-x package-install
everything works as expected, and Emacs starts up without errors with
the setup above.

Do you have any hint about the possible reason for the reported error?

Thanks a lot in advance,
bye, lele.
-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele@metapensiero.it  |                 -- Fortunato Depero, 1929.




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

* Re: "Wrong type argument" with latest emacs-snapshot
  2013-06-21 21:29 "Wrong type argument" with latest emacs-snapshot Lele Gaifax
@ 2013-06-21 21:58 ` Peter Dyballa
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Dyballa @ 2013-06-21 21:58 UTC (permalink / raw)
  To: Lele Gaifax; +Cc: help-gnu-emacs


Am 21.06.2013 um 23:29 schrieb Lele Gaifax:

>    Wrong type argument: arrayp, auto-complete

This can happen with snapshots. Just wait for the next one!

--
Greetings

  Pete

The next generation of interesting software will be done on the Macintosh, not the IBM PC.
				– Bill Gates, Nov 1984)




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

end of thread, other threads:[~2013-06-21 21:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-21 21:29 "Wrong type argument" with latest emacs-snapshot Lele Gaifax
2013-06-21 21:58 ` Peter Dyballa

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.