From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] eww-mode-map doesn't bind TAB on tty. Date: Tue, 04 Mar 2014 20:39:29 +0100 Message-ID: <87fvmx7nym.fsf@building.gnus.org> References: <87zjlbtnuw.fsf@fx.delysid.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1393962111 9030 80.91.229.3 (4 Mar 2014 19:41:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Mar 2014 19:41:51 +0000 (UTC) Cc: emacs-devel@gnu.org To: Mario Lang Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 04 20:41:58 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WKvDx-00027b-I1 for ged-emacs-devel@m.gmane.org; Tue, 04 Mar 2014 20:41:57 +0100 Original-Received: from localhost ([::1]:48142 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKvDx-0002HV-5b for ged-emacs-devel@m.gmane.org; Tue, 04 Mar 2014 14:41:57 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKvDp-0002GN-60 for emacs-devel@gnu.org; Tue, 04 Mar 2014 14:41:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WKvDj-0007v6-Uk for emacs-devel@gnu.org; Tue, 04 Mar 2014 14:41:49 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:45721) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKvDj-0007tS-Np for emacs-devel@gnu.org; Tue, 04 Mar 2014 14:41:43 -0500 Original-Received: from 77.18.54.110.tmi.telenormobil.no ([77.18.54.110] helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WKvDN-0003mc-JX; Tue, 04 Mar 2014 20:41:21 +0100 In-Reply-To: <87zjlbtnuw.fsf@fx.delysid.org> (Mario Lang's message of "Fri, 28 Feb 2014 13:37:11 +0100") User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux) X-MailScanner-ID: 1WKvDN-0003mc-JX MailScanner-NULL-Check: 1394566883.04279@iOMiGhN0+K0fEeN+oRVibA X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:170142 Archived-At: Mario Lang writes: > 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. [...] > - (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) Hm. I don't quite understand the patch. [tab] should work in Emacs, also under tty, shouldn't it? But you're right -- [tab] doesn't work in this case. Does anybody know why, and is TAB a special case here? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/