[Top][All Lists]

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

(kbd "S-TAB") doesn't work

From: Joe Corneli
Subject: (kbd "S-TAB") doesn't work
Date: Tue, 05 Apr 2005 21:52:42 -0500

As far as I know,

 (define-key map (kbd "S-TAB") 'nero-move-to-previous-link)

should work, i.e., it should do the same thing as

 (define-key map [(shift tab)] 'nero-move-to-previous-link)

However, I needed to use the latter syntax to actually get
my binding bound.

Using the first form and C-h k S-TAB, I got this message:

 TAB (translated from <S-tab>) runs the command nero-move-to-next-link

Not what I wanted!

With the second form, all is well:

 <S-tab> runs the command nero-move-to-previous-link

In GNU Emacs (powerpc-apple-darwin7.5.0, X toolkit, Xaw3d scroll bars)
 of 2005-04-03 on hope-of-a-stone.local
Distributor `The XFree86 Project, Inc', version 11.0.40300000
configured using `configure '--with-x' '--without-carbon' '--with-xpm' 
'--with-jpeg' '--with-tiff' '--with-gif' '--with-png' 'CFLAGS=-I/sw/include' 
'CPPFLAGS=-I/sw/include' 'LDFLAGS=-L/sw/lib''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: Emacs-Lisp

Minor modes in effect:
  auto-image-file-mode: t
  show-paren-mode: t
  display-time-mode: t
  mouse-wheel-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
s <tab> <return> C-s c o n t r <down> <down> <down> 
<down> M-f M-f <right> C-SPC <C-right> M-w M-: <up> 
M-f M-f M-f M-f M-f <right> C-y <C-delete> M-b M-f 
<M-backspace> <M-backspace> s h i f t SPC t a b C-e 
<return> C-x o <S-tab> <S-tab> <S-tab> <S-tab> <S-tab> 
<S-tab> <S-tab> <S-tab> <S-tab> <S-tab> C-x o C-x b 
<return> M-: <up> C-SPC C-g M-: <up> M-f M-f M-f M-f 
M-f <right> C-SPC <C-right> M-w C-x o C-x o <C-left> 
C-y <C-delete> C-e C-x C-s C-SPC C-a M-w M-x C-g M-x 
r e p <tab> o r <tab> <return>

Recent messages:
Mark saved where search started
Mark set
Saving file /Users/arided/site-lisp/nero.el...
Wrote /Users/arided/site-lisp/nero.el
list: Command attempted to use minibuffer while in minibuffer
Making completion list...

reply via email to

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