auto-complete / popup-el

Visual Popup Interface Library for Emacs
GNU General Public License v3.0
445 stars 96 forks source link

Calling functions in the example result in "(void-function \(setf\ funcall\))" #138

Open doomchild opened 1 year ago

doomchild commented 1 year ago

I've tried this on emacs 28.2 (both from homebrew and emacsforosx.com) and 30.0.50 (from homebrew). Doing the following:

(require 'popup)
(popup-tip "Blah")

results in the following error:

Debugger entered--Lisp error: (void-function \(setf\ funcall\))
  \(setf\ funcall\)(("Blah") #<subr F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_16> #s(popup :point 43 :row 3 :column 4 :width 4 :height 15 :min-height nil :direction 1 :overlays [#<overlay from 44 to 44 in *scratch*> #<overlay from 45 to 45 in *scratch*> #<overlay from 46 to 46 in *scratch*> #<overlay from 47 to 47 in *scratch*> #<overlay from 48 to 48 in *scratch*> #<overlay from 49 to 49 in *scratch*> #<overlay from 50 to 50 in *scratch*> #<overlay from 51 to 51 in *scratch*> #<overlay from 52 to 52 in *scratch*> #<overlay from 53 to 53 in *scratch*> #<overlay from 54 to 54 in *scratch*> #<overlay from 55 to 55 in *scratch*> #<overlay from 56 to 56 in *scratch*> #<overlay from 57 to 57 in *scratch*> #<overlay from 58 to 58 in *scratch*>] :keymap nil :parent nil :depth 0 :face popup-tip-face :mouse-face nil :selection-face popup-tip-face :summary-face popup-summary-face :margin-left 0 :margin-right 0 :margin-left-cancel nil :scroll-bar nil :symbol nil :cursor 0 :offset 0 :scroll-top 0 :current-height 0 :list nil :newlines 16 :pattern nil :original-list nil :invis-overlays nil))
  popup-set-filtered-list(#s(popup :point 43 :row 3 :column 4 :width 4 :height 15 :min-height nil :direction 1 :overlays [#<overlay from 44 to 44 in *scratch*> #<overlay from 45 to 45 in *scratch*> #<overlay from 46 to 46 in *scratch*> #<overlay from 47 to 47 in *scratch*> #<overlay from 48 to 48 in *scratch*> #<overlay from 49 to 49 in *scratch*> #<overlay from 50 to 50 in *scratch*> #<overlay from 51 to 51 in *scratch*> #<overlay from 52 to 52 in *scratch*> #<overlay from 53 to 53 in *scratch*> #<overlay from 54 to 54 in *scratch*> #<overlay from 55 to 55 in *scratch*> #<overlay from 56 to 56 in *scratch*> #<overlay from 57 to 57 in *scratch*> #<overlay from 58 to 58 in *scratch*>] :keymap nil :parent nil :depth 0 :face popup-tip-face :mouse-face nil :selection-face popup-tip-face :summary-face popup-summary-face :margin-left 0 :margin-right 0 :margin-left-cancel nil :scroll-bar nil :symbol nil :cursor 0 :offset 0 :scroll-top 0 :current-height 0 :list nil :newlines 16 :pattern nil :original-list nil :invis-overlays nil) ("Blah"))
  popup-set-list(#s(popup :point 43 :row 3 :column 4 :width 4 :height 15 :min-height nil :direction 1 :overlays [#<overlay from 44 to 44 in *scratch*> #<overlay from 45 to 45 in *scratch*> #<overlay from 46 to 46 in *scratch*> #<overlay from 47 to 47 in *scratch*> #<overlay from 48 to 48 in *scratch*> #<overlay from 49 to 49 in *scratch*> #<overlay from 50 to 50 in *scratch*> #<overlay from 51 to 51 in *scratch*> #<overlay from 52 to 52 in *scratch*> #<overlay from 53 to 53 in *scratch*> #<overlay from 54 to 54 in *scratch*> #<overlay from 55 to 55 in *scratch*> #<overlay from 56 to 56 in *scratch*> #<overlay from 57 to 57 in *scratch*> #<overlay from 58 to 58 in *scratch*>] :keymap nil :parent nil :depth 0 :face popup-tip-face :mouse-face nil :selection-face popup-tip-face :summary-face popup-summary-face :margin-left 0 :margin-right 0 :margin-left-cancel nil :scroll-bar nil :symbol nil :cursor 0 :offset 0 :scroll-top 0 :current-height 0 :list nil :newlines 16 :pattern nil :original-list nil :invis-overlays nil) ("Blah"))
  popup-tip("Blah")
  (progn (popup-tip "Blah"))
  elisp--eval-last-sexp(t)
  eval-last-sexp(t)
  eval-print-last-sexp(nil)
  funcall-interactively(eval-print-last-sexp nil)
  command-execute(eval-print-last-sexp)

EDIT: I should have mentioned that I'm seeing this on an M2 Mac mini and an M2 Macbook. I have not seen it on my Intel Macbook.