[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#15501: 24.3; usage of read-passwd within format-alist
From: |
mhoram |
Subject: |
bug#15501: 24.3; usage of read-passwd within format-alist |
Date: |
Tue, 01 Oct 2013 14:22:41 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 |
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
- bug#15501: 24.3; usage of read-passwd within format-alist,
mhoram <=