help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cannot use-package which-key


From: Luca Ferrari
Subject: Re: cannot use-package which-key
Date: Thu, 22 Jul 2021 12:08:09 +0200

Shame on me!
I was not providing the :require flag, thus use-package was not
installing my packages.
See <https://github.com/jwiegley/use-package#package-installation>.

Sorry for the noise.

Thanks,
Luca

On Thu, Jul 22, 2021 at 9:29 AM Luca Ferrari <fluca1978@gmail.com> wrote:
>
> Uhm, it is clear a problem with use-package, since I'm not able to use
> any other package.
>
> This is how my configuration looks like:
>
>       ;; Initialize package sources
>       (require 'package)
>
>       (setq package-archives '(("melpa" . "https://melpa.org/packages/";)
>                                ("melpa-stable" .
> "https://stable.melpa.org/packages/";)
>                                ("org" . "https://orgmode.org/elpa/";)
>                                ("elpa" . "https://elpa.gnu.org/packages/";)))
>
>       (package-initialize)
>
>
>
>     (unless (package-installed-p 'use-package)
>         (package-refresh-contents)
>         (package-install 'use-package) )
>
>   (require 'use-package)
>   (setq use-package-verbose t)
>
>
>
> but if I then try to load with a simple use-package entry liek:
>
> (use-package dimish)
>
> I got on startup the error:
>
> Error (use-package): Cannot load diminish.
>
> Is something broken with my config or am I just not getting the point
> of use-package?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]