From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Ernst Newsgroups: gmane.emacs.bugs Subject: bug#4671: `read-passwd' does not recognize keypad enter key Date: Wed, 07 Oct 2009 22:36:47 -0700 (PDT) Message-ID: <20091007.223647.58496705.michael.ernst@gmail.com> Reply-To: Michael Ernst , 4671@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1255005402 18536 80.91.229.12 (8 Oct 2009 12:36:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 Oct 2009 12:36:42 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 08 14:36:32 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MvsEQ-00013j-7K for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Oct 2009 14:36:30 +0200 Original-Received: from localhost ([127.0.0.1]:53685 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MvsEP-0007Fn-Gf for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Oct 2009 08:36:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MvlqQ-0007ym-FO for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2009 01:47:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MvlqL-0007vC-9O for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2009 01:47:17 -0400 Original-Received: from [199.232.76.173] (port=50699 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MvlqK-0007ur-PI for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2009 01:47:12 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:47749) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MvlqJ-00005E-DC for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2009 01:47:12 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n985l9kN032569; Wed, 7 Oct 2009 22:47:09 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n985eAbn031129; Wed, 7 Oct 2009 22:40:10 -0700 Resent-Date: Wed, 7 Oct 2009 22:40:10 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Michael Ernst Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 08 Oct 2009 05:40:09 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4671 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125498022830694 (code B ref -1); Thu, 08 Oct 2009 05:40:09 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 8 Oct 2009 05:37:08 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n985b6J1030690 for ; Wed, 7 Oct 2009 22:37:07 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MvlgX-0002x1-Uw for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2009 01:37:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MvlgR-0002uG-Na for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2009 01:37:04 -0400 Original-Received: from [199.232.76.173] (port=41049 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MvlgR-0002u7-FJ for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2009 01:36:59 -0400 Original-Received: from mail-pz0-f181.google.com ([209.85.222.181]:49209) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MvlgR-0006l1-3Z for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2009 01:36:59 -0400 Original-Received: by pzk11 with SMTP id 11so3945544pzk.14 for ; Wed, 07 Oct 2009 22:36:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:message-id:to:subject :from:mime-version:content-type:content-transfer-encoding; bh=jO5oY08w0Qp2zYkvBhAm3VE3B8PtFtzvofCVkZ2dn0s=; b=ugLrFtkNBwHsT4Xb/XDDX8IdovO8YxHa/6TTtNb2n45pjR5BL3017zRy68p6pB/SgJ v0hY6id8W2JKBp1tGHahDEjWf6Ae98cB6RF5i4wZX600T/eBrU41eSEU8fXMve9a4ykR J0rjTMNsEWNN/+vZOsEB9GCdPhtnXW7/6+MDc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:message-id:to:subject:from:mime-version:content-type :content-transfer-encoding; b=pAVD/D8QVgZwkxhcPEsFkYbLbvL6URhz/4jFsY8qAaK42KdwFXuohUgLzkXFrZtwy6 zpwipYYb0c0iaZMUIGTX7mKbAVXZ592XtTeN7NnIov8/9bm7DS7SqxqJ3cZU2/PvgiRf HxVfIizqZI+PpbpthPJiMfnt+pGevzR47qACM= Original-Received: by 10.115.113.4 with SMTP id q4mr1556165wam.54.1254980217596; Wed, 07 Oct 2009 22:36:57 -0700 (PDT) Original-Received: from localhost (godwit.cs.washington.edu [128.208.2.154]) by mx.google.com with ESMTPS id 20sm1823155pzk.9.2009.10.07.22.36.55 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 07 Oct 2009 22:36:56 -0700 (PDT) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 08 Oct 2009 01:47:17 -0400 X-Mailman-Approved-At: Thu, 08 Oct 2009 08:32:03 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31783 Archived-At: My Kinesis keyboard's "enter" key is read by Emacs as kp-enter. As a result, the enter key does not terminate a password as read by `read-passwd'. This patch corrects that problem. -Michael Ernst Changelog entry: 2009-10-08 Michael Ernst * subr.el (read-passwd): Add 'kp-enter to stop-keys. --- /homes/gws/mernst/bin/src/emacs-22/Linux-i686/emacs/lisp/subr.el 2009-10-01 10:47:42.000000000 -0700 +++ - 2009-10-07 22:31:51.839795567 -0700 @@ -1940,7 +1940,7 @@ (echo-keystrokes 0) (cursor-in-echo-area t) (message-log-max nil) - (stop-keys (list 'return ?\r ?\n ?\e)) + (stop-keys (list 'return ?\r ?\n ?\e 'kp-enter)) (rubout-keys (list 'backspace ?\b ?\177))) (add-text-properties 0 (length prompt) minibuffer-prompt-properties prompt)