From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "rgb" Newsgroups: gmane.emacs.help Subject: Re: Remapping the Tab Key? Date: 22 Nov 2005 10:14:14 -0800 Organization: http://groups.google.com Message-ID: <1132683254.470661.305590@g43g2000cwa.googlegroups.com> References: <1132475845.739407.273570@g43g2000cwa.googlegroups.com> <1132561549.972556.145670@g43g2000cwa.googlegroups.com> <87br0dopwv.fsf@cisco.com> <1132601696.301673.53340@o13g2000cwo.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1132684720 29899 80.91.229.2 (22 Nov 2005 18:38:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 22 Nov 2005 18:38:40 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 22 19:38:39 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Eed0A-0006dh-Dz for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Nov 2005 19:36:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eed09-0006NW-Ny for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Nov 2005 13:36:21 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!news.glorb.com!postnews.google.com!g43g2000cwa.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: 198.74.20.73 Original-X-Trace: posting.google.com 1132683259 21460 127.0.0.1 (22 Nov 2005 18:14:19 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 22 Nov 2005 18:14:19 +0000 (UTC) In-Reply-To: <1132601696.301673.53340@o13g2000cwo.googlegroups.com> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: g43g2000cwa.googlegroups.com; posting-host=198.74.20.73; posting-account=C7LM4w0AAAD23IRuMuUUJVCLQTuHhTK8 Original-Xref: shelby.stanford.edu gnu.emacs.help:135656 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:31259 Archived-At: > (add-hook 'cperl-mode-hook > (function (lambda () > (local-set-key [009] (quote indent-or-complete)) > ))) > > It *only* works with the > decimal value. Neither of the following would do the trick: > > (local-set-key [tab] (quote indent-or-complete)) > (local-set-key [(tab)] (quote indent-or-complete)) > > Any insights as to why? There are 2 questions. 1. Why doesn't it work M-: (local-set-key [TAB] 'indent-relative) RET (error "To bind the key TAB, use \"\\t\", not [TAB]") So it appears that the answer to WHY is, it's not supposed to. 2. WHY? doesn't it work. I have no idea.