{"action":"created","issue":{"url":"https://api.github.com/repos/plexus/chemacs/issues/1","repository_url":"https://api.github.com/repos/plexus/chemacs","labels_url":"https://api.github.com/repos/plexus/chemacs/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/plexus/chemacs/issues/1/comments","events_url":"https://api.github.com/repos/plexus/chemacs/issues/1/events","html_url":"https://github.com/plexus/chemacs/issues/1","id":324718275,"number":1,"title":"\"wrong-number-of-arguments (2 . 4) 5\" on startup","user":{"login":"esquivalient","id":1167916,"avatar_url":"https://avatars0.githubusercontent.com/u/1167916?v=4","gravatar_id":"","url":"https://api.github.com/users/esquivalient","html_url":"https://github.com/esquivalient","followers_url":"https://api.github.com/users/esquivalient/followers","following_url":"https://api.github.com/users/esquivalient/following{/other_user}","gists_url":"https://api.github.com/users/esquivalient/gists{/gist_id}","starred_url":"https://api.github.com/users/esquivalient/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esquivalient/subscriptions","organizations_url":"https://api.github.com/users/esquivalient/orgs","repos_url":"https://api.github.com/users/esquivalient/repos","events_url":"https://api.github.com/users/esquivalient/events{/privacy}","received_events_url":"https://api.github.com/users/esquivalient/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-20T15:39:46Z","updated_at":"2018-05-20T19:27:55Z","closed_at":"2018-05-20T19:27:00Z","author_association":"NONE","body":"I tried to set up what I think is the simplest version of chemacs to play around with it. When I execute\r\n\r\n`emacs --debug-init --with-profile spacemacs`\r\n\r\nwith the following as my .emacs-profiles.el\r\n\r\n```\r\n((\"default\" . ((user-emacs-directory . \"~/.emacs.d\")))\r\n (\"spacemacs\" . ((user-emacs-directory . \"~/code/emacs/spacemacs/\"))))\r\n```\r\n\r\nI 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. \r\n\r\n\r\n\r\n\r\n```\r\nDebugger entered--Lisp error: (wrong-number-of-arguments (2 . 4) 5)\r\n  alist-get(\"spacemacs\" ((\"default\" (user-emacs-directory . \"~/.emacs.d\")) (\"spacemacs\" (user-emacs-directory . \"~/code/emacs/spacemacs/\"))) nil nil equal)\r\n  chemacs-get-emacs-profile(\"spacemacs\")\r\n  (not (chemacs-get-emacs-profile profile))\r\n  (if (not (chemacs-get-emacs-profile profile)) (progn (error \"No profile `%s' in %s\" profile chemacs-profiles-path)))\r\n  chemacs-load-profile(\"spacemacs\")\r\n  (if (equal (car args) \"--with-profile\") (chemacs-load-profile (car (cdr args))) (chemacs-check-command-line-args (cdr args)))\r\n  (progn (if (equal (car args) \"--with-profile\") (chemacs-load-profile (car (cdr args))) (chemacs-check-command-line-args (cdr args))))\r\n  (if args (progn (if (equal (car args) \"--with-profile\") (chemacs-load-profile (car (cdr args))) (chemacs-check-command-line-args (cdr args)))))\r\n  chemacs-check-command-line-args((\"--with-profile\" \"spacemacs\"))\r\n  (if (equal (car args) \"--with-profile\") (chemacs-load-profile (car (cdr args))) (chemacs-check-command-line-args (cdr args)))\r\n  (progn (if (equal (car args) \"--with-profile\") (chemacs-load-profile (car (cdr args))) (chemacs-check-command-line-args (cdr args))))\r\n  (if args (progn (if (equal (car args) \"--with-profile\") (chemacs-load-profile (car (cdr args))) (chemacs-check-command-line-args (cdr args)))))\r\n  chemacs-check-command-line-args((\"/usr/local/Cellar/emacs/25.1/Emacs.app/Contents/MacOS/Emacs\" \"--with-profile\" \"spacemacs\"))\r\n  eval-buffer(#<buffer  *load*> nil \"/Users/esquivalient/.emacs\" nil t)  ; Reading at buffer position 4964\r\n  load-with-code-conversion(\"/Users/esquivalient/.emacs\" \"/Users/esquivalient/.emacs\" t t)\r\n  load(\"~/.emacs\" t t)\r\n  #[0 \"\b\\205\\266\u0000\t\\306=\\203\u0011\u0000\\307\b\\310Q\\202?\u0000\t\\311=\\204\u001E\u0000\\307\b\\312Q\\202?\u0000\\313\\307\\314\\315#\\203*\u0000\\316\\202?\u0000\\313\\307\\314\\317#\\203>\u0000\\320\\321\\322!D\\nB\u0012\\323\\202?\u0000\\316\\324\u0013\\325\u0001\\324\\211#\\210\u000B\\324=\\203e\u0000\\326\\327\\330\\307\b\\331Q!\\\"\\325\u0001\\324\\211#\\210\u000B\\324=\\203d\u0000\u0001\u0013\\210\u000B\\203\\247\u0000\\332\u000B!\\333\\232\\203\\247\u0000\\334\u000B!\\211\\335P\\336\u0001!\\203\\201\u0000\\211\\202\\214\u0000\\336\u0002!\\203\\213\u0000\u0001\\202\\214\u0000\\314\\262\u0002\u0001\\203\\245\u0000\\337\u0002\u000B\\\"\\203\\243\u0000\\340\\341\u0003\u000B#\\210\\342\\343!\\210\u0001\u0013\\266\u0002\\f?\\205\\264\u0000\\314\u001D\\325\\344\\324\\211#)\\262\u0001\\207\" [init-file-user system-type delayed-warnings-list user-init-file inhibit-default-init inhibit-startup-screen ms-dos \"~\" \"/_emacs\" windows-nt \"/.emacs\" directory-files nil \"^\\\\.emacs\\\\(\\\\.elc?\\\\)?$\" \"~/.emacs\" \"^_emacs\\\\(\\\\.elc?\\\\)?$\" initialization format-message \"`_emacs' init file is deprecated, please use `.emacs'\" \"~/_emacs\" t load expand-file-name \"init\" file-name-as-directory \"/.emacs.d\" file-name-extension \"elc\" file-name-sans-extension \".el\" file-exists-p file-newer-than-file-p message \"Warning: %s is newer than %s\" sit-for 1 \"default\"] 7]()\r\n  command-line()\r\n  normal-top-level()\r\n```"},"comment":{"url":"https://api.github.com/repos/plexus/chemacs/issues/comments/390505303","html_url":"https://github.com/plexus/chemacs/issues/1#issuecomment-390505303","issue_url":"https://api.github.com/repos/plexus/chemacs/issues/1","id":390505303,"user":{"login":"plexus","id":32212,"avatar_url":"https://avatars2.githubusercontent.com/u/32212?v=4","gravatar_id":"","url":"https://api.github.com/users/plexus","html_url":"https://github.com/plexus","followers_url":"https://api.github.com/users/plexus/followers","following_url":"https://api.github.com/users/plexus/following{/other_user}","gists_url":"https://api.github.com/users/plexus/gists{/gist_id}","starred_url":"https://api.github.com/users/plexus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plexus/subscriptions","organizations_url":"https://api.github.com/users/plexus/orgs","repos_url":"https://api.github.com/users/plexus/repos","events_url":"https://api.github.com/users/plexus/events{/privacy}","received_events_url":"https://api.github.com/users/plexus/received_events","type":"User","site_admin":false},"created_at":"2018-05-20T19:27:55Z","updated_at":"2018-05-20T19:27:55Z","author_association":"OWNER","body":"Thanks for reporting, it should be fixed on master now. Please give it a go!"}}
{"actor":{"display_login":"plexus"}}