{"action":"created","issue":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/4162","labels_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/4162/labels{/name}","comments_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/4162/comments","events_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/4162/events","html_url":"https://github.com/syl20bnr/spacemacs/pull/4162","id":121872176,"number":4162,"title":"Check for smartparens package before calling its functions","user":{"login":"carbohydratesn","id":8284150,"avatar_url":"https://avatars.githubusercontent.com/u/8284150?v=3","gravatar_id":"","url":"https://api.github.com/users/carbohydratesn","html_url":"https://github.com/carbohydratesn","followers_url":"https://api.github.com/users/carbohydratesn/followers","following_url":"https://api.github.com/users/carbohydratesn/following{/other_user}","gists_url":"https://api.github.com/users/carbohydratesn/gists{/gist_id}","starred_url":"https://api.github.com/users/carbohydratesn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carbohydratesn/subscriptions","organizations_url":"https://api.github.com/users/carbohydratesn/orgs","repos_url":"https://api.github.com/users/carbohydratesn/repos","events_url":"https://api.github.com/users/carbohydratesn/events{/privacy}","received_events_url":"https://api.github.com/users/carbohydratesn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-12T19:00:51Z","updated_at":"2015-12-12T21:37:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/pulls/4162","html_url":"https://github.com/syl20bnr/spacemacs/pull/4162","diff_url":"https://github.com/syl20bnr/spacemacs/pull/4162.diff","patch_url":"https://github.com/syl20bnr/spacemacs/pull/4162.patch"},"body":"smartparens does not seem to be included in the common-lisp layer.  I am using spacemacs-base with common-lisp and emacs-lisp layers, and exwm as an additional package. smartparens is not installed.\r\n\r\nCalling its functions when it isn't installed causes slime to crash before getting to a repl, every time.  One of the hooks for the common-lisp layer calls two of them.\r\n\r\nInstalling the smartparens package from within emacs, using package-install, allowed me to get to a repl.  \r\n\r\nCommenting out its functions, without installing smartparens, also allowed me to get to a repl.\r\n\r\nThis is a better solution than either.  This change allows you to use slime without having smartparens installed.  If it isn't found, its hook isn't invoked."},"comment":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/comments/164195577","html_url":"https://github.com/syl20bnr/spacemacs/pull/4162#issuecomment-164195577","issue_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/4162","id":164195577,"user":{"login":"TheBB","id":619375,"avatar_url":"https://avatars.githubusercontent.com/u/619375?v=3","gravatar_id":"","url":"https://api.github.com/users/TheBB","html_url":"https://github.com/TheBB","followers_url":"https://api.github.com/users/TheBB/followers","following_url":"https://api.github.com/users/TheBB/following{/other_user}","gists_url":"https://api.github.com/users/TheBB/gists{/gist_id}","starred_url":"https://api.github.com/users/TheBB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheBB/subscriptions","organizations_url":"https://api.github.com/users/TheBB/orgs","repos_url":"https://api.github.com/users/TheBB/repos","events_url":"https://api.github.com/users/TheBB/events{/privacy}","received_events_url":"https://api.github.com/users/TheBB/received_events","type":"User","site_admin":false},"created_at":"2015-12-12T21:37:42Z","updated_at":"2015-12-12T21:37:42Z","body":"That's why it's `post-init-smartparens` and not `init-smartparens`.\r\n\r\nSee the note here: https://github.com/syl20bnr/spacemacs/blob/master/doc/LAYERS.org#packagesel"}}