-
-
Notifications
You must be signed in to change notification settings - Fork 338
Closed
Description
Hi,
with latest ivy/counsel/swiper from MELPA, if I do M-x package-delete RET, I get this:
Debugger entered--Lisp error: (wrong-type-argument stringp (package-delete . 3))
intern((package-delete . 3))
#f(compiled-function (cmd) #<bytecode 0x13bbf6d>)((package-delete . 3))
ivy-call()
#f(compiled-function (arg1 arg2 &rest rest) "Read a string in the minibuffer, with completion.\n\nPROMPT is a format string, normally ending in a colon and a\nspace; %d anywhere in the string is replaced by the current\nnumber of matching candidates. For the literal % character,\nescape it with %%. See also `ivy-count-format'.\n\nCOLLECTION is either a list of strings, a function, an alist, or\na hash table.\n\nPREDICATE is applied to filter out the COLLECTION immediately.\nThis argument is for `completing-read' compat.\n\nWhen REQUIRE-MATCH is non-nil, only members of COLLECTION can be\nselected, i.e. custom text.\n\nIf INITIAL-INPUT is not nil, then insert that input in the\nminibuffer initially.\n\nHISTORY is a name of a variable to hold the completion session\nhistory.\n\nKEYMAP is composed with `ivy-minibuffer-map'.\n\nIf PRESELECT is not nil, then select the corresponding candidate\nout of the ones that match the INITIAL-INPUT.\n\nDEF is for compatibility with `completing-read'.\n\nUPDATE-FN is called each time the current candidate(s) is changed.\n\nWhen SORT is t, use `ivy-sort-functions-alist' for sorting.\n\nACTION is a lambda function to call after selecting a result. It\ntakes a single string argument.\n\nUNWIND is a lambda function to call before exiting.\n\nRE-BUILDER is a lambda function to call to transform text into a\nregex pattern.\n\nMATCHER is to override matching.\n\nDYNAMIC-COLLECTION is a boolean to specify if the list of\ncandidates is updated after each input by calling COLLECTION.\n\nCALLER is a symbol to uniquely identify the caller to `ivy-read'.\nIt is used, along with COLLECTION, to determine which\ncustomizations apply to the current completion session." #<bytecode 0x12927c5>)("M-x " ((org-agenda-list . 1) (amx-mode . 1) (buffer-menu . 1) (woman . 6) (haskell-cabal-mode . 1) (package-delete . 3) (cljr-clean-ns . 20) (dired-du-mode . 7) (version . 2) (sql-postgres . 2) (mu-face-at-point . 2) (prettify-symbols-mode . 2) (shell . 1) (proced . 1) (emacs-uptime . 1) (describe-char . 1) (dired-hide-all . 1) (list-directory . 1) (mu-reset-fonts . 1) (flyspell-buffer . 1) (package-install . 1) (cljr-thread-last-all . 1) (counsel-switch-to-shell-buffer . 1) (projectile-cleanup-known-projects . 1) (cd) (ff) (5x5) (amx) (arp) (dbx) (dig) (erc) (ert) (eww) (ftp) (gdb) (irc) (jdb) (man) (mpc) (pdb) (pwd) (rsh) (sdb) (shx) (xdb) (calc) (diff) (dirs) (ffap) ...) :predicate nil :require-match t :history counsel-M-x-history :action #f(compiled-function (cmd) #<bytecode 0x13bbf6d>) :sort nil :keymap (keymap (67108908 . counsel--info-lookup-symbol) (67108910 . counsel-find-symbol)) :initial-input nil :caller counsel-M-x)
apply(#f(compiled-function (arg1 arg2 &rest rest) "Read a string in the minibuffer, with completion.\n\nPROMPT is a format string, normally ending in a colon and a\nspace; %d anywhere in the string is replaced by the current\nnumber of matching candidates. For the literal % character,\nescape it with %%. See also `ivy-count-format'.\n\nCOLLECTION is either a list of strings, a function, an alist, or\na hash table.\n\nPREDICATE is applied to filter out the COLLECTION immediately.\nThis argument is for `completing-read' compat.\n\nWhen REQUIRE-MATCH is non-nil, only members of COLLECTION can be\nselected, i.e. custom text.\n\nIf INITIAL-INPUT is not nil, then insert that input in the\nminibuffer initially.\n\nHISTORY is a name of a variable to hold the completion session\nhistory.\n\nKEYMAP is composed with `ivy-minibuffer-map'.\n\nIf PRESELECT is not nil, then select the corresponding candidate\nout of the ones that match the INITIAL-INPUT.\n\nDEF is for compatibility with `completing-read'.\n\nUPDATE-FN is called each time the current candidate(s) is changed.\n\nWhen SORT is t, use `ivy-sort-functions-alist' for sorting.\n\nACTION is a lambda function to call after selecting a result. It\ntakes a single string argument.\n\nUNWIND is a lambda function to call before exiting.\n\nRE-BUILDER is a lambda function to call to transform text into a\nregex pattern.\n\nMATCHER is to override matching.\n\nDYNAMIC-COLLECTION is a boolean to specify if the list of\ncandidates is updated after each input by calling COLLECTION.\n\nCALLER is a symbol to uniquely identify the caller to `ivy-read'.\nIt is used, along with COLLECTION, to determine which\ncustomizations apply to the current completion session." #<bytecode 0x12927c5>) ("M-x " ((org-agenda-list . 1) (amx-mode . 1) (buffer-menu . 1) (woman . 6) (haskell-cabal-mode . 1) (package-delete . 3) (cljr-clean-ns . 20) (dired-du-mode . 7) (version . 2) (sql-postgres . 2) (mu-face-at-point . 2) (prettify-symbols-mode . 2) (shell . 1) (proced . 1) (emacs-uptime . 1) (describe-char . 1) (dired-hide-all . 1) (list-directory . 1) (mu-reset-fonts . 1) (flyspell-buffer . 1) (package-install . 1) (cljr-thread-last-all . 1) (counsel-switch-to-shell-buffer . 1) (projectile-cleanup-known-projects . 1) (cd) (ff) (5x5) (amx) (arp) (dbx) (dig) (erc) (ert) (eww) (ftp) (gdb) (irc) (jdb) (man) (mpc) (pdb) (pwd) (rsh) (sdb) (shx) (xdb) (calc) (diff) (dirs) (ffap) ...) :predicate nil :require-match t :history counsel-M-x-history :action #f(compiled-function (cmd) #<bytecode 0x13bbf6d>) :sort nil :keymap (keymap (67108908 . counsel--info-lookup-symbol) (67108910 . counsel-find-symbol)) :initial-input nil :caller counsel-M-x))
ivy-historian--nadvice/ivy-read(#f(compiled-function (arg1 arg2 &rest rest) "Read a string in the minibuffer, with completion.\n\nPROMPT is a format string, normally ending in a colon and a\nspace; %d anywhere in the string is replaced by the current\nnumber of matching candidates. For the literal % character,\nescape it with %%. See also `ivy-count-format'.\n\nCOLLECTION is either a list of strings, a function, an alist, or\na hash table.\n\nPREDICATE is applied to filter out the COLLECTION immediately.\nThis argument is for `completing-read' compat.\n\nWhen REQUIRE-MATCH is non-nil, only members of COLLECTION can be\nselected, i.e. custom text.\n\nIf INITIAL-INPUT is not nil, then insert that input in the\nminibuffer initially.\n\nHISTORY is a name of a variable to hold the completion session\nhistory.\n\nKEYMAP is composed with `ivy-minibuffer-map'.\n\nIf PRESELECT is not nil, then select the corresponding candidate\nout of the ones that match the INITIAL-INPUT.\n\nDEF is for compatibility with `completing-read'.\n\nUPDATE-FN is called each time the current candidate(s) is changed.\n\nWhen SORT is t, use `ivy-sort-functions-alist' for sorting.\n\nACTION is a lambda function to call after selecting a result. It\ntakes a single string argument.\n\nUNWIND is a lambda function to call before exiting.\n\nRE-BUILDER is a lambda function to call to transform text into a\nregex pattern.\n\nMATCHER is to override matching.\n\nDYNAMIC-COLLECTION is a boolean to specify if the list of\ncandidates is updated after each input by calling COLLECTION.\n\nCALLER is a symbol to uniquely identify the caller to `ivy-read'.\nIt is used, along with COLLECTION, to determine which\ncustomizations apply to the current completion session." #<bytecode 0x12927c5>) "M-x " ((org-agenda-list . 1) (amx-mode . 1) (buffer-menu . 1) (woman . 6) (haskell-cabal-mode . 1) (package-delete . 3) (cljr-clean-ns . 20) (dired-du-mode . 7) (version . 2) (sql-postgres . 2) (mu-face-at-point . 2) (prettify-symbols-mode . 2) (shell . 1) (proced . 1) (emacs-uptime . 1) (describe-char . 1) (dired-hide-all . 1) (list-directory . 1) (mu-reset-fonts . 1) (flyspell-buffer . 1) (package-install . 1) (cljr-thread-last-all . 1) (counsel-switch-to-shell-buffer . 1) (projectile-cleanup-known-projects . 1) (cd) (ff) (5x5) (amx) (arp) (dbx) (dig) (erc) (ert) (eww) (ftp) (gdb) (irc) (jdb) (man) (mpc) (pdb) (pwd) (rsh) (sdb) (shx) (xdb) (calc) (diff) (dirs) (ffap) ...) :predicate nil :require-match t :history counsel-M-x-history :action #f(compiled-function (cmd) #<bytecode 0x13bbf6d>) :sort nil :keymap (keymap (67108908 . counsel--info-lookup-symbol) (67108910 . counsel-find-symbol)) :initial-input nil :caller counsel-M-x)
apply(ivy-historian--nadvice/ivy-read #f(compiled-function (arg1 arg2 &rest rest) "Read a string in the minibuffer, with completion.\n\nPROMPT is a format string, normally ending in a colon and a\nspace; %d anywhere in the string is replaced by the current\nnumber of matching candidates. For the literal % character,\nescape it with %%. See also `ivy-count-format'.\n\nCOLLECTION is either a list of strings, a function, an alist, or\na hash table.\n\nPREDICATE is applied to filter out the COLLECTION immediately.\nThis argument is for `completing-read' compat.\n\nWhen REQUIRE-MATCH is non-nil, only members of COLLECTION can be\nselected, i.e. custom text.\n\nIf INITIAL-INPUT is not nil, then insert that input in the\nminibuffer initially.\n\nHISTORY is a name of a variable to hold the completion session\nhistory.\n\nKEYMAP is composed with `ivy-minibuffer-map'.\n\nIf PRESELECT is not nil, then select the corresponding candidate\nout of the ones that match the INITIAL-INPUT.\n\nDEF is for compatibility with `completing-read'.\n\nUPDATE-FN is called each time the current candidate(s) is changed.\n\nWhen SORT is t, use `ivy-sort-functions-alist' for sorting.\n\nACTION is a lambda function to call after selecting a result. It\ntakes a single string argument.\n\nUNWIND is a lambda function to call before exiting.\n\nRE-BUILDER is a lambda function to call to transform text into a\nregex pattern.\n\nMATCHER is to override matching.\n\nDYNAMIC-COLLECTION is a boolean to specify if the list of\ncandidates is updated after each input by calling COLLECTION.\n\nCALLER is a symbol to uniquely identify the caller to `ivy-read'.\nIt is used, along with COLLECTION, to determine which\ncustomizations apply to the current completion session." #<bytecode 0x12927c5>) ("M-x " ((org-agenda-list . 1) (amx-mode . 1) (buffer-menu . 1) (woman . 6) (haskell-cabal-mode . 1) (package-delete . 3) (cljr-clean-ns . 20) (dired-du-mode . 7) (version . 2) (sql-postgres . 2) (mu-face-at-point . 2) (prettify-symbols-mode . 2) (shell . 1) (proced . 1) (emacs-uptime . 1) (describe-char . 1) (dired-hide-all . 1) (list-directory . 1) (mu-reset-fonts . 1) (flyspell-buffer . 1) (package-install . 1) (cljr-thread-last-all . 1) (counsel-switch-to-shell-buffer . 1) (projectile-cleanup-known-projects . 1) (cd) (ff) (5x5) (amx) (arp) (dbx) (dig) (erc) (ert) (eww) (ftp) (gdb) (irc) (jdb) (man) (mpc) (pdb) (pwd) (rsh) (sdb) (shx) (xdb) (calc) (diff) (dirs) (ffap) ...) :predicate nil :require-match t :history counsel-M-x-history :action #f(compiled-function (cmd) #<bytecode 0x13bbf6d>) :sort nil :keymap (keymap (67108908 . counsel--info-lookup-symbol) (67108910 . counsel-find-symbol)) :initial-input nil :caller counsel-M-x))
ivy-read("M-x " ((org-agenda-list . 1) (amx-mode . 1) (buffer-menu . 1) (woman . 6) (haskell-cabal-mode . 1) (package-delete . 3) (cljr-clean-ns . 20) (dired-du-mode . 7) (version . 2) (sql-postgres . 2) (mu-face-at-point . 2) (prettify-symbols-mode . 2) (shell . 1) (proced . 1) (emacs-uptime . 1) (describe-char . 1) (dired-hide-all . 1) (list-directory . 1) (mu-reset-fonts . 1) (flyspell-buffer . 1) (package-install . 1) (cljr-thread-last-all . 1) (counsel-switch-to-shell-buffer . 1) (projectile-cleanup-known-projects . 1) (cd) (ff) (5x5) (amx) (arp) (dbx) (dig) (erc) (ert) (eww) (ftp) (gdb) (irc) (jdb) (man) (mpc) (pdb) (pwd) (rsh) (sdb) (shx) (xdb) (calc) (diff) (dirs) (ffap) ...) :predicate nil :require-match t :history counsel-M-x-history :action #f(compiled-function (cmd) #<bytecode 0x13bbf6d>) :sort nil :keymap (keymap (67108908 . counsel--info-lookup-symbol) (67108910 . counsel-find-symbol)) :initial-input nil :caller counsel-M-x)
counsel-M-x()
funcall-interactively(counsel-M-x)
call-interactively(counsel-M-x nil nil)
command-execute(counsel-M-x)
Some details about my environment:
GNU Emacs 27.0.50 (build 1, x86_64-debian-linux-gnu, GTK+ Version 3.22.30)
of 2018-06-08
Repository revision: 416ba369c4ee2592d226eef68aeb4ad35ffea61d
Configured using:
--host=x86_64-debian-linux-gnu
Emacs uptime: 1 minute, 29 seconds
Colour theme: sanityinc-tomorrow-night
Operating system: Ubuntu 18.04 LTS
Window system: x11
Desktop environment: GNOME Shell 3.28.1
The same command works if I do:
emacs -Q- M-x package-initialize
- M-x package-delete RET
ryankask
Metadata
Metadata
Assignees
Labels
No labels