{"action":"created","issue":{"url":"https://api.github.com/repos/noctuid/general.el/issues/91","repository_url":"https://api.github.com/repos/noctuid/general.el","labels_url":"https://api.github.com/repos/noctuid/general.el/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/noctuid/general.el/issues/91/comments","events_url":"https://api.github.com/repos/noctuid/general.el/issues/91/events","html_url":"https://github.com/noctuid/general.el/issues/91","id":282527198,"number":91,"title":"use-package :general integration completely broken","user":{"login":"wbolster","id":748944,"avatar_url":"https://avatars2.githubusercontent.com/u/748944?v=4","gravatar_id":"","url":"https://api.github.com/users/wbolster","html_url":"https://github.com/wbolster","followers_url":"https://api.github.com/users/wbolster/followers","following_url":"https://api.github.com/users/wbolster/following{/other_user}","gists_url":"https://api.github.com/users/wbolster/gists{/gist_id}","starred_url":"https://api.github.com/users/wbolster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wbolster/subscriptions","organizations_url":"https://api.github.com/users/wbolster/orgs","repos_url":"https://api.github.com/users/wbolster/repos","events_url":"https://api.github.com/users/wbolster/events{/privacy}","received_events_url":"https://api.github.com/users/wbolster/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-12-15T19:39:20Z","updated_at":"2017-12-19T04:58:33Z","closed_at":"2017-12-15T20:36:30Z","author_association":"NONE","body":"hi,\r\n\r\nfirst of all, thanks for working on this package. much appreciated.\r\n\r\nthat said... ;)\r\n\r\nit seems `general.el` is completely broken using the current `use-package`.\r\n\r\nwhen i start emacs without any flags, it just hangs, eats 100% cpu and i see memory usage increase steadily (until i kill the process).\r\n\r\nwhen i start emacs with `--debug-init` i see this instead (no hanging with 100% cpu in this case):\r\n\r\n```\r\nDebugger entered--Lisp error: (error \"use-package: Unrecognized keyword: :general\")\r\n  signal(error (\"use-package: Unrecognized keyword: :general\"))\r\n  error(\"use-package: %s\" \"Unrecognized keyword: :general\")\r\n  use-package-normalize-plist(helpful (:general (\"C-h f\" (quote helpful-function)) (\"C-h v\" (quote helpful-variable))) nil use-package-merge-keys)\r\n[...]\r\n```\r\n\r\ni replaced the `general.el` file installed from melpa with the one from commit ade91c6dbb42ee9d389c828d19a9bc6b7ec2bcab in this repo so it seems the current `master` (as of the time of writing) exhibits the problem.\r\n\r\nhere is a pretty minimal `init.el` that causes the problem for me:\r\n\r\n``` elisp\r\n(setq\r\n package-archives\r\n '((\"melpa\" . \"https://melpa.org/packages/\")\r\n   (\"melpa-stable\" . \"https://stable.melpa.org/packages/\")\r\n   (\"gnu\" . \"https://elpa.gnu.org/packages/\"))\r\n package-enable-at-startup nil)\r\n(package-initialize)\r\n\r\n(unless (package-installed-p 'use-package)\r\n  (package-refresh-contents)\r\n  (package-install 'use-package))\r\n(setq use-package-always-ensure t)\r\n\r\n(use-package general)\r\n\r\n(use-package helpful\r\n  :general\r\n  (\"C-h f\" 'helpful-function)\r\n  (\"C-h v\" 'helpful-variable))\r\n```"},"comment":{"url":"https://api.github.com/repos/noctuid/general.el/issues/comments/352640020","html_url":"https://github.com/noctuid/general.el/issues/91#issuecomment-352640020","issue_url":"https://api.github.com/repos/noctuid/general.el/issues/91","id":352640020,"user":{"login":"raxod502","id":6559064,"avatar_url":"https://avatars1.githubusercontent.com/u/6559064?v=4","gravatar_id":"","url":"https://api.github.com/users/raxod502","html_url":"https://github.com/raxod502","followers_url":"https://api.github.com/users/raxod502/followers","following_url":"https://api.github.com/users/raxod502/following{/other_user}","gists_url":"https://api.github.com/users/raxod502/gists{/gist_id}","starred_url":"https://api.github.com/users/raxod502/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raxod502/subscriptions","organizations_url":"https://api.github.com/users/raxod502/orgs","repos_url":"https://api.github.com/users/raxod502/repos","events_url":"https://api.github.com/users/raxod502/events{/privacy}","received_events_url":"https://api.github.com/users/raxod502/received_events","type":"User","site_admin":false},"created_at":"2017-12-19T04:58:33Z","updated_at":"2017-12-19T04:58:33Z","author_association":"NONE","body":"@noctuid This is a bug in `general`. [This line in `general.el`](https://github.com/noctuid/general.el/blob/32a94e066fe2d7bbdc70e7f06a59f1eaa06e4e55/general.el#L1917) should read `(with-eval-after-load 'use-package-core` instead of `(with-eval-after-load 'use-package`."}}
{"actor":{"display_login":"raxod502"}}