From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.help Subject: Re: keybindings for c-i and tab Date: Thu, 16 Nov 2006 16:13:21 +0100 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1163690174 25053 80.91.229.2 (16 Nov 2006 15:16:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Nov 2006 15:16:14 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 16 16:16:10 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Gkixm-0000VH-Cg for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Nov 2006 16:15:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gkixl-00032W-9V for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Nov 2006 10:15:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gkivl-0000go-IJ for help-gnu-emacs@gnu.org; Thu, 16 Nov 2006 10:13:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gkivj-0000eJ-MP for help-gnu-emacs@gnu.org; Thu, 16 Nov 2006 10:13:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gkivj-0000e3-Cr for help-gnu-emacs@gnu.org; Thu, 16 Nov 2006 10:13:31 -0500 Original-Received: from [64.233.162.206] (helo=nz-out-0102.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gkivj-00078s-G5 for help-gnu-emacs@gnu.org; Thu, 16 Nov 2006 10:13:31 -0500 Original-Received: by nz-out-0102.google.com with SMTP id k1so329157nzf for ; Thu, 16 Nov 2006 07:13:30 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=iA9dXk5zYLUc69i1NW5/Zwqo3P25QrJe78VMwXTdbCP9l3EJfWWF1h7WWYuQ+4yp7BT39oPAy1ZCB9/scWQi3v5895BCbfqYAvlkakAXLc2CG0J3nyNLA7vZ9lcmpIgARruJa30YUWRRm0McWcITJcdknEMgiuXxSHrfQ2ANqKs= Original-Received: by 10.35.125.16 with SMTP id c16mr960060pyn.1163690002122; Thu, 16 Nov 2006 07:13:22 -0800 (PST) Original-Received: by 10.35.95.18 with HTTP; Thu, 16 Nov 2006 07:13:21 -0800 (PST) Original-To: Tyler In-Reply-To: Content-Disposition: inline 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:38755 Archived-At: On 11/16/06, Tyler wrote: > So am > I correct in assuming that I can't bind anything to C-i without also > binding it to tab, unless I elect to turn off tab entirely with your > solution? I think this could work: (add-hook 'AUCTEX-MODE-HOOK #'(lambda () (local-set-key [tab] (local-key-binding [9])) (local-set-key [9] 'YOUR-FUNCTION))) where AUCTEX-MODE-HOOK is the hook for Auctex mode (assuming it has one), and YOUR-FUNCTION is the function you want to bind to C-I but not to tab. /L/e/k/t/u