unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] eww-mode-map doesn't bind TAB on tty.
@ 2014-02-28 12:37 Mario Lang
  2014-03-04 19:39 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 12+ messages in thread
From: Mario Lang @ 2014-02-28 12:37 UTC (permalink / raw)
  To: emacs-devel

Hi.

Just built Emacs from trunk to check out eww.
It appears that the usage of [tab] and [backtab] does not work for my
TTY Emacs.  If I replace that with (kbd "TAB") and (kbd "M-TAB")
jumping between links works as expected on TTY Emacs.

--- a/lisp/net/eww.el
+++ b/lisp/net/eww.el
@@ -412,8 +412,8 @@ word(s) will be searched for via `eww-search-prefix'."
     (suppress-keymap map)
     (define-key map "q" 'quit-window)
     (define-key map "g" 'eww-reload)
-    (define-key map [tab] 'shr-next-link)
-    (define-key map [backtab] 'shr-previous-link)
+    (define-key map (kbd "TAB") 'shr-next-link)
+    (define-key map (kbd "M-TAB") 'shr-previous-link)
     (define-key map [delete] 'scroll-down-command)
     (define-key map [?\S-\ ] 'scroll-down-command)
     (define-key map "\177" 'scroll-down-command)

-- 
CYa,
  ⡍⠁⠗⠊⠕



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

end of thread, other threads:[~2014-03-07 20:12 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-28 12:37 [PATCH] eww-mode-map doesn't bind TAB on tty Mario Lang
2014-03-04 19:39 ` Lars Ingebrigtsen
2014-03-04 20:07   ` Eli Zaretskii
2014-03-04 20:13     ` Eli Zaretskii
2014-03-05 12:39       ` Lars Ingebrigtsen
2014-03-05 15:02         ` Mario Lang
2014-03-05 17:18           ` Eli Zaretskii
2014-03-05 18:01           ` Lars Ingebrigtsen
2014-03-05 18:10             ` Lars Ingebrigtsen
2014-03-05 18:37               ` Eli Zaretskii
2014-03-05 18:39                 ` Lars Ingebrigtsen
2014-03-07 20:12                   ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).