all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Harald Hanche-Olsen <hanche@math.ntnu.no>
Subject: Re: Remapping the Tab Key?
Date: Sun, 20 Nov 2005 10:19:42 +0100	[thread overview]
Message-ID: <pco1x1b8ymp.fsf@shuttle.math.ntnu.no> (raw)
In-Reply-To: 1132475845.739407.273570@g43g2000cwa.googlegroups.com

+ "William Reardon" <william.reardon@gmail.com>:

| 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)

Changing the tab key in the global keymap is unlikely to work, as many
major modes will bind this key in their local keymaps.  Check out the
story on global vs local keymaps in the info file.

-- 
* Harald Hanche-Olsen     <URL:http://www.math.ntnu.no/~hanche/>
- Debating gives most of us much more psychological satisfaction
  than thinking does: but it deprives us of whatever chance there is
  of getting closer to the truth.  -- C.P. Snow

  reply	other threads:[~2005-11-20  9:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-20  8:37 Remapping the Tab Key? William Reardon
2005-11-20  9:19 ` Harald Hanche-Olsen [this message]
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

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

  git send-email \
    --in-reply-to=pco1x1b8ymp.fsf@shuttle.math.ntnu.no \
    --to=hanche@math.ntnu.no \
    /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.