all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joseph Peterson <jeepeterson@yahoo.com>
To: help-gnu-emacs@gnu.org
Subject: Binding C-i without losing <tab> functionality
Date: Thu, 23 Oct 2008 17:56:03 -0700 (PDT)	[thread overview]
Message-ID: <793203.22951.qm@web54112.mail.re2.yahoo.com> (raw)

Hello all,

I'm trying to bind C-i to isearch-forward, but I'm having some problems.  

It doesn't change anything when I do this or variations of this: 
  (global-set-key [?\C-i] 'isearch-forward)

Sometimes it seems like it will work, but it rebinds the tab key, too 
(I may be remembering when I bound TAB, though...)

If I bind both <tab> and C-i, then it seems that I can rebind C-i to be
different than <tab>. Like this:
  (global-set-key [tab] 'c-indent-command)
  (global-set-key [?\C-i] 'isearch-forward)

Then it seems to work, but then I lose all the mode-specific bindings. 
(Most annoying is the loss of mini-buffer completion). How do I bind 
C-i without affecting the Tab key?

Thanks all,
-JEEP
Joe Peterson


      




             reply	other threads:[~2008-10-24  0:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-24  0:56 Joseph Peterson [this message]
2008-10-24  8:35 ` Binding C-i without losing <tab> functionality Paul R
     [not found] ` <mailman.1986.1224837322.25473.help-gnu-emacs@gnu.org>
2008-10-24  9:30   ` Andreas Politz
2008-10-24 15:40     ` jeep
2008-10-24 17:37       ` Andreas Politz
2008-10-24 18:45         ` jeep
2008-10-25  5:13         ` jeep
2008-10-25 10:02           ` Andreas Politz
2008-10-29  5:29             ` jeep
2008-10-24 15:32   ` jeep
     [not found] <mailman.1964.1224816146.25473.help-gnu-emacs@gnu.org>
2008-10-24  8:44 ` Xah

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=793203.22951.qm@web54112.mail.re2.yahoo.com \
    --to=jeepeterson@yahoo.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.