unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* keybinding issue
@ 2004-07-04  7:15 Lowell Kirsh
  2004-07-04  9:57 ` Kai Grossjohann
       [not found] ` <mailman.63.1088935214.19614.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: Lowell Kirsh @ 2004-07-04  7:15 UTC (permalink / raw)


I'm using emacs 21.3 on Win XP and would like to bind a function to 
shift-tab. Is this possible? The problem I am having is that emacs seems 
to see shift-tab and tab as the same thing. For example, when I do a C-h 
k shift-tab, the minibuffer says 'Describe key: TAB'. It doesn't seem to 
  recognize that shift was pressed. This happens with either of the 
shift keys.

Lowell

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: keybinding issue
  2004-07-04  7:15 keybinding issue Lowell Kirsh
@ 2004-07-04  9:57 ` Kai Grossjohann
       [not found] ` <mailman.63.1088935214.19614.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 3+ messages in thread
From: Kai Grossjohann @ 2004-07-04  9:57 UTC (permalink / raw)


Lowell Kirsh <lkirsh@cs.ubc.ca> writes:

> I'm using emacs 21.3 on Win XP and would like to bind a function to
> shift-tab. Is this possible? The problem I am having is that emacs
> seems to see shift-tab and tab as the same thing. For example, when
> I do a C-h k shift-tab, the minibuffer says 'Describe key: TAB'. It
> doesn't seem to recognize that shift was pressed. This happens with
> either of the shift keys.

If shift-foo is unbound, Emacs looks up the binding of foo.  This
means that you can still hit C-f and so on even if caps lock is on.

So just bind (kbd "S-<tab>") and Bob's your uncle.

Kai

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: keybinding issue
       [not found] ` <mailman.63.1088935214.19614.help-gnu-emacs@gnu.org>
@ 2004-07-05  8:17   ` Lowell Kirsh
  0 siblings, 0 replies; 3+ messages in thread
From: Lowell Kirsh @ 2004-07-05  8:17 UTC (permalink / raw)


It works :) Thanks.

Kai Grossjohann wrote:

> Lowell Kirsh <lkirsh@cs.ubc.ca> writes:
> 
> 
>>I'm using emacs 21.3 on Win XP and would like to bind a function to
>>shift-tab. Is this possible? The problem I am having is that emacs
>>seems to see shift-tab and tab as the same thing. For example, when
>>I do a C-h k shift-tab, the minibuffer says 'Describe key: TAB'. It
>>doesn't seem to recognize that shift was pressed. This happens with
>>either of the shift keys.
> 
> 
> If shift-foo is unbound, Emacs looks up the binding of foo.  This
> means that you can still hit C-f and so on even if caps lock is on.
> 
> So just bind (kbd "S-<tab>") and Bob's your uncle.
> 
> Kai
> 
> 
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-07-05  8:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-04  7:15 keybinding issue Lowell Kirsh
2004-07-04  9:57 ` Kai Grossjohann
     [not found] ` <mailman.63.1088935214.19614.help-gnu-emacs@gnu.org>
2004-07-05  8:17   ` Lowell Kirsh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).