Emacs (from https://emacsformacosx.com/) and Agda (via homebrew) both install gracefully. However when launching Emacs after running agda-mode setup
I receive the following error:
Warning (initialization): An error occurred while loading ‘/Users/user/.emacs’:
File is missing: Cannot open load file, No such file or directory, /Users/user/zsh:1: command not found: agda-mode
Terminal version of Emacs loads Agda-mode properly and I tried exec-path-from-shell -library without success.
My .emacs has the following content:
(package-initialize)
(load-file
(let ((coding-system-for-read 'utf-8))
(shell-command-to-string "agda-mode locate")))
(when (memq window-system '(mac ns x))
(exec-path-from-shell-initialize))
Does anyone have the same issue / knows how to fix it or where it comes from? Thanks in advance!
.emacs
look like? – viam0Zah(package-initialize) (load-file (let ((coding-system-for-read 'utf-8)) (shell-command-to-string "agda-mode locate"))) (when (memq window-system '(mac ns x)) (exec-path-from-shell-initialize))
– Matti Alanen