[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.
Kai.Grossjohann@gmx.net (Kai Grossjohann) wrote in message
news:<e808b168.0309100554.7db72fb@posting.google.com>...
> Tom Oswald <toswald@sharplabs.com> wrote in message
> news:<vl9noardr67jf1@corp.supernews.com>...
> > 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.