help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with key binding


From: August
Subject: Re: Problem with key binding
Date: Mon, 24 Jan 2005 01:02:56 +0100

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]