From: August <fusionfive@comhem.se>
Subject: Re: Problem with key binding
Date: Mon, 24 Jan 2005 01:02:56 +0100 [thread overview]
Message-ID: <1106524976.5343.17.camel@c83-250-201-122.bredband.comhem.se> (raw)
In-Reply-To: <87brbfdbhg.fsf@robotron.ath.cx>
On sön, 2005-01-23 at 23:30 +0100, David Hansen wrote:
> On Sun, 23 Jan 2005 20:55:14 GMT Mark A. Nicolosi wrote:
>
> > (defun my-c-mode-hook ()
> > ;; <SNIP>
> > (local-set-key (kbd "\t") 'indent-or-complete)
> > ;; <SNIP>
> > )
> > (add-hook 'c-mode-hook 'my-c-mode-hook)
>
> (kbd "\t") gives "" here. Try "\t" or (kbd "TAB").
I always use the bracket notation for keyboard input as I find it to be
the most readable alternative:
(local-set-key [tab] ...)
--
August
next prev parent reply other threads:[~2005-01-24 0:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-23 20:55 Problem with key binding Mark A. Nicolosi
2005-01-23 22:30 ` David Hansen
2005-01-24 0:02 ` August [this message]
2005-01-24 0:04 ` Mark A. Nicolosi
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=1106524976.5343.17.camel@c83-250-201-122.bredband.comhem.se \
--to=fusionfive@comhem.se \
/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.