GNU bug report logs - #72887
31.0.50; use-package: :diminish keyword doesn't work unless form re-evaluated

Previous Next

Package: emacs;

Reported by: emacs-bug <at> cobaltmailbox.com

Date: Fri, 30 Aug 2024 08:49:02 UTC

Severity: normal

Found in version 31.0.50

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 72887 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: emacs-bug <at> cobaltmailbox.com, 72887 <at> debbugs.gnu.org
Subject: Re: bug#72887: 31.0.50; use-package: :diminish keyword doesn't work
 unless form re-evaluated
Date: Sat, 14 Sep 2024 06:02:15 -0700
emacs-bug <at> cobaltmailbox.com writes:

> the use-package :diminish keyword is not removing indicators from the
> mode-line unless the form is evaluated a second time.  This was
> previously working as expected.  This might be related to the fix for
> #72453.
>
> ;; evaluate the following forms (in *scratch* or from init file)
> (use-package diminish :ensure t)
> (use-package which-key :init (which-key-mode) :diminish)

I can't reproduce the bug on master using the following recipe (starting
from emacs -Q):

    (progn
      (package-initialize)
      (use-package diminish :ensure t)
      (use-package which-key :init (which-key-mode) :diminish))

Are there any additional steps required to reproduce the bug?




This bug report was last modified 307 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.