From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: mhoram@gmx.de Newsgroups: gmane.emacs.bugs Subject: bug#15501: 24.3; usage of read-passwd within format-alist Date: Tue, 01 Oct 2013 14:22:41 +0200 Message-ID: <524ABE91.7070301@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1380630265 15761 80.91.229.3 (1 Oct 2013 12:24:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Oct 2013 12:24:25 +0000 (UTC) To: 15501@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 01 14:24:28 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VQz03-0007Ge-Vi for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Oct 2013 14:24:24 +0200 Original-Received: from localhost ([::1]:58571 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VQz03-0008Bt-G8 for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Oct 2013 08:24:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38826) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VQyzs-0008Bb-7J for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2013 08:24:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VQyzi-0006kK-Lt for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2013 08:24:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38818) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VQyzi-0006kA-Iz for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2013 08:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VQyzi-0001Mi-6E for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2013 08:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: mhoram@gmx.de Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Oct 2013 12:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15501 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13806302335232 (code B ref -1); Tue, 01 Oct 2013 12:24:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Oct 2013 12:23:53 +0000 Original-Received: from localhost ([127.0.0.1]:47111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VQyzZ-0001MK-Aw for submit@debbugs.gnu.org; Tue, 01 Oct 2013 08:23:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36974) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VQyzX-0001MC-2h for submit@debbugs.gnu.org; Tue, 01 Oct 2013 08:23:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VQyzN-0006gD-9v for submit@debbugs.gnu.org; Tue, 01 Oct 2013 08:23:50 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:55816) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VQyzN-0006g9-6W for submit@debbugs.gnu.org; Tue, 01 Oct 2013 08:23:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38616) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VQyzF-0008A6-Gu for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2013 08:23:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VQyz7-0006dc-6S for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2013 08:23:33 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:49403) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VQyz6-0006dF-Rr for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2013 08:23:25 -0400 Original-Received: from [192.168.0.53] ([62.245.246.230]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MPHrQ-1VVMhG0Sq8-004S5C for ; Tue, 01 Oct 2013 14:23:22 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 X-Provags-ID: V03:K0:ZnjRbV5cUgwzrv7pMofPLcQmu7ESQlO8rX23mmjYegxA3km4Nwa z30SeSC5T6sQrLUWBDCKHLZqJOM6VgbDfNsg5DfPURzQ4eD6NEeNF3Mo81IW/L94PUmo3ug 4fL7zPAOEPSKTNa8DmMhcWB8vspw2vcqGnYg/dTC5hr2dyOkgrOz4BjfAYPc45lEHyTJhON jdwBH118zKDr1A3UY2ZZA== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:78838 Archived-At: 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