[Top][All Lists]

[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


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
--- BEGIN test.el ---

(setq format-alist
      (cons (list 'txtins
                  (lambda (x y) "ins"
                    (goto-char (point-min))
                    (insert ";;" (read-passwd "password: ") "\n")
--- 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

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

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

reply via email to

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