unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "William Reardon" <william.reardon@gmail.com>
Subject: Remapping the Tab Key?
Date: 20 Nov 2005 00:37:25 -0800	[thread overview]
Message-ID: <1132475845.739407.273570@g43g2000cwa.googlegroups.com> (raw)

I'm trying to remap the tab key to call a custom elisp function, but
can't quite get it work.  Here's what I have:

(global-set-key [tab] 'indent-or-complete)

I'm pretty sure the problem isn't in the function, as I can
successfully remap it to ^t via

(global-set-key "\C-t" 'indent-or-complete)

and it works as expected.

I've hunted around a bit, tried the various tricks suggested in the
FAQ, but no luck.  Any suggestions?

I'm running GNU Emacs 21.2.1 on Mac OS X 10.3.9.

TIA!
-Bill

             reply	other threads:[~2005-11-20  8:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-20  8:37 William Reardon [this message]
2005-11-20  9:19 ` Remapping the Tab Key? Harald Hanche-Olsen
2005-11-21  8:25   ` William Reardon
2005-11-21 17:45     ` John Russell
2005-11-21 20:03       ` William Reardon
2005-11-21 21:23         ` John Russell
2005-11-21 22:43         ` Harald Hanche-Olsen
2005-11-22 18:14         ` rgb

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=1132475845.739407.273570@g43g2000cwa.googlegroups.com \
    --to=william.reardon@gmail.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).