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

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

Re: Emacs does not recognise the shift key as a modifier.


From: Sandip Chitale
Subject: Re: Emacs does not recognise the shift key as a modifier.
Date: 10 Sep 2003 12:31:07 -0700

That is interesting. Doesn't emacs have very low level access to
key scan codes so that it can distinguish when user
is pressing Shift key + f which results in F as opposed to
knowing that F is resulting due to Caps Lock. I say that
because when the caps lock is on one can type Shift-f to
get f.

address@hidden (Kai Grossjohann) wrote in message news:<address@hidden>...
> Tom Oswald <address@hidden> wrote in message news:<address@hidden>...
> > When I press Control+H followed by k to get help regarding commands 
> > associated 
> > with keys.  Then subsequently pressing <Shift>F3, emacs only presents the 
> > command, if any, associated with F3, not <Shift>F3.  It does not understand 
> > the 
> > F3 was pressed while holding down <Shift>.
> 
> That's a feature.  That way, you can type C-f (say) even when
> Caps-Lock is enabled, and it will do what you think.
> 
> But if you bind C-S-f, then C-f with Caps-Lock on or C-S-f will of
> course invoke that function.
> 
> This way, binding S-<f3> to some function will automatically make it
> appear.
> 
> This is the number two obscure feature of Emacs, IMHO.  Number one is
> M-x picture-mode RET C-c C-c for removing trailing blanks on each
> line.


reply via email to

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