Yevgnen/ivy-rich

Emacs 27.1: void-variable ivy--display-transformers-alist

srustamo opened this issue · 4 comments

Win10.

Have both:
GNU Emacs 26.3 (build 1, x86_64-w64-mingw32) of 2019-08-29
and
GNU Emacs 27.1 (build 1, x86_64-w64-mingw32) of 2020-08-12

Same config.

In v 27.1 running ivy-rich-mode errors out:

Debugger entered--Lisp error: (void-variable ivy--display-transformers-alist)
  ivy-rich-backup-transformer(ivy-switch-buffer)
  ivy-rich-set-display-transformer()
  ivy-rich-mode(toggle)
  funcall-interactively(ivy-rich-mode toggle)
  call-interactively(ivy-rich-mode record nil)
  command-execute(ivy-rich-mode record)
  counsel-M-x-action("ivy-rich-mode")
  ivy-call()
  ivy-read("M-x " ("ivy-rich-mode" "toggle-debug-on-error" "package-list-packages" "menu-bar-mode" "tool-bar-mode" "customize-face" "cd" "ag" "ag-project" "emacs-version" "customize-themes" "5x5" "amx" "arp" "dbx" "dig" "erc" "ert" "eww" "ftp" "gdb" "irc" "jdb" "lsp" "man" "mpc" "pdb" "pwd" "rsh" "sdb" "vlf" "w3m" "xdb" "bbdb" "calc" "deer" "diff" "dirs" "ffap" "ffip" "gnus" "grep" "help" "ielm" "info" "life" "mail" "mpuz" "ping" "pong" ...) :predicate #f(compiled-function (x) #<bytecode 0x2848e29>) :require-match t :history counsel-M-x-history :action counsel-M-x-action :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)

Looks like some local issue.

emacs-macos

I seem to have the same problem.

emacs 27.1 windows 10

same issue

I think this happens because you are using the melpa-stable version (0.1.6) instead of the melpa version (20210212.1441)