From: mhoram@gmx.de
To: 15501@debbugs.gnu.org
Subject: bug#15501: 24.3; usage of read-passwd within format-alist
Date: Tue, 01 Oct 2013 14:22:41 +0200 [thread overview]
Message-ID: <524ABE91.7070301@gmx.de> (raw)
Hello,
read-password does not hide password characters when used within
format-alist during loading of a file.
Version of Emacs is 24.3.
One can reproduce the bug with "emacs -Q" by loading the following
file
--- BEGIN test.el ---
;ttxxtt
(setq format-alist
(cons (list 'txtins
"txtins"
"^;ttxxtt"
(lambda (x y) "ins"
(goto-char (point-min))
(insert ";;" (read-passwd "password: ") "\n")
(point-max))
nil
t
nil)
format-alist))
--- END test.el ---
and executing the setq-statement. When this buffer is killed and loaded
again, one is asked for the password and the password-characters are
shown in plaintext on display.
I would expect that read-passwd always hides the characters.
Emacs Version 23.3 did not contain this bug.
Best wishes
Markus
In GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601)
of 2013-03-17 on MARVIN
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --with-gcc (4.7) --cflags
-ID:/devel/emacs/libs/libXpm-3.5.8/include
-ID:/devel/emacs/libs/libXpm-3.5.8/src
-ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
-ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include
-ID:/devel/emacs/libs/giflib-4.1.4-1/include
-ID:/devel/emacs/libs/jpeg-6b-4/include
-ID:/devel/emacs/libs/tiff-3.8.2-1/include
-ID:/devel/emacs/libs/gnutls-3.0.9/include
-ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include
-ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2'
Important settings:
value of $LANG: DEU
locale-coding-system: cp1252
default enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
next reply other threads:[~2013-10-01 12:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-01 12:22 mhoram [this message]
2013-10-04 18:26 ` bug#15501: 24.3; usage of read-passwd within format-alist Stefan Monnier
2013-10-07 19:34 ` mhoram
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=524ABE91.7070301@gmx.de \
--to=mhoram@gmx.de \
--cc=15501@debbugs.gnu.org \
/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.