all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mario Lang <mlang@delysid.org>
To: emacs-devel@gnu.org
Subject: [PATCH] eww-mode-map doesn't bind TAB on tty.
Date: Fri, 28 Feb 2014 13:37:11 +0100	[thread overview]
Message-ID: <87zjlbtnuw.fsf@fx.delysid.org> (raw)

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,
  ⡍⠁⠗⠊⠕



             reply	other threads:[~2014-02-28 12:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-28 12:37 Mario Lang [this message]
2014-03-04 19:39 ` [PATCH] eww-mode-map doesn't bind TAB on tty 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zjlbtnuw.fsf@fx.delysid.org \
    --to=mlang@delysid.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.