From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "William Reardon" Newsgroups: gmane.emacs.help Subject: Re: Remapping the Tab Key? Date: 21 Nov 2005 12:03:12 -0800 Organization: http://groups.google.com Message-ID: <1132601696.301673.53340@o13g2000cwo.googlegroups.com> References: <1132475845.739407.273570@g43g2000cwa.googlegroups.com> <1132561549.972556.145670@g43g2000cwa.googlegroups.com> <87br0dopwv.fsf@cisco.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1132604439 29646 80.91.229.2 (21 Nov 2005 20:20:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 Nov 2005 20:20:39 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 21 21:20:38 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EeI7i-0006r6-1r for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Nov 2005 21:18:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EeI7g-0006nT-Uf for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Nov 2005 15:18:44 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!o13g2000cwo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: 68.77.3.120 Original-X-Trace: posting.google.com 1132603397 21458 127.0.0.1 (21 Nov 2005 20:03:17 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 21 Nov 2005 20:03:17 +0000 (UTC) In-Reply-To: <87br0dopwv.fsf@cisco.com> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: o13g2000cwo.googlegroups.com; posting-host=68.77.3.120; posting-account=VjvL0g0AAAA-AVkS8vPPjBm6Gf14vTmG Original-Xref: shelby.stanford.edu gnu.emacs.help:135628 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:31229 Archived-At: No luck with that approach either, as I get the following error: Symbol's value as variable is void: cperl-mode-map I did, however, finally stumble on something that does: (add-hook 'cperl-mode-hook (function (lambda () (local-set-key [009] (quote indent-or-complete)) ))) Changing from 'cperl-mode-common-hook' to 'cperl-mode-hook' and using the decimal value of the tab key. I can think of a few reasons for the former, but I don't understand the latter. 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? -Bill