technomancy / emacs-starter-kit

[ARCHIVED] this is ancient history
GNU General Public License v3.0
2.87k stars 888 forks source link

Symbol's value as variable is void: collection #142

Closed slackorama closed 12 years ago

slackorama commented 12 years ago

I'm not sure if this problem is with emacs-starter-kit, ido-ubiquitous or emacs-snapshot but this problem popped up for me.

Emacs version: GNU Emacs 24.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.4.1) of 2012-05-24 on rhenium, modified by Debian

To wit:

  1. emacs-snapshot -Q
  2. Eval: (require 'package) (add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/") t) (package-initialize) (setq package-user-dir "/tmp/elpa") (package-refresh-contents) (package-install 'starter-kit)
  3. After it finishes, type C-h f and you get:

    let: Symbol's value as variable is void: collection

Full stack trace: Debugger entered--Lisp error: (void-variable collection) (all-completions "" collection predicate) (let ((allcomp (all-completions "" collection predicate))) (if allcomp (setq ad-return-value (ido-completing-read prompt allcomp nil require-match initial-input hist def)) (setq ad-return-value (ad-Orig-completing-read arg1 arg2 arg3 arg4 arg5 arg6 arg7 arg8)))) (if (or (not ido-mode) (not ido-ubiquitous-mode) (memq this-command ido-ubiquitous-command-exceptions) (boundp (quote ido-cur-item))) (setq ad-return-value (ad-Orig-completing-read arg1 arg2 arg3 arg4 arg5 arg6 arg7 arg8)) (let ((allcomp (all-completions "" collection predicate))) (if allcomp (setq ad-return-value (ido-completing-read prompt allcomp nil require-match initial-input hist def)) (setq ad-return-value (ad-Orig-completing-read arg1 arg2 arg3 arg4 arg5 arg6 arg7 arg8))))) (let (ad-return-value) (if (or (not ido-mode) (not ido-ubiquitous-mode) (memq this-command ido-ubiquitous-command-exceptions) (boundp (quote ido-cur-item))) (setq ad-return-value (ad-Orig-completing-read arg1 arg2 arg3 arg4 arg5 arg6 arg7 arg8)) (let ((allcomp (all-completions "" collection predicate))) (if allcomp (setq ad-return-value (ido-completing-read prompt allcomp nil require-match initial-input hist def)) (setq ad-return-value (ad-Orig-completing-read arg1 arg2 arg3 arg4 arg5 arg6 arg7 arg8))))) ad-return-value) completing-read("Describe function: " [ansi-color-faces-vector esh-arg widget-choice-toggle widget-sexp-prompt-value viper-util bwin hilit-yank eshell-pred verilog-mode-indent recentf-expand-file-name org-taskjuggler url-http-default-port erc-log url-mime-content-type-charset-regexp misearch org-archive nnir comint-redirect-filter slot-boundp ediff-merg nnmail-files gnus-article-highlight cal-html _enter-regexp-alist tar-mode-offset erc-mode-line-and-header ftnchek recentf-dump-variable history-isearch-backward gnus-score-expire new-dir tar-subfile-mode logging erc-autoaway widget-button-pressed-face comint-insert-previous-argument-last-start-pos custom-faces em-script widget-button-click-moves-point tree-widget--locate-sub-directory org-export-pdf widget-parent-action widget-field-text-end url-cookie-timer recentf-elements message-buffers comint-dynamic-list-completions ps-print-printer :action fill-delete-prefix ...] fboundp t nil nil nil) byte-code("\302 \303\304\304\262\305\203

DarwinAwardWinner commented 12 years ago

It's a problem with the Debian packages. They mis-named a file that tells emacs the argument names for built-in functions, which causes ido-ubiquitous to fail because it uses those argument names.

https://github.com/DarwinAwardWinner/ido-ubiquitous/issues/3

DarwinAwardWinner commented 12 years ago

https://bugs.launchpad.net/emacs-snapshot/+bug/1003928