GNU bug report logs -
#32917
27.0.50; read-hide-char documentation
Previous Next
Reported by: charles <at> aurox.ch
Date: Tue, 2 Oct 2018 19:45:02 UTC
Severity: normal
Tags: fixed
Found in version 27.0.50
Fixed in version 26.2
Done: charles <at> aurox.ch
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 32917 in the body.
You can then email your comments to 32917 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#32917
; Package
emacs
.
(Tue, 02 Oct 2018 19:45:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
charles <at> aurox.ch
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 02 Oct 2018 19:45:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
read-hide-char is a variable defined in ‘C source code’.
Its value is nil
Documentation:
Whether to hide input characters in noninteractive mode.
It must be a character, which will be used to mask the input
characters. This variable should never be set globally.
First, the scope of 'read-hide-char' seems wider than what the
documentation claims (for example, it is used in read-passwd,
interactively -- not just in "noninteractive mode").
Second, it can clearly also be nil instead of a character.
Here's a suggested change for emacs-26:
diff --git a/src/minibuf.c b/src/minibuf.c
index 691fad0..f1bde91 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -2107,8 +2107,11 @@ properties. */);
DEFVAR_LISP ("read-hide-char", Vread_hide_char,
doc: /* Whether to hide input characters in noninteractive mode.
-It must be a character, which will be used to mask the input
-characters. This variable should never be set globally. */);
+If non-nil, it must be a character, which will be used to mask the
+input characters. This variable should never be set globally.
+
+This variable also overrides the default character that `read-passwd'
+uses to hide passwords. */);
Vread_hide_char = Qnil;
defsubr (&Sactive_minibuffer_window);
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#32917
; Package
emacs
.
(Wed, 03 Oct 2018 02:39:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 32917 <at> debbugs.gnu.org (full text, mbox):
> Date: Tue, 02 Oct 2018 21:47:32 +0200
> From: charles <at> aurox.ch (Charles A. Roelli)
>
> Here's a suggested change for emacs-26:
>
> diff --git a/src/minibuf.c b/src/minibuf.c
> index 691fad0..f1bde91 100644
> --- a/src/minibuf.c
> +++ b/src/minibuf.c
> @@ -2107,8 +2107,11 @@ properties. */);
>
> DEFVAR_LISP ("read-hide-char", Vread_hide_char,
> doc: /* Whether to hide input characters in noninteractive mode.
> -It must be a character, which will be used to mask the input
> -characters. This variable should never be set globally. */);
> +If non-nil, it must be a character, which will be used to mask the
> +input characters. This variable should never be set globally.
> +
> +This variable also overrides the default character that `read-passwd'
> +uses to hide passwords. */);
This is OK, thanks. Please also add an index entry for read-hide-char
in the ELisp manual, where read-passwd is described, because every
variable mentioned in the manual must be indexed.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#32917
; Package
emacs
.
(Wed, 03 Oct 2018 18:06:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 32917 <at> debbugs.gnu.org (full text, mbox):
tags 32917 fixed
close 32917 26.2
> Date: Wed, 03 Oct 2018 05:38:42 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> CC: 32917 <at> debbugs.gnu.org
>
> > Date: Tue, 02 Oct 2018 21:47:32 +0200
> > From: charles <at> aurox.ch (Charles A. Roelli)
> >
> > Here's a suggested change for emacs-26:
> >
> > diff --git a/src/minibuf.c b/src/minibuf.c
> > index 691fad0..f1bde91 100644
> > --- a/src/minibuf.c
> > +++ b/src/minibuf.c
> > @@ -2107,8 +2107,11 @@ properties. */);
> >
> > DEFVAR_LISP ("read-hide-char", Vread_hide_char,
> > doc: /* Whether to hide input characters in noninteractive mode.
> > -It must be a character, which will be used to mask the input
> > -characters. This variable should never be set globally. */);
> > +If non-nil, it must be a character, which will be used to mask the
> > +input characters. This variable should never be set globally.
> > +
> > +This variable also overrides the default character that `read-passwd'
> > +uses to hide passwords. */);
>
> This is OK, thanks. Please also add an index entry for read-hide-char
> in the ELisp manual, where read-passwd is described, because every
> variable mentioned in the manual must be indexed.
Thanks, this is now done.
Added tag(s) fixed.
Request was from
charles <at> aurox.ch (Charles A. Roelli)
to
control <at> debbugs.gnu.org
.
(Wed, 03 Oct 2018 18:11:03 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 26.2, send any further explanations to
32917 <at> debbugs.gnu.org and charles <at> aurox.ch
Request was from
charles <at> aurox.ch (Charles A. Roelli)
to
control <at> debbugs.gnu.org
.
(Wed, 03 Oct 2018 18:11:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 01 Nov 2018 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 6 years and 315 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.