From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Luca Ferrari Newsgroups: gmane.emacs.help Subject: Re: cannot use-package which-key Date: Thu, 22 Jul 2021 12:08:09 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19087"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 22 12:09:32 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m6Ve0-0004mz-82 for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 22 Jul 2021 12:09:32 +0200 Original-Received: from localhost ([::1]:38860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m6Vdz-0001Eo-7l for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 22 Jul 2021 06:09:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51640) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m6VdJ-0001Ed-Hy for help-gnu-emacs@gnu.org; Thu, 22 Jul 2021 06:08:49 -0400 Original-Received: from mail-oi1-x233.google.com ([2607:f8b0:4864:20::233]:35328) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m6VdH-0001rF-W1 for help-gnu-emacs@gnu.org; Thu, 22 Jul 2021 06:08:49 -0400 Original-Received: by mail-oi1-x233.google.com with SMTP id p67so6014429oig.2 for ; Thu, 22 Jul 2021 03:08:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=lWL6N4N3Sbr9Ax+dHsAVFO+Z1m803eZxjD4Tv6InWOI=; b=mln+sbIffU0rwHTCmaqAgwJHvE1m4jCy0W60JDWPEtABAQ1L1EafDr8QASDCQJazip ROo8o47GRVd6Ba/Q6iPlEt6janYQJdf5dQsRi3O0MgnaTrBfL/4woIPB2+23Yz2/pvIR SBPFkYVQA/xQ7k9x+/MvwXxETwX9NOz0dLo1LZx/TrUqRIfdvY+XB07f1EPRZ7jD4zm4 1pxeUveW6BTGgX5qADTLAv2d0wFdtLg8kCng42rYwpxZymDeEpBvOmAers9JDuABNXg1 K4W38srYPSuA2sWea6Kn5DV5j8WEJ94nYDBckYvrOVlPZKxnOZTEr800KF7Xc2nNWtMd ixDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=lWL6N4N3Sbr9Ax+dHsAVFO+Z1m803eZxjD4Tv6InWOI=; b=pvuWs2+60jGMiu0T3LiHgCDU8Cwewl+cEr8Nxj1P6gmAMk4YRzHlH9mWWuuOCokt4E lm9VlyigKq/+OY/RuTqlr0ya4GT73TJG4EoMTXMz2D5JlJaw08bNP+Rpzz1/oLVtlmmb EpfeVirzG0P4K90v2K9pLSGK3rqe8FQ6jmZKWh5OlSVx0WHbNqUFgS3e1aCGAC7goSTy l56LATwhEFbbdzZHbEamMKMROa/wPLvZhTw2mwANbXHsHjQxXpVVH09CjF2Ies9JlytT 9YMMGUf3cx+mvJdbqtc1lmM4vJrQfu6MsVBHP8d9I3tC+n9RDcnzXfquDK2z5JaZrvJY Kh3Q== X-Gm-Message-State: AOAM5320taCt7DmhBEv5WEjGp+Y/S6tfPjaUM76+FWazHGJsuN9RtibB tTXl9bowPeZA4CuQKJaSd5KGxj8g9gp+MDnRW8BuoveW2ScjAg== X-Google-Smtp-Source: ABdhPJwa/3jKRB+/Qog0y8GIbm1pIBsal6nUchjoLiW94VZgH8K/PiGtwBZrLNq2y8xic/J9rLX4UwVr51XSSH1F1q4= X-Received: by 2002:a05:6808:158a:: with SMTP id t10mr5166475oiw.175.1626948526048; Thu, 22 Jul 2021 03:08:46 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::233; envelope-from=fluca1978@gmail.com; helo=mail-oi1-x233.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:132035 Archived-At: Shame on me! I was not providing the :require flag, thus use-package was not installing my packages. See . Sorry for the noise. Thanks, Luca On Thu, Jul 22, 2021 at 9:29 AM Luca Ferrari 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?