GNU bug report logs - #16143
24.3.50; [PATCH] eww: fixed wrong key bind to eww-toggle-checkbox

Previous Next

Package: emacs;

Reported by: Kenjiro NAKAYAMA <nakayamakenjiro <at> gmail.com>

Date: Sat, 14 Dec 2013 12:36:01 UTC

Severity: normal

Tags: patch

Found in version 24.3.50

Done: Ted Zlatanov <tzz <at> lifelogs.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kenjiro NAKAYAMA <nakayamakenjiro <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; [PATCH] eww: fixed wrong key bind to eww-toggle-checkbox
Date: Sat, 14 Dec 2013 21:35:06 +0900
Keybind of the toggle-checkbox with space key is wrong.
I am sorry If I'm wrong. The key bind [space] can not work in my
environment.

Signed-off-by: Kenjiro NAKAYAMA <nakayamakenjiro <at> gmail.com>

        * net/eww.el (eww-checkbox-map): fixed wrong key bind to eww-toggle-checkbox

---
 lisp/net/eww.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index 34c6728..a6447f2 100644
--- a/lisp/net/eww.el
+++ b/lisp/net/eww.el
@@ -563,7 +563,7 @@ appears in a <link> or <a> tag."

 (defvar eww-checkbox-map
   (let ((map (make-sparse-keymap)))
-    (define-key map [space] 'eww-toggle-checkbox)
+    (define-key map " " 'eww-toggle-checkbox)
     (define-key map "\r" 'eww-toggle-checkbox)
     (define-key map [(control c) (control c)] 'eww-submit)
     map))
-- 
1.8.3.1





This bug report was last modified 11 years and 155 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.