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


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: emacs-bug <at> cobaltmailbox.com, 72887 <at> debbugs.gnu.org
Subject: bug#72887: 31.0.50; use-package: :diminish keyword doesn't work unless form re-evaluated
Date: Sat, 14 Sep 2024 10:31:52 +0300
Ping! Stefan, could you please look into this?

> Cc: 72887 <at> debbugs.gnu.org
> Date: Fri, 30 Aug 2024 13:53:06 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> 
> > 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 308 days ago.

Previous Next


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