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 #8 received at 72887 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: emacs-bug <at> cobaltmailbox.com,
 Stefan Kangas <stefankangas <at> gmail.com>
Cc: 72887 <at> debbugs.gnu.org
Subject: Re: bug#72887: 31.0.50;
 use-package: :diminish keyword doesn't work unless form re-evaluated
Date: Fri, 30 Aug 2024 13:53:06 +0300
> Date: Thu, 29 Aug 2024 22:33:57 -0700
> From: emacs-bug <at> cobaltmailbox.com
> 
> 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)
> 
> ;; "WK" indicator appears in mode-line.
> 
> ;; re-evaluate and the "WK" indicator is removed as expected.
> (use-package which-key :init (which-key-mode) :diminish)

Stefan, can you please look into this?

(IMNSHO, the documentation of :diminish in the use-package manual is
less than satisfactory.  It should at least say what does this keyword
do when diminish _is_ installed.)




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.