From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: C-i and TAB Date: Thu, 7 Feb 2013 18:46:24 -0800 Message-ID: <81E137F2B85342669C6C10022DE31710@us.oracle.com> References: <87mwvgp2t3.fsf@kanis.fr><3fcc34480d966b8421243cb2dd420c8d.squirrel@kanis.fr> <20130208075602.b1c5796e0c25075020e19daa@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1360291604 7950 80.91.229.3 (8 Feb 2013 02:46:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Feb 2013 02:46:44 +0000 (UTC) Cc: 'Emacs Development List' , 'Stefan Monnier' , 'Ivan Kanis' , 'Ivan Kanis' To: "'Xue Fuqiao'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 08 03:47:04 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 1U3dzO-0007RB-Jm for ged-emacs-devel@m.gmane.org; Fri, 08 Feb 2013 03:46:58 +0100 Original-Received: from localhost ([::1]:36269 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3dz5-0007Yw-Ox for ged-emacs-devel@m.gmane.org; Thu, 07 Feb 2013 21:46:39 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47078) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3dyz-0007Sn-BM for emacs-devel@gnu.org; Thu, 07 Feb 2013 21:46:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U3dyx-0005DC-E6 for emacs-devel@gnu.org; Thu, 07 Feb 2013 21:46:33 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:42591) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3dyx-0005Cp-7R for emacs-devel@gnu.org; Thu, 07 Feb 2013 21:46:31 -0500 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r182kSc6015717 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 8 Feb 2013 02:46:29 GMT Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r182kRUS005397 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 8 Feb 2013 02:46:27 GMT Original-Received: from abhmt117.oracle.com (abhmt117.oracle.com [141.146.116.69]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id r182kQiH011257; Thu, 7 Feb 2013 20:46:26 -0600 Original-Received: from dradamslap1 (/71.202.147.44) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 07 Feb 2013 18:46:26 -0800 X-Mailer: Microsoft Office Outlook 11 In-reply-to: <20130208075602.b1c5796e0c25075020e19daa@gmail.com> Thread-Index: Ac4FjrRfeBhsbqVgRfi7Ppw1/WZaKwAF3e0w X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 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:156876 Archived-At: > > > > (global-set-key (kbd "C-i") 'foo) > > > > (global-set-key (kbd "TAB") 'bar) > > > > > > Try > > > (global-set-key [?\C-i] 'foo) > > > (global-set-key [tab] 'bar) > > > > Or just this, no? > > (global-set-key (kbd "C-i") 'foo) > > (global-set-key (kbd "") 'bar) > > Their effect should be the same. That was the point. You can use `kbd' as originally attempted. You just need to know the external representation .