From: John Russell <jorussel@cisco.com>
Subject: Re: Remapping the Tab Key?
Date: Mon, 21 Nov 2005 12:45:52 -0500 [thread overview]
Message-ID: <87br0dopwv.fsf@cisco.com> (raw)
In-Reply-To: 1132561549.972556.145670@g43g2000cwa.googlegroups.com
"William Reardon" <william.reardon@gmail.com> writes:
> Ah, good to know. Thanks Harald.
>
> I actually only want to do this in cperl, but simplified it to
> eliminate any problems w/ the mode hook (and make it easier to post
> :-). Unfortunately, still no luck when trying the following:
>
> (add-hook 'cperl-mode-common-hook
> (function (lambda ()
> (local-set-key [tab] (quote indent-or-complete))
> )))
>
This worked for me:
(define-key outline-mode-map [(tab)] 'my-function)
John
next prev parent reply other threads:[~2005-11-21 17:45 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
2005-11-21 8:25 ` William Reardon
2005-11-21 17:45 ` John Russell [this message]
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=87br0dopwv.fsf@cisco.com \
--to=jorussel@cisco.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.
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.