all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#4671: `read-passwd' does not recognize keypad enter key
@ 2009-10-08  5:36 Michael Ernst
  2009-10-09 19:25 ` Stefan Monnier
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Ernst @ 2009-10-08  5:36 UTC (permalink / raw)
  To: bug-gnu-emacs

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  <mernst@alum.mit.edu>

	* 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)







^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-10-16  4:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-08  5:36 bug#4671: `read-passwd' does not recognize keypad enter key Michael Ernst
2009-10-09 19:25 ` Stefan Monnier
2009-10-13 23:25   ` Michael Ernst
2009-10-14  2:56     ` Stefan Monnier
2009-10-16  4:50       ` Michael Ernst

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.