From: "William Reardon" <william.reardon@gmail.com>
Subject: Re: Remapping the Tab Key?
Date: 21 Nov 2005 12:03:12 -0800 [thread overview]
Message-ID: <1132601696.301673.53340@o13g2000cwo.googlegroups.com> (raw)
In-Reply-To: <87br0dopwv.fsf@cisco.com>
No luck with that approach either, as I get the following error:
Symbol's value as variable is void: cperl-mode-map
I did, however, finally stumble on something that does:
(add-hook 'cperl-mode-hook
(function (lambda ()
(local-set-key [009] (quote indent-or-complete))
)))
Changing from 'cperl-mode-common-hook' to 'cperl-mode-hook' and using
the decimal value of the tab key. I can think of a few reasons for the
former, but I don't understand the latter. It *only* works with the
decimal value. Neither of the following would do the trick:
(local-set-key [tab] (quote indent-or-complete))
(local-set-key [(tab)] (quote indent-or-complete))
Any insights as to why?
-Bill
next prev parent reply other threads:[~2005-11-21 20:03 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
2005-11-21 20:03 ` William Reardon [this message]
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=1132601696.301673.53340@o13g2000cwo.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.
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.