emacs-evil / evil-collection

A set of keybindings for evil-mode
GNU General Public License v3.0
1.22k stars 272 forks source link

geiser: lispy bug (evil-collection-lispy, special-lispy-eval) #712

Open jgarte opened 1 year ago

jgarte commented 1 year ago

When trying to evaluate chez code with e in insert mode I get the following error:

lispy--eval-scheme: Symbol’s function definition is void: geiser-racket--language [4 times]

This is a very long standing bug for me that I am finally trying to report here.

I'm not sure why it is saying that that function is void. I'm not using racket at all.

See discussion here as well:

https://github.com/abo-abo/lispy/issues/640

and here:

https://github.com/abo-abo/lispy/issues/542

Notes on my Setup:

I have the evil-collection lispy and geiser modules enabled.

I'm using Emacs 30.0.50.

Emacs related config:

(use-package evil-collection
  :after evil
  :config
  (evil-collection-init
   (list 'corfu 'dired 'dired-sidebar 'ediff 'eglot 'eldoc 'elisp-mode
         'flymake 'geiser 'xref 'vc-dir 'sly 'grep 'help 'info 'lispy 'eshell 'man
         'minibuffer 'org 'guix 'realgud 'scheme 'tetris 'vterm)))

;;
(require 'geiser-guile)
(require 'geiser-chez)
(add-to-list 'geiser-guile-load-path "~/code/guix")

;;;###autoload (defvar geiser-active-implementations ())
;;;###autoload (defvar geiser-implementations-alist ())
;;;###autoload
(defsubst geiser-impl--add-to-alist (kind what impl &optional append)
  (add-to-list 'geiser-implementations-alist (list (list kind what) impl) append))
jgarte commented 1 year ago

Two interesting observations I just made:

This works:

(lispy-define-key map "E" 'lispy-eval-and-insert)

This does not:

(lispy-define-key map "e" 'lispy-eval)

Is "e" or lispy-eval working for anyone else?