From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.help Subject: Re: C-i and tab Date: Thu, 31 Oct 2002 21:52:15 +0300 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <2950-Thu31Oct2002215214+0200-eliz@is.elta.co.il> References: <3dc14bc1@news.uni-ulm.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1036095512 17639 80.91.224.249 (31 Oct 2002 20:18:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 31 Oct 2002 20:18:32 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 187Llu-0004a9-00 for ; Thu, 31 Oct 2002 21:18:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 187LgJ-0000HE-00; Thu, 31 Oct 2002 15:12:43 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 187LRk-0002BZ-00 for help-gnu-emacs@gnu.org; Thu, 31 Oct 2002 14:57:40 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 187LQP-0000pI-00 for help-gnu-emacs@gnu.org; Thu, 31 Oct 2002 14:56:48 -0500 Original-Received: from heimdall.inter.net.il ([192.114.186.17]) by monty-python.gnu.org with esmtp (Exim 4.10) id 187LLH-0006PS-00 for help-gnu-emacs@gnu.org; Thu, 31 Oct 2002 14:50:59 -0500 Original-Received: from zaretsky (adsl-ayalon-pc-128-17.inter.net.il [213.8.128.17]) by heimdall.inter.net.il (Mirapoint Messaging Server MOS 3.2.1-GA) with ESMTP id BXJ03804; Thu, 31 Oct 2002 21:50:50 +0200 (IST) Original-To: help-gnu-emacs@gnu.org X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: <3dc14bc1@news.uni-ulm.de> (nosp@m.de) Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:3180 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3180 > From: "Boris H." > Newsgroups: gnu.emacs.help > Date: Thu, 31 Oct 2002 16:26:57 +0100 > > Eli Zaretskii wrote: > > > You could remap [tab] (the function key) to what C-i is mapped now, and > > then remap C-i to something else. Note that this will not work on > > character terminals where the TAB key produces C-i, so Emacs cannot > > distinguish between them. > > I've just tried it, but it doesn't work: > > (global-set-key [(tab)] 'indent-for-tab-command) Try this: (define-key function-key-map [tab] 'indent-for-tab-command)