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: cannot use-package which-key Date: Thu, 22 Jul 2021 09:03:02 +0200 Message-ID: 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="33379"; 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 09:04:35 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 1m6Sl1-0008ZL-Sx for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 22 Jul 2021 09:04:35 +0200 Original-Received: from localhost ([::1]:37224 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m6Skz-000216-T7 for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 22 Jul 2021 03:04:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46252) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m6SkB-0001lh-CR for help-gnu-emacs@gnu.org; Thu, 22 Jul 2021 03:03:43 -0400 Original-Received: from mail-oi1-x22a.google.com ([2607:f8b0:4864:20::22a]:37831) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m6Sk8-000623-4G for help-gnu-emacs@gnu.org; Thu, 22 Jul 2021 03:03:43 -0400 Original-Received: by mail-oi1-x22a.google.com with SMTP id h9so5589952oih.4 for ; Thu, 22 Jul 2021 00:03:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=hAbnwk7tmtE+QrlrfHs1L8HVsWM9cAZwPOk88nYAffU=; b=V1nQ1YrU2CMyc5yhbGtTqmc8DBd6aNfCR8PzdjSMjy3rMcm/jXUjyEblpk8UVCci07 ey9w0+I7LNic52ehXSBrw/Y+eLORMrYX/jzwY7NtyK/d9QaJX1UEHl1oImFWzdPt2dIc z2yhoImHieBgKMbrXXZiIl4fEgYWiHFbmbCCI37wG1A0Uy1dd830l7CI7Tr33Oz8PDQ2 Eg6a6E2vLF3CYZLq04Zs+m0q2g4xVccbaoKTuwVu4kBVpAE3Bwm81Ca5JA2ng5DwvklS ybwbzi7S22LAtl4UQJVIktTvXKpq560USz8bUrjvq284W2J3TogwGDpAEzHTcckBcI6l YjDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=hAbnwk7tmtE+QrlrfHs1L8HVsWM9cAZwPOk88nYAffU=; b=VcznbXtk1M/8sJ8yauh0d9IBmbmqgalCDCnu+njNQsZ5rV43xtQZ5eOREpAAycBUNx Npt1N005tIfd7wnEoHCIWMCYvcpTPjvb7y3v+ne0ElcOisCzOdKKqgGhFlht/A1pi/5P eE6aDvbuqD24+TWctr5O0/HGSs552nWwWFeMqRk9yCoXJlKN7lmrzLqvcd7sQr0IaDmf dc9m6YEYDkikXw6jyawtxZXOfeX9wmXL6h2eH6JxU8DJeqy/OYy73Ul2xRa64j4Ow1jg gANDsUvcOa8UqjxjCN6hLaccvKMMkx/lXre7h3VY5y9bJJJdpnvbkcrc1k3wbF8dv9FS FuWA== X-Gm-Message-State: AOAM533wIXqSyXKEOl/krD12toBEgeNkG0s1f75pPZ0Zl7txR29qgspK e+4gS+YhVgNcwpLEg59U2ox+wYOMWvW3uFrhCQLphR5S/f1TUg== X-Google-Smtp-Source: ABdhPJzW9slgpkawlVRUDg+SQS5OQVMgbIiZe/t0CUrMCpbDI3WKzMaxtJ7qoAZjRZRE68oMieKto0HlUJTA0cwLtNs= X-Received: by 2002:a05:6808:158a:: with SMTP id t10mr4835434oiw.175.1626937418388; Thu, 22 Jul 2021 00:03:38 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::22a; envelope-from=fluca1978@gmail.com; helo=mail-oi1-x22a.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:132014 Archived-At: Hi all ,I'm running emacs 27.2 compiled on Linux Fedora 33. If I install which-key by means of package-install everything works fine, but if I try to automatically get it installed from my configuration file, it fails. My configuration looks like: (use-package which-key :init (which-key-mode) :diminish which-key-mode :config (setq which-key-idle-delay 0.3)) and the --debug-init gives me: Debugger entered--Lisp error: (void-function which-key-mode) (which-key-mode) (condition-case err (which-key-mode) ((debug error) (funcall use-package--warning2 :init err))) (progn (condition-case err (which-key-mode) ((debug error) (funcall use-package--warning2 :init err))) (let ((now (current-time))) (message "%s.$ (condition-case err (progn (condition-case err (which-key-mode) ((debug error) (funcall use-package--warning2 :init err))) (let ((now (current-t$ eval-buffer(# nil "/home/luca/.emacs.d/emacs.el" nil t) ; Reading at buffer position 996 load-with-code-conversion("/home/luca/.emacs.d/emacs.el" "/home/luca/.emacs.d/emacs.el" nil nil) load("/home/luca/.emacs.d/emacs.el" nil nil t) load-file("/home/luca/.emacs.d/emacs.el") org-babel-load-file("/home/luca/.emacs.d/emacs.org") eval-buffer(# nil "/home/luca/.emacs.d/init.el" nil t) ; Reading at buffer position 391 load-with-code-conversion("/home/luca/.emacs.d/init.el" "/home/luca/.emacs.d/init.el" t t) load("/home/luca/.emacs.d/init" noerror nomessage) startup--load-user-init-file(#f(compiled-function () #) #f(compiled-function () #) t) command-line() normal-top-level() What am I missing here? Thanks, Luca