{"action":"created","issue":{"url":"https://api.github.com/repos/jwiegley/use-package/issues/260","labels_url":"https://api.github.com/repos/jwiegley/use-package/issues/260/labels{/name}","comments_url":"https://api.github.com/repos/jwiegley/use-package/issues/260/comments","events_url":"https://api.github.com/repos/jwiegley/use-package/issues/260/events","html_url":"https://github.com/jwiegley/use-package/issues/260","id":108884522,"number":260,"title":"Entering \"(use-package kill\" causes Emacs frozen","user":{"login":"goofansu","id":1143191,"avatar_url":"https://avatars.githubusercontent.com/u/1143191?v=3","gravatar_id":"","url":"https://api.github.com/users/goofansu","html_url":"https://github.com/goofansu","followers_url":"https://api.github.com/users/goofansu/followers","following_url":"https://api.github.com/users/goofansu/following{/other_user}","gists_url":"https://api.github.com/users/goofansu/gists{/gist_id}","starred_url":"https://api.github.com/users/goofansu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goofansu/subscriptions","organizations_url":"https://api.github.com/users/goofansu/orgs","repos_url":"https://api.github.com/users/goofansu/repos","events_url":"https://api.github.com/users/goofansu/events{/privacy}","received_events_url":"https://api.github.com/users/goofansu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-09-29T14:41:01Z","updated_at":"2015-10-27T19:46:16Z","closed_at":"2015-09-29T19:18:41Z","body":"Emacs version: `GNU Emacs 24.5.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21) of 2015-04-11 on builder10-9.porkrind.org`\r\n\r\nProblem:\r\n\r\nI entered `(use-package kill` by accident, but I found every time I enter this sentence, Emacs calls melpa first and then frozen.\r\n\r\nMy config to reproduce this problem:\r\n\r\n```\r\n(require 'package)\r\n(setq package-enable-at-startup nil)\r\n(add-to-list 'package-archives\r\n             '(\"melpa\" . \"http://melpa.org/packages/\"))\r\n\r\n(package-initialize)\r\n\r\n;; Bootstrap `use-package'\r\n(unless (package-installed-p 'use-package)\r\n  (package-refresh-contents)\r\n  (package-install 'use-package))\r\n\r\n(eval-when-compile\r\n  (require 'use-package))\r\n(require 'diminish)                ;; if you use :diminish\r\n(require 'bind-key)                ;; if you use any :bind variant\r\n\r\n(setq use-package-always-ensure t)\r\n\r\n(use-package swiper\r\n  :bind ((\"C-s\" . swiper)\r\n\t (\"C-r\" . swiper)\r\n\t (\"s-z\" . ivy-resume))\r\n  :init\r\n  (setq ivy-use-virtual-buffers t)\r\n  (setq ivy-re-builders-alist\r\n\t'((t . ivy--regex-fuzzy)))\r\n  :config (ivy-mode 1))\r\n\r\n(use-package counsel\r\n  :bind ((\"s-g\" . counsel-git-grep)\r\n\t (\"s-x\" . counsel-M-x)\r\n\t (\"s-y\" . counsel-yank-pop)))\r\n\r\n(use-package projectile\r\n  :diminish projectile-mode\r\n  :bind ((\"s-p\" . projectile-switch-project)\r\n\t (\"s-f\" . projectile-find-file)\r\n\t (\"s-d\" . projectile-find-dir)\r\n\t (\"s-c\" . projectile-compile-project)\r\n\t (\"s-t\" . projectile-test-project))\r\n  :init (setq projectile-completion-system 'ivy)\r\n  :config (projectile-global-mode))\r\n\r\n(use-package company\r\n  :diminish company-mode\r\n  :init\r\n  (setq company-idle-delay 0.5)\r\n  (setq company-tooltip-limit 10)\r\n  (setq company-minimum-prefix-length 2)\r\n  (setq company-tooltip-flip-when-above t)\r\n  :config (global-company-mode))\r\n\r\n''' just enter \"(use-package kill\" here\r\n```"},"comment":{"url":"https://api.github.com/repos/jwiegley/use-package/issues/comments/151622090","html_url":"https://github.com/jwiegley/use-package/issues/260#issuecomment-151622090","issue_url":"https://api.github.com/repos/jwiegley/use-package/issues/260","id":151622090,"user":{"login":"kovrik","id":2239626,"avatar_url":"https://avatars.githubusercontent.com/u/2239626?v=3","gravatar_id":"","url":"https://api.github.com/users/kovrik","html_url":"https://github.com/kovrik","followers_url":"https://api.github.com/users/kovrik/followers","following_url":"https://api.github.com/users/kovrik/following{/other_user}","gists_url":"https://api.github.com/users/kovrik/gists{/gist_id}","starred_url":"https://api.github.com/users/kovrik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kovrik/subscriptions","organizations_url":"https://api.github.com/users/kovrik/orgs","repos_url":"https://api.github.com/users/kovrik/repos","events_url":"https://api.github.com/users/kovrik/events{/privacy}","received_events_url":"https://api.github.com/users/kovrik/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T19:46:16Z","updated_at":"2015-10-27T19:46:16Z","body":"This happens if you are using `company-mode` + `use-package` + `(setq use-package-always-ensure t)`."}}