From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Ivan Kanis" Newsgroups: gmane.emacs.devel Subject: Re: C-i and TAB Date: Thu, 7 Feb 2013 18:21:27 +0100 Message-ID: <3fcc34480d966b8421243cb2dd420c8d.squirrel@kanis.fr> References: <87mwvgp2t3.fsf@kanis.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1360276798 18956 80.91.229.3 (7 Feb 2013 22:39:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Feb 2013 22:39:58 +0000 (UTC) Cc: Ivan Kanis , Emacs Development List To: "Stefan Monnier" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 07 23:40:18 2013 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 1U3a8f-0004bD-B1 for ged-emacs-devel@m.gmane.org; Thu, 07 Feb 2013 23:40:17 +0100 Original-Received: from localhost ([::1]:40539 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3a8M-0002iT-Be for ged-emacs-devel@m.gmane.org; Thu, 07 Feb 2013 17:39:58 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37249) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3VAI-0004Bb-Uo for emacs-devel@gnu.org; Thu, 07 Feb 2013 12:21:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U3VAG-0001kZ-49 for emacs-devel@gnu.org; Thu, 07 Feb 2013 12:21:38 -0500 Original-Received: from smtp.kanis.fr ([164.138.25.8]:47439 helo=kanis.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3VAF-0001iw-R4 for emacs-devel@gnu.org; Thu, 07 Feb 2013 12:21:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=comencini.fr; s=alpha; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:To:From:Subject:Date:References:In-Reply-To:Message-ID; bh=qCkVaSYrOe4j+MLTSErsoZ35b8o/nMYEGJGUdlAr8ik=; b=bWxoSH5/4o96AjQgSsiNCn4kFWY4ip1JvsErim6dLy0iPLx6zhWZnV4xTWVqUZiU9FvmD+BsITg47D53ycoCH0Txoi9Y7freb2PiOOzDp3KVrliRjeYH1AztVyeRXU1e; Original-Received: from smtp.comencini.fr ([164.138.25.8]) by smtp.comencini.fr with local (Exim 4.80.1) (envelope-from ) id 1U3VA7-0008Tc-Rv; Thu, 07 Feb 2013 18:21:27 +0100 Original-Received: from 89.83.137.164 (SquirrelMail authenticated user ivan) by kanis.fr with HTTP; Thu, 7 Feb 2013 18:21:27 +0100 In-Reply-To: User-Agent: SquirrelMail/1.4.21 X-Priority: 3 (Normal) Importance: Normal X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 164.138.25.8 X-Mailman-Approved-At: Thu, 07 Feb 2013 17:39:56 -0500 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:156869 Archived-At: >> How come Emacs for X can't distinguish between C-i and TAB? I understand >> why that happens on a terminal, but on X it should be possible... > > Emacs definitely distinguished between the two. > But it has a function-key-map entry that turns `tab' (the event > generated by your TAB key) into a C-i when there's no binding for `tab'. Not in trunk: emacs -Q (global-set-key (kbd "C-i") 'foo) (global-set-key (kbd "TAB") 'bar) TAB -> Symbol's function definition is void: bar C-i -> Symbol's function definition is void: bar