help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mode-line icon for encrypted file


From: Michael Albinus
Subject: Re: mode-line icon for encrypted file
Date: Sat, 04 May 2024 10:05:30 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Colin Baxter <m43cap@yandex.com> writes:

Hi Colin,

> Is there anyway of ensuring the icon is not displayed. I don't really
> seen the point of it.

If you move the cursor over the icon in the mode-line you'll see the
point: toggling password visibility.

Almost all graphical applications, which offer to enter a hidden
password, present this kind of icon. I don't know of any application
which allows to configure this icon presence. So I don't believe we
should configure this in Emacs; the icon simply doesn't hurt.

If you really hate the icon, you could add the following to your .emacs:

--8<---------------cut here---------------start------------->8---
(with-eval-after-load 'auth-source
  (setcar (cdr (iconp 'read-passwd--show-password-icon)) '((text "")))
  (setcar (cdr (iconp 'read-passwd--hide-password-icon)) '((text ""))))
--8<---------------cut here---------------end--------------->8---

> Best wishes,
>
> Colin.

Best regards, Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]