abo-abo / swiper

Ivy - a generic completion frontend for Emacs, Swiper - isearch with an overview, and more. Oh, man!
https://oremacs.com/swiper/
2.29k stars 338 forks source link

Byte-compiler seems unable to find `ivy-update-candidates` in counsel.el #2269

Closed leungbk closed 4 years ago

leungbk commented 4 years ago

If I write (require 'ivy) or (declare-function ivy-update-candidates "ext:ivy") in counsel.el, then searching for taylor swift with counsel-google works as expected. The (require 'swiper) at the beginning of counsel.el ought to make this change unnecessary, I would think.

But presently, without that change, counsel-google doesn't work for me:

Debugger entered--Lisp error: (void-function ivy-update-candidates)
  (ivy-update-candidates ("taylor swift" "tay k" "taylor swift lover" "taylor lautner" "taycan" "taylor swift boyfriend" "taylor swift net worth" "taysom hill" "taye diggs" "taylor swift songs"))
  (#f(compiled-function (&rest rest) #<bytecode 0x2d1c869>) :data ["tay" ["taylor swift" "tay k" "taylor swift lover" "taylor lautner" "taycan" "taylor swift boyfriend" "taylor swift net worth" "taysom hill" "taye diggs" "taylor swift songs"]] :symbol-status success :error-thrown nil :response #s(request-response :status-code 200 :history nil :data ["tay" ["taylor swift" "tay k" "taylor swift lover" "taylor lautner" "taycan" "taylor swift boyfriend" "taylor swift net worth" "taysom hill" "taye diggs" "taylor swift songs"]] :error-thrown nil :symbol-status success :url "http://suggestqueries.google.com/complete/search?client=firefox&q=tay" :done-p nil :settings (:type "GET" :params (("client" . "firefox") ("q" . "tay")) :parser json-read :success #f(compiled-function (&rest rest) #<bytecode 0x2d1c869>) :error #f(compiled-function (&rest args2) #<bytecode 0x36b3431>) :url "http://suggestqueries.google.com/complete/search?client=firefox&q=tay" :response #9 :encoding utf-8) :-buffer #<killed buffer> :-raw-header "HTTP/1.1 200 OK\nDate: Thu, 10 Oct 2019 18:29:33 GMT\nPragma: no-cache\nExpires: -1\nCache-Control: no-cache, must-revalidate\nContent-Type: text/javascript; charset=ISO-8859-1\nContent-Disposition: attachment; filename=\"f.txt\"\nContent-Encoding: gzip\nServer: gws\nContent-Length: 110\nX-XSS-Protection: 0\nX-Frame-Options: SAMEORIGIN\n" :-timer nil :-backend curl :-tempfiles nil))
  (apply #f(compiled-function (&rest rest) #<bytecode 0x2d1c869>) (:data ["tay" ["taylor swift" "tay k" "taylor swift lover" "taylor lautner" "taycan" "taylor swift boyfriend" "taylor swift net worth" "taysom hill" "taye diggs" "taylor swift songs"]] :symbol-status success :error-thrown nil :response #s(request-response :status-code 200 :history nil :data ["tay" ["taylor swift" "tay k" "taylor swift lover" "taylor lautner" "taycan" "taylor swift boyfriend" "taylor swift net worth" "taysom hill" "taye diggs" "taylor swift songs"]] :error-thrown nil :symbol-status success :url "http://suggestqueries.google.com/complete/search?client=firefox&q=tay" :done-p nil :settings (:type "GET" :params (("client" . "firefox") ("q" . "tay")) :parser json-read :success #f(compiled-function (&rest rest) #<bytecode 0x2d1c869>) :error #f(compiled-function (&rest args2) #<bytecode 0x36b3431>) :url "http://suggestqueries.google.com/complete/search?client=firefox&q=tay" :response #11 :encoding utf-8) :-buffer #<killed buffer> :-raw-header "HTTP/1.1 200 OK\nDate: Thu, 10 Oct 2019 18:29:33 GMT\nPragma: no-cache\nExpires: -1\nCache-Control: no-cache, must-revalidate\nContent-Type: text/javascript; charset=ISO-8859-1\nContent-Disposition: attachment; filename=\"f.txt\"\nContent-Encoding: gzip\nServer: gws\nContent-Length: 110\nX-XSS-Protection: 0\nX-Frame-Options: SAMEORIGIN\n" :-timer nil :-backend curl :-tempfiles nil)))
  (apply apply #f(compiled-function (&rest rest) #<bytecode 0x2d1c869>) (:data ["tay" ["taylor swift" "tay k" "taylor swift lover" "taylor lautner" "taycan" "taylor swift boyfriend" "taylor swift net worth" "taysom hill" "taye diggs" "taylor swift songs"]] :symbol-status success :error-thrown nil :response #s(request-response :status-code 200 :history nil :data ["tay" ["taylor swift" "tay k" "taylor swift lover" "taylor lautner" "taycan" "taylor swift boyfriend" "taylor swift net worth" "taysom hill" "taye diggs" "taylor swift songs"]] :error-thrown nil :symbol-status success :url "http://suggestqueries.google.com/complete/search?client=firefox&q=tay" :done-p nil :settings (:type "GET" :params (("client" . "firefox") ("q" . "tay")) :parser json-read :success #f(compiled-function (&rest rest) #<bytecode 0x2d1c869>) :error #f(compiled-function (&rest args2) #<bytecode 0x36b3431>) :url "http://suggestqueries.google.com/complete/search?client=firefox&q=tay" :response #12 :encoding utf-8) :-buffer #<killed buffer> :-raw-header "HTTP/1.1 200 OK\nDate: Thu, 10 Oct 2019 18:29:33 GMT\nPragma: no-cache\nExpires: -1\nCache-Control: no-cache, must-revalidate\nContent-Type: text/javascript; charset=ISO-8859-1\nContent-Disposition: attachment; filename=\"f.txt\"\nContent-Encoding: gzip\nServer: gws\nContent-Length: 110\nX-XSS-Protection: 0\nX-Frame-Options: SAMEORIGIN\n" :-timer nil :-backend curl :-tempfiles nil)))
  (request--safe-apply #f(compiled-function (&rest rest) #<bytecode 0x2d1c869>) (:data ["tay" ["taylor swift" "tay k" "taylor swift lover" "taylor lautner" "taycan" "taylor swift boyfriend" "taylor swift net worth" "taysom hill" "taye diggs" "taylor swift songs"]] :symbol-status success :error-thrown nil :response #s(request-response :status-code 200 :history nil :data ["tay" ["taylor swift" "tay k" "taylor swift lover" "taylor lautner" "taycan" "taylor swift boyfriend" "taylor swift net worth" "taysom hill" "taye diggs" "taylor swift songs"]] :error-thrown nil :symbol-status success :url "http://suggestqueries.google.com/complete/search?client=firefox&q=tay" :done-p nil :settings (:type "GET" :params (("client" . "firefox") ("q" . "tay")) :parser json-read :success #f(compiled-function (&rest rest) #<bytecode 0x2d1c869>) :error #f(compiled-function (&rest args2) #<bytecode 0x36b3431>) :url "http://suggestqueries.google.com/complete/search?client=firefox&q=tay" :response #11 :encoding utf-8) :-buffer #<killed buffer> :-raw-header "HTTP/1.1 200 OK\nDate: Thu, 10 Oct 2019 18:29:33 GMT\nPragma: no-cache\nExpires: -1\nCache-Control: no-cache, must-revalidate\nContent-Type: text/javascript; charset=ISO-8859-1\nContent-Disposition: attachment; filename=\"f.txt\"\nContent-Encoding: gzip\nServer: gws\nContent-Length: 110\nX-XSS-Protection: 0\nX-Frame-Options: SAMEORIGIN\n" :-timer nil :-backend curl :-tempfiles nil)))
  (request--callback #<killed buffer> :type "GET" :params (("client" . "firefox") ("q" . "tay")) :parser json-read :success #f(compiled-function (&rest rest) #<bytecode 0x2d1c869>) :error #f(compiled-function (&rest args2) #<bytecode 0x36b3431>) :url "http://suggestqueries.google.com/complete/search?client=firefox&q=tay" :response #s(request-response :status-code 200 :history nil :data ["tay" ["taylor swift" "tay k" "taylor swift lover" "taylor lautner" "taycan" "taylor swift boyfriend" "taylor swift net worth" "taysom hill" "taye diggs" "taylor swift songs"]] :error-thrown nil :symbol-status success :url "http://suggestqueries.google.com/complete/search?client=firefox&q=tay" :done-p nil :settings (:type "GET" :params (("client" . "firefox") ("q" . "tay")) :parser json-read :success #f(compiled-function (&rest rest) #<bytecode 0x2d1c869>) :error #f(compiled-function (&rest args2) #<bytecode 0x36b3431>) :url "http://suggestqueries.google.com/complete/search?client=firefox&q=tay" :response #16 :encoding utf-8) :-buffer #<killed buffer> :-raw-header "HTTP/1.1 200 OK\nDate: Thu, 10 Oct 2019 18:29:33 GMT\nPragma: no-cache\nExpires: -1\nCache-Control: no-cache, must-revalidate\nContent-Type: text/javascript; charset=ISO-8859-1\nContent-Disposition: attachment; filename=\"f.txt\"\nContent-Encoding: gzip\nServer: gws\nContent-Length: 110\nX-XSS-Protection: 0\nX-Frame-Options: SAMEORIGIN\n" :-timer nil :-backend curl :-tempfiles nil) :encoding utf-8)
  (apply request--callback #<killed buffer> (:type "GET" :params (("client" . "firefox") ("q" . "tay")) :parser json-read :success #f(compiled-function (&rest rest) #<bytecode 0x2d1c869>) :error #f(compiled-function (&rest args2) #<bytecode 0x36b3431>) :url "http://suggestqueries.google.com/complete/search?client=firefox&q=tay" :response #s(request-response :status-code 200 :history nil :data ["tay" ["taylor swift" "tay k" "taylor swift lover" "taylor lautner" "taycan" "taylor swift boyfriend" "taylor swift net worth" "taysom hill" "taye diggs" "taylor swift songs"]] :error-thrown nil :symbol-status success :url "http://suggestqueries.google.com/complete/search?client=firefox&q=tay" :done-p nil :settings #4 :-buffer #<killed buffer> :-raw-header "HTTP/1.1 200 OK\nDate: Thu, 10 Oct 2019 18:29:33 GMT\nPragma: no-cache\nExpires: -1\nCache-Control: no-cache, must-revalidate\nContent-Type: text/javascript; charset=ISO-8859-1\nContent-Disposition: attachment; filename=\"f.txt\"\nContent-Encoding: gzip\nServer: gws\nContent-Length: 110\nX-XSS-Protection: 0\nX-Frame-Options: SAMEORIGIN\n" :-timer nil :-backend curl :-tempfiles nil) :encoding utf-8))
  (request--curl-callback #<process request curl> "finished\n")
  (read-from-minibuffer "search: " nil (keymap keymap (23 . ivy-yank-word) (20 . ivy-dispatching-done) (8 . ivy-dispatching-call) (up . ivy-previous-line-or-history) (21 . minibuffer-restart-with-prefix+) (36 . ivy-magic-read-file-env) (3 keymap (114 . ivy-occur) (19 . ivy-rotate-sort) (1 . ivy-toggle-ignore) (15 . ivy-occur)) (67108903 . ivy-avy) (33554464 . ivy-restrict-to-matches) (15 . hydra-ivy/body) (22 . ivy-scroll-up-command) (prior . ivy-scroll-down-command) (next . ivy-scroll-up-command) (7 . minibuffer-keyboard-quit) (right . ivy-forward-char) (32 . self-insert-command) (18 . ivy-reverse-i-search) (19 . ivy-next-line-or-history) (remap keymap (describe-mode . ivy-help) (kill-ring-save . ivy-kill-ring-save) (kill-whole-line . ivy-kill-whole-line) (kill-line . ivy-kill-line) (scroll-down-command . ivy-scroll-down-command) (scroll-up-command . ivy-scroll-up-command) (end-of-buffer . ivy-end-of-buffer) (beginning-of-buffer . ivy-beginning-of-buffer) (kill-word . ivy-kill-word) (forward-char . ivy-forward-char) (delete-char . ivy-delete-char) (backward-kill-word . ivy-backward-kill-word) (backward-delete-char-untabify . ivy-backward-delete-char) (delete-backward-char . ivy-backward-delete-char) (previous-line . ivy-previous-line) (next-line . ivy-next-line)) (9 . ivy-partial-or-done) (10 . ivy-done) (27 keymap (1 . ivy-read-action) (15 . ivy-dispatching-call) (111 . ivy-dispatching-done) (25 . ivy-insert-current-full) (105 . ivy-insert-current) (106 . ivy-yank-word) (114 . ivy-toggle-regexp-quote) (16 . ivy-previous-line-and-call) (14 . ivy-next-line-and-call) (118 . ivy-scroll-down-command) (112 . ivy-previous-history-element) (110 . ivy-next-history-element) (10 . ivy-immediate-done) (13 . ivy-call)) (mouse-3 . ivy-mouse-dispatching-done) (mouse-1 . ivy-mouse-done) (down-mouse-1 . ignore) (13 . ivy-alt-done)) nil ivy-history)
  (#f(compiled-function (arg1 arg2 &rest rest) "Read a string in the minibuffer, with completion.\n\nPROMPT is a string, normally ending in a colon and a space.\n`ivy-count-format' is prepended to PROMPT during completion.\n\nCOLLECTION is either a list of strings, a function, an alist, or\na hash table, supplied for `minibuffer-completion-table'.\n\nPREDICATE is applied to filter out the COLLECTION immediately.\nThis argument is for compatibility with `completing-read'.\n\nWhen REQUIRE-MATCH is non-nil, only members of COLLECTION can be\nselected.\n\nIf INITIAL-INPUT is non-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\nPRESELECT, when non-nil, determines which one of the candidates\nmatching INITIAL-INPUT to select initially.  An integer stands\nfor the position of the desired candidate in the collection,\ncounting from zero.  Otherwise, use the first occurrence of\nPRESELECT in the collection.  Comparison is first done with\n`equal'.  If that fails, and when applicable, match PRESELECT as\na regular expression.\n\nDEF is for compatibility with `completing-read'.\n\nUPDATE-FN is called each time the candidate list is re-displayed.\n\nWhen SORT is non-nil, `ivy-sort-functions-alist' determines how\nto sort candidates before displaying them.\n\nACTION is a function to call after selecting a candidate.\nIt takes one argument, the selected candidate. If COLLECTION is\nan alist, the argument is a cons cell, otherwise it's a string.\n\nMULTI-ACTION, when non-nil, is called instead of ACTION when\nthere are marked candidates. It takes the list of candidates as\nits only argument. When it's nil, ACTION is called on each marked\ncandidate.\n\nUNWIND is a function of no arguments to call before exiting.\n\nRE-BUILDER is a function transforming input text into a regex\npattern.\n\nMATCHER is a function which can override how candidates are\nfiltered based on user input.  It takes a regex pattern and a\nlist of candidates, and returns the list of matching candidates.\n\nDYNAMIC-COLLECTION is a boolean specifying whether 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 0x2565bd1>) "search: " counsel-google-function :action #f(compiled-function (x) #<bytecode 0x2d1c8a9>) :dynamic-collection t :caller counsel-google)
  (apply #f(compiled-function (arg1 arg2 &rest rest) "Read a string in the minibuffer, with completion.\n\nPROMPT is a string, normally ending in a colon and a space.\n`ivy-count-format' is prepended to PROMPT during completion.\n\nCOLLECTION is either a list of strings, a function, an alist, or\na hash table, supplied for `minibuffer-completion-table'.\n\nPREDICATE is applied to filter out the COLLECTION immediately.\nThis argument is for compatibility with `completing-read'.\n\nWhen REQUIRE-MATCH is non-nil, only members of COLLECTION can be\nselected.\n\nIf INITIAL-INPUT is non-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\nPRESELECT, when non-nil, determines which one of the candidates\nmatching INITIAL-INPUT to select initially.  An integer stands\nfor the position of the desired candidate in the collection,\ncounting from zero.  Otherwise, use the first occurrence of\nPRESELECT in the collection.  Comparison is first done with\n`equal'.  If that fails, and when applicable, match PRESELECT as\na regular expression.\n\nDEF is for compatibility with `completing-read'.\n\nUPDATE-FN is called each time the candidate list is re-displayed.\n\nWhen SORT is non-nil, `ivy-sort-functions-alist' determines how\nto sort candidates before displaying them.\n\nACTION is a function to call after selecting a candidate.\nIt takes one argument, the selected candidate. If COLLECTION is\nan alist, the argument is a cons cell, otherwise it's a string.\n\nMULTI-ACTION, when non-nil, is called instead of ACTION when\nthere are marked candidates. It takes the list of candidates as\nits only argument. When it's nil, ACTION is called on each marked\ncandidate.\n\nUNWIND is a function of no arguments to call before exiting.\n\nRE-BUILDER is a function transforming input text into a regex\npattern.\n\nMATCHER is a function which can override how candidates are\nfiltered based on user input.  It takes a regex pattern and a\nlist of candidates, and returns the list of matching candidates.\n\nDYNAMIC-COLLECTION is a boolean specifying whether 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 0x2565bd1>) ("search: " counsel-google-function :action #f(compiled-function (x) #<bytecode 0x2d1c8a9>) :dynamic-collection t :caller counsel-google))
  (ivy-read "search: " counsel-google-function :action #f(compiled-function (x) #<bytecode 0x2d1c8a9>) :dynamic-collection t :caller counsel-google)
  (counsel-google)
  (funcall-interactively counsel-google)
  (call-interactively counsel-google record nil)
  (command-execute counsel-google record)
  (counsel-M-x-action "counsel-google")
  (#f(compiled-function (x) #<bytecode 0x3318729>) "counsel-google")
  (ivy-call)
  (#f(compiled-function (arg1 arg2 &rest rest) "Read a string in the minibuffer, with completion.\n\nPROMPT is a string, normally ending in a colon and a space.\n`ivy-count-format' is prepended to PROMPT during completion.\n\nCOLLECTION is either a list of strings, a function, an alist, or\na hash table, supplied for `minibuffer-completion-table'.\n\nPREDICATE is applied to filter out the COLLECTION immediately.\nThis argument is for compatibility with `completing-read'.\n\nWhen REQUIRE-MATCH is non-nil, only members of COLLECTION can be\nselected.\n\nIf INITIAL-INPUT is non-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\nPRESELECT, when non-nil, determines which one of the candidates\nmatching INITIAL-INPUT to select initially.  An integer stands\nfor the position of the desired candidate in the collection,\ncounting from zero.  Otherwise, use the first occurrence of\nPRESELECT in the collection.  Comparison is first done with\n`equal'.  If that fails, and when applicable, match PRESELECT as\na regular expression.\n\nDEF is for compatibility with `completing-read'.\n\nUPDATE-FN is called each time the candidate list is re-displayed.\n\nWhen SORT is non-nil, `ivy-sort-functions-alist' determines how\nto sort candidates before displaying them.\n\nACTION is a function to call after selecting a candidate.\nIt takes one argument, the selected candidate. If COLLECTION is\nan alist, the argument is a cons cell, otherwise it's a string.\n\nMULTI-ACTION, when non-nil, is called instead of ACTION when\nthere are marked candidates. It takes the list of candidates as\nits only argument. When it's nil, ACTION is called on each marked\ncandidate.\n\nUNWIND is a function of no arguments to call before exiting.\n\nRE-BUILDER is a function transforming input text into a regex\npattern.\n\nMATCHER is a function which can override how candidates are\nfiltered based on user input.  It takes a regex pattern and a\nlist of candidates, and returns the list of matching candidates.\n\nDYNAMIC-COLLECTION is a boolean specifying whether 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 0x2565bd1>) "M-x " [lispy-brackets-auto-wrap c-clear-char-property-fun origami-hide-node-overlay epg-context-signers org-babel-js-eoe xcb:randr:ListProviderProperties~reply -is-infix\? vc-git-stash-snapshot so-long-override-variables avy-words flycheck-next-error ediff-restore-protected-variables iso-partial-space-right hydra-lispy-x/lispy-flatten-and-exit magit-wip-buffer-backed-up extend-region-p url-cookie-multiple-line wgrep-clone-to-temp-buffer next-value ido-choice-list flycheck-error-list-mode-line-map xcb:render:PictOp--eieio-childp exwm-input--post-init makefile-browser-format-macro-line cl-print--preprocess which-key-side-window-max-height selinux-context separator-prop evil-owl-mode-on-hook vc-git-conflicted-files xcb:icccm:get-WM_ICON_SIZE-list-p 0 checkdoc-package-keywords-flag being Load\ snippets\.\.\. f-directory\? message-kill-actions test-command eshell-output-filter \' counsel-projectile-switch-to-buffer-transformer lispy-braces-barf-to-point-or-jump-nostring tramp-cache-data eshell-pred-user-or-group names--convert-defalias magit-diff-wash-hunk not-at-beginning-of-line define-mode-local-override wgrep-after-save-hook projectile-tags-file-name ...] :predicate #f(compiled-function (sym) #<bytecode 0x2cfeabd>) :require-match t :history counsel-M-x-history :action counsel-M-x-action :sort t :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 string, normally ending in a colon and a space.\n`ivy-count-format' is prepended to PROMPT during completion.\n\nCOLLECTION is either a list of strings, a function, an alist, or\na hash table, supplied for `minibuffer-completion-table'.\n\nPREDICATE is applied to filter out the COLLECTION immediately.\nThis argument is for compatibility with `completing-read'.\n\nWhen REQUIRE-MATCH is non-nil, only members of COLLECTION can be\nselected.\n\nIf INITIAL-INPUT is non-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\nPRESELECT, when non-nil, determines which one of the candidates\nmatching INITIAL-INPUT to select initially.  An integer stands\nfor the position of the desired candidate in the collection,\ncounting from zero.  Otherwise, use the first occurrence of\nPRESELECT in the collection.  Comparison is first done with\n`equal'.  If that fails, and when applicable, match PRESELECT as\na regular expression.\n\nDEF is for compatibility with `completing-read'.\n\nUPDATE-FN is called each time the candidate list is re-displayed.\n\nWhen SORT is non-nil, `ivy-sort-functions-alist' determines how\nto sort candidates before displaying them.\n\nACTION is a function to call after selecting a candidate.\nIt takes one argument, the selected candidate. If COLLECTION is\nan alist, the argument is a cons cell, otherwise it's a string.\n\nMULTI-ACTION, when non-nil, is called instead of ACTION when\nthere are marked candidates. It takes the list of candidates as\nits only argument. When it's nil, ACTION is called on each marked\ncandidate.\n\nUNWIND is a function of no arguments to call before exiting.\n\nRE-BUILDER is a function transforming input text into a regex\npattern.\n\nMATCHER is a function which can override how candidates are\nfiltered based on user input.  It takes a regex pattern and a\nlist of candidates, and returns the list of matching candidates.\n\nDYNAMIC-COLLECTION is a boolean specifying whether 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 0x2565bd1>) ("M-x " [lispy-brackets-auto-wrap c-clear-char-property-fun origami-hide-node-overlay epg-context-signers org-babel-js-eoe xcb:randr:ListProviderProperties~reply -is-infix\? vc-git-stash-snapshot so-long-override-variables avy-words flycheck-next-error ediff-restore-protected-variables iso-partial-space-right hydra-lispy-x/lispy-flatten-and-exit magit-wip-buffer-backed-up extend-region-p url-cookie-multiple-line wgrep-clone-to-temp-buffer next-value ido-choice-list flycheck-error-list-mode-line-map xcb:render:PictOp--eieio-childp exwm-input--post-init makefile-browser-format-macro-line cl-print--preprocess which-key-side-window-max-height selinux-context separator-prop evil-owl-mode-on-hook vc-git-conflicted-files xcb:icccm:get-WM_ICON_SIZE-list-p 0 checkdoc-package-keywords-flag being Load\ snippets\.\.\. f-directory\? message-kill-actions test-command eshell-output-filter \' counsel-projectile-switch-to-buffer-transformer lispy-braces-barf-to-point-or-jump-nostring tramp-cache-data eshell-pred-user-or-group names--convert-defalias magit-diff-wash-hunk not-at-beginning-of-line define-mode-local-override wgrep-after-save-hook projectile-tags-file-name ...] :predicate #f(compiled-function (sym) #<bytecode 0x2cfeabd>) :require-match t :history counsel-M-x-history :action counsel-M-x-action :sort t :keymap (keymap (67108908 . counsel--info-lookup-symbol) (67108910 . counsel-find-symbol)) :initial-input nil :caller counsel-M-x))
  (ivy-read "M-x " [lispy-brackets-auto-wrap c-clear-char-property-fun origami-hide-node-overlay epg-context-signers org-babel-js-eoe xcb:randr:ListProviderProperties~reply -is-infix\? vc-git-stash-snapshot so-long-override-variables avy-words flycheck-next-error ediff-restore-protected-variables iso-partial-space-right hydra-lispy-x/lispy-flatten-and-exit magit-wip-buffer-backed-up extend-region-p url-cookie-multiple-line wgrep-clone-to-temp-buffer next-value ido-choice-list flycheck-error-list-mode-line-map xcb:render:PictOp--eieio-childp exwm-input--post-init makefile-browser-format-macro-line cl-print--preprocess which-key-side-window-max-height selinux-context separator-prop evil-owl-mode-on-hook vc-git-conflicted-files xcb:icccm:get-WM_ICON_SIZE-list-p 0 checkdoc-package-keywords-flag being Load\ snippets\.\.\. f-directory\? message-kill-actions test-command eshell-output-filter \' counsel-projectile-switch-to-buffer-transformer lispy-braces-barf-to-point-or-jump-nostring tramp-cache-data eshell-pred-user-or-group names--convert-defalias magit-diff-wash-hunk not-at-beginning-of-line define-mode-local-override wgrep-after-save-hook projectile-tags-file-name ...] :predicate #f(compiled-function (sym) #<bytecode 0x2cfeabd>) :require-match t :history counsel-M-x-history :action counsel-M-x-action :sort t :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)
abo-abo commented 4 years ago

Looks like an issue with an outdated package (the ivy that you loaded doesn't have ivy-update-candidates).

Please check if you can reproduce with make plain.

leungbk commented 4 years ago

Thanks.