From: Eli Zaretskii <eliz@gnu.org>
To: emacs-bug@cobaltmailbox.com, Stefan Kangas <stefankangas@gmail.com>
Cc: 72887@debbugs.gnu.org
Subject: 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 [thread overview]
Message-ID: <86mskue0z1.fsf@gnu.org> (raw)
In-Reply-To: <7bd68cd5-c5c0-4dc5-bb67-63386c936d3e@app.fastmail.com> (emacs-bug@cobaltmailbox.com)
> Date: Thu, 29 Aug 2024 22:33:57 -0700
> From: emacs-bug@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.)
next prev parent reply other threads:[~2024-08-30 10:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-30 5:33 bug#72887: 31.0.50; use-package: :diminish keyword doesn't work unless form re-evaluated emacs-bug
2024-08-30 10:53 ` Eli Zaretskii [this message]
2024-09-14 7:31 ` Eli Zaretskii
2024-09-14 13:02 ` Stefan Kangas
2024-09-14 16:19 ` emacs-bug
2024-09-14 18:12 ` Stefan Kangas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86mskue0z1.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=72887@debbugs.gnu.org \
--cc=emacs-bug@cobaltmailbox.com \
--cc=stefankangas@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.