From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: two more bugs of read-passwd Date: Wed, 24 May 2006 20:37:27 -0400 Message-ID: References: <20060524.124451.213824533.kazu@iij.ad.jp> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1148517653 18381 80.91.229.2 (25 May 2006 00:40:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 25 May 2006 00:40:53 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 25 02:40:51 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fj3tq-0007G1-3c for ged-emacs-devel@m.gmane.org; Thu, 25 May 2006 02:40:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fj3tp-0004Wx-8T for ged-emacs-devel@m.gmane.org; Wed, 24 May 2006 20:40:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fj3qy-00032w-SA for emacs-devel@gnu.org; Wed, 24 May 2006 20:37:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fj3qy-00031z-8w for emacs-devel@gnu.org; Wed, 24 May 2006 20:37:28 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fj3qx-00031n-Ue for emacs-devel@gnu.org; Wed, 24 May 2006 20:37:27 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fj3vW-0005fT-7O for emacs-devel@gnu.org; Wed, 24 May 2006 20:42:10 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1Fj3qx-0000Pt-1j; Wed, 24 May 2006 20:37:27 -0400 Original-To: Kazu Yamamoto (=?iso-2022-jp?B?GyRCOzNLXE9CSScbKEI=?=) In-reply-to: <20060524.124451.213824533.kazu@iij.ad.jp> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:55239 Archived-At: (condition-case nil (read-passwd "password: ") (quit "quit case")) I fixed that. (let ((inhibit-quit t)) (read-passwd "password: ")) You need to set quit-flag to nil after read-passwd returns, or it will cause a quit later.