From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier " Newsgroups: gmane.emacs.help Subject: Re: The [(control i)] and [(tab)] problem Date: 04 Dec 2002 10:33:38 -0500 Organization: Yale University Sender: help-gnu-emacs-admin@gnu.org Message-ID: <5lznrllrxp.fsf@rum.cs.yale.edu> References: <3dedcc9a@news.uni-ulm.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1039016640 7276 80.91.224.249 (4 Dec 2002 15:44:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 4 Dec 2002 15:44:00 +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 18Jbgq-0001sa-00 for ; Wed, 04 Dec 2002 16:43:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Jbiv-0001uZ-00; Wed, 04 Dec 2002 10:46:05 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!news.ycc.yale.edu!rum.cs.yale.edu!rum.cs.yale.edu Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-NNTP-Posting-Host: rum.cs.yale.edu User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-Original-NNTP-Posting-Host: rum.cs.yale.edu X-Original-Trace: 4 Dec 2002 10:33:38 -0500, rum.cs.yale.edu Original-Xref: shelby.stanford.edu gnu.emacs.help:107725 Original-To: help-gnu-emacs@gnu.org 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:4276 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4276 >>>>> "Boris" == Boris H writes: > I've tried to remap C-i several times in Emacs 21.1 with different methods, > but obviously Emacs can't distinguish C-i from tab. The method described in > info emacs didn't work. In XEmacs, C-i and tab can be remapped > independently. By default, the TAB key is remapped at a fairly low level (i.e. in function-key-map) to C-i and then all "bindings to the TAB key" are actually bindings to the C-i key. You can remove the remapping from function-key-map (or more simply you can define a binding for [tab] in the global map which will cause the remapping to be ignored). But note that many places will then change the C-i binding thinking it also affects the TAB key. That doesn't mean it won't work, but just that you might find some bindings "missing" (you can of course fix them manually). Stefan PS: Note that on console or in an xterm, the TAB key and C-i are indistinguishable, so the above only applies to non-tty uses of Emacs.