From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kazu Yamamoto (=?iso-2022-jp?B?GyRCOzNLXE9CSScbKEI=?=) Newsgroups: gmane.emacs.devel Subject: Re: [kazu@iij.ad.jp: a bug of read-passwd] Date: Wed, 19 Jul 2006 09:49:00 +0900 (JST) Message-ID: <20060719.094900.73654343.kazu@iij.ad.jp> References: <877j2etda5.fsf@stupidchicken.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1153270339 24182 80.91.229.2 (19 Jul 2006 00:52:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Jul 2006 00:52:19 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 19 02:52:16 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 1G30IQ-0007kk-Cy for ged-emacs-devel@m.gmane.org; Wed, 19 Jul 2006 02:52:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G30IP-0002Le-Pl for ged-emacs-devel@m.gmane.org; Tue, 18 Jul 2006 20:52:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G30IB-0002LG-Er for emacs-devel@gnu.org; Tue, 18 Jul 2006 20:51:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G30I9-0002L3-6p for emacs-devel@gnu.org; Tue, 18 Jul 2006 20:51:58 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G30I9-0002L0-2U for emacs-devel@gnu.org; Tue, 18 Jul 2006 20:51:57 -0400 Original-Received: from [199.232.41.67] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1G30L9-0000p1-9f for emacs-devel@gnu.org; Tue, 18 Jul 2006 20:55:03 -0400 Original-Received: from [210.138.20.175] (helo=otm-mgo01.iij.ad.jp) by mx20.gnu.org with esmtp (Exim 4.52) id 1G30I5-0005id-MR for emacs-devel@gnu.org; Tue, 18 Jul 2006 20:51:54 -0400 Original-Received: OTM-MO(otm-mgo01) id k6J0pmf8063963; Wed, 19 Jul 2006 09:51:48 +0900 (JST) DKIM-Signature: a=rsa-sha1; c=relaxed/simple; d=iij.ad.jp; s=omgo0; t=1153270309; bh=F8SfKYphIezL0/FtQxp3FPziDU8=; h=Received:Received: Date:Message-Id:To:Cc:Subject:From:References:In-Reply-To:X-Mailer: Mime-Version:Content-Type:Content-Transfer-Encoding; b=HRfEBdxDMBah hh3OR3wFUxH3Osokls/dCJxCItAbCyu6RNOR49dzFIQ3q5TB99uqVRnSstPn8cvcryC O96O4Q1Ke9tbM8ALM95h/lhi5VrKSb9MI/5yRiGnHeII5tAzGFSZ0J3i4dgudNpfANR NYYAgdsZTd4dPfnE3EMlulzvw= Original-Received: OTM-MIX(otm-mix01) id k6J0pmh3042044; Wed, 19 Jul 2006 09:51:48 +0900 (JST) Original-Received: from localhost (jc-ssh.iij.ad.jp [192.168.174.22]) by jc-smtp.iij.ad.jp (JC-SMTP/jc-smtp00) id k6J0plx8009255; Wed, 19 Jul 2006 09:51:47 +0900 (JST) Original-To: cyd@stupidchicken.com In-Reply-To: <877j2etda5.fsf@stupidchicken.com> X-Mailer: Mew version 5.1.50 on Emacs 22.0.50 / Mule 5.0 (SAKAKI) 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:57303 Archived-At: Hello, > > Recent changes of Emacs introduces a new bug to read-passwd. If > > read-passwd is called a filter of an asynchronous process and the > > parent code executes sit-for, the cursor goes away from the minibuffer > > and we cannot input our password. > > Does the code work if you remove the (discard-input)? Yes. I don't remember correctly but old Emacs requires (discard-input). --Kazu