{"action":"created","issue":{"url":"https://api.github.com/repos/jwiegley/use-package/issues/243","labels_url":"https://api.github.com/repos/jwiegley/use-package/issues/243/labels{/name}","comments_url":"https://api.github.com/repos/jwiegley/use-package/issues/243/comments","events_url":"https://api.github.com/repos/jwiegley/use-package/issues/243/events","html_url":"https://github.com/jwiegley/use-package/issues/243","id":99712944,"number":243,"title":"don't fail on using internal packages with use-package-always-ensure","user":{"login":"waymondo","id":923418,"avatar_url":"https://avatars.githubusercontent.com/u/923418?v=3","gravatar_id":"","url":"https://api.github.com/users/waymondo","html_url":"https://github.com/waymondo","followers_url":"https://api.github.com/users/waymondo/followers","following_url":"https://api.github.com/users/waymondo/following{/other_user}","gists_url":"https://api.github.com/users/waymondo/gists{/gist_id}","starred_url":"https://api.github.com/users/waymondo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waymondo/subscriptions","organizations_url":"https://api.github.com/users/waymondo/orgs","repos_url":"https://api.github.com/users/waymondo/repos","events_url":"https://api.github.com/users/waymondo/events{/privacy}","received_events_url":"https://api.github.com/users/waymondo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-07T19:28:54Z","updated_at":"2015-08-07T21:07:26Z","closed_at":null,"body":"I was excited to see the note about `(setq use-package-always-ensure t)` to globally ensure all packages and remove the repetitive `:ensure t` from my `init.el`, but this creates an issue when using `use-package` for internal packages. I like to wrap all customized packages with `use-package` but with the option set, it fails when evaluating a block like:\r\n\r\n```\r\n(use-package cus-edit\r\n  :init (setq custom-file (locate-user-emacs-file \"custom.el\"))\r\n  :config (load custom-file 'no-error 'no-message))\r\n```\r\n\r\nIs there a way to have the `:ensure` keyword also detect existing internal packages?\r\n\r\nrelated to #233 "},"comment":{"url":"https://api.github.com/repos/jwiegley/use-package/issues/comments/128834386","html_url":"https://github.com/jwiegley/use-package/issues/243#issuecomment-128834386","issue_url":"https://api.github.com/repos/jwiegley/use-package/issues/243","id":128834386,"user":{"login":"waymondo","id":923418,"avatar_url":"https://avatars.githubusercontent.com/u/923418?v=3","gravatar_id":"","url":"https://api.github.com/users/waymondo","html_url":"https://github.com/waymondo","followers_url":"https://api.github.com/users/waymondo/followers","following_url":"https://api.github.com/users/waymondo/following{/other_user}","gists_url":"https://api.github.com/users/waymondo/gists{/gist_id}","starred_url":"https://api.github.com/users/waymondo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waymondo/subscriptions","organizations_url":"https://api.github.com/users/waymondo/orgs","repos_url":"https://api.github.com/users/waymondo/repos","events_url":"https://api.github.com/users/waymondo/events{/privacy}","received_events_url":"https://api.github.com/users/waymondo/received_events","type":"User","site_admin":false},"created_at":"2015-08-07T21:07:26Z","updated_at":"2015-08-07T21:07:26Z","body":"> That kind of lends itself to unexpected situations if package availability changes.\r\n\r\nCan you explain an example like this? I'm not doubting you, I'm just curious and nothing is immediately popping into my head."}}