GNU bug report logs -
#69237
30.0.50; Toggle password visibility
Previous Next
Reported by: Michael Albinus <michael.albinus <at> gmx.de>
Date: Sun, 18 Feb 2024 18:25:03 UTC
Severity: wishlist
Merged with 69222,
69235
Found in version 30.0.50
Fixed in version 30.1
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
Message #71 received at 69237-done <at> debbugs.gnu.org (full text, mbox):
Michael Albinus <michael.albinus <at> gmx.de> writes:
>> * Should we keep the double hyphen in "read-passwd--toggle-visibility"?
>> Feeling like it connotes "Emacs internals" somewhat, and wondering if
>> it's appropriate for interactive commands since they are "user-facing",
>> and users might feel discouraged from remapping "internal-looking"
>> commands.
>
> It is not intended that users call 'M-x read-passwd--toggle-visibility'.
> It makes sense only when you are already editing the minibuffer, typing
> the password.
Right, I don't expect many users to run this command via M-x. My
thinking went more toward users who might want to do…
(keymap-unset read-passwd-map "\t" 'remove)
(keymap-set read-passwd-map "C-c \t" 'read-passwd--toggle-visibility)
… and who might feel uneasy about that "--" in their personal config.
>> * For the 'text icon variants, should we follow outline.el's example and
>> use full verbs, like " reveal " and " conceal "?
>
> Hmm. It would be too much space of the mode-line, I fear. See the other
> examples, for example in tab-bar.el or tab-line.el.
Yep, those tab bar & line examples work very well because the symbols
("+", "x") ought to be familiar to users working with tabs in other UIs.
For read-passwd, I'd argue it's a taller order to expect users to intuit
what "o" and "x" mean.
I'd also argue the extra mode-line space should not matter that much,
since it's a transient situation that will last only until the user is
done typing their password, and the displaced mode-line content might
not be that relevant to the user in that exact moment anyway. Maybe we
can bike-shed some shorter ASCII art, e.g.
<o> (reveal)
<\> (conceal)
(All those nits are pretty academic, admittedly, at least as far as I am
concerned, as I do not expect to rebind the command, nor to rely on the
'text icon form)
This bug report was last modified 1 year and 83 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.