Closed esquivalient closed 6 years ago
I tried to set up what I think is the simplest version of chemacs to play around with it. When I execute
emacs --debug-init --with-profile spacemacs
with the following as my .emacs-profiles.el
(("default" . ((user-emacs-directory . "~/.emacs.d"))) ("spacemacs" . ((user-emacs-directory . "~/code/emacs/spacemacs/"))))
I get the error in the title (full trace at the bottom of this issue). I'm not well versed in elisp or reading its stack traces, so there's probably something obvious that I'm missing.
Debugger entered--Lisp error: (wrong-number-of-arguments (2 . 4) 5) alist-get("spacemacs" (("default" (user-emacs-directory . "~/.emacs.d")) ("spacemacs" (user-emacs-directory . "~/code/emacs/spacemacs/"))) nil nil equal) chemacs-get-emacs-profile("spacemacs") (not (chemacs-get-emacs-profile profile)) (if (not (chemacs-get-emacs-profile profile)) (progn (error "No profile `%s' in %s" profile chemacs-profiles-path))) chemacs-load-profile("spacemacs") (if (equal (car args) "--with-profile") (chemacs-load-profile (car (cdr args))) (chemacs-check-command-line-args (cdr args))) (progn (if (equal (car args) "--with-profile") (chemacs-load-profile (car (cdr args))) (chemacs-check-command-line-args (cdr args)))) (if args (progn (if (equal (car args) "--with-profile") (chemacs-load-profile (car (cdr args))) (chemacs-check-command-line-args (cdr args))))) chemacs-check-command-line-args(("--with-profile" "spacemacs")) (if (equal (car args) "--with-profile") (chemacs-load-profile (car (cdr args))) (chemacs-check-command-line-args (cdr args))) (progn (if (equal (car args) "--with-profile") (chemacs-load-profile (car (cdr args))) (chemacs-check-command-line-args (cdr args)))) (if args (progn (if (equal (car args) "--with-profile") (chemacs-load-profile (car (cdr args))) (chemacs-check-command-line-args (cdr args))))) chemacs-check-command-line-args(("/usr/local/Cellar/emacs/25.1/Emacs.app/Contents/MacOS/Emacs" "--with-profile" "spacemacs")) eval-buffer(#<buffer *load*> nil "/Users/esquivalient/.emacs" nil t) ; Reading at buffer position 4964 load-with-code-conversion("/Users/esquivalient/.emacs" "/Users/esquivalient/.emacs" t t) load("~/.emacs" t t) #[0 "\205\266 \306=\203 \307\310Q\202? \311=\204 \307\312Q\202? \313\307\314\315#\203* \316\202? \313\307\314\317#\203>
I tried to set up what I think is the simplest version of chemacs to play around with it. When I execute
emacs --debug-init --with-profile spacemacs
with the following as my .emacs-profiles.el
I get the error in the title (full trace at the bottom of this issue). I'm not well versed in elisp or reading its stack traces, so there's probably something obvious that I'm missing.