[Top][All Lists]

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

Re: [Patch] Avoid recording chars when reading passwords

From: Eli Zaretskii
Subject: Re: [Patch] Avoid recording chars when reading passwords
Date: Tue, 14 Jun 2022 14:35:37 +0300

> From: Manuel Giraud <manuel@ledu-giraud.fr>
> Cc: emacs-devel@gnu.org
> Date: Tue, 14 Jun 2022 11:38:00 +0200
> So I digged into the log and found that `inhibit--record-char' was
> obsoleted in bd5c740419.
> The reason seems to be that "quail.el" was the last user of this
> variable and use it to inhibit a second recording after the first
> one. AFAIU, quail.el now have function (quail-add-unread-command-events)
> that put a copy of those events with 'no-record into
> unread-command-events to have this behaviour.
> I was not able to do the same when reading password (there is just one
> read_char involved), so as Eli suggested, I choose to un-obsolete
> `inhibit--record-char' and use it in `read-passwd' only.


Stefan, do you see any way of producing (no-record . CH) from "normal"
input APIs, for reading input that shouldn't be echoed or recorded?

If not, we will resurrect that variable and use it instead.

reply via email to

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