« Return to Thread: Using thinkpad keys in Emacs for windows

Re: Using thinkpad keys in Emacs for windows

by Kenneth Goldman :: Rate this Message:

Reply to Author | View in Thread

My T60p doesn't have page-forward, but it does have "PgUp" and "PgDn".

They map to "prior" and "next" and I map them as (e.g.)

(global-set-key [prior] 'scroll-one-line-down)
(global-set-key [M-prior] 'scroll-other-window-one-line-down)
(global-set-key [S-prior] 'scroll-down)
(global-set-key [C-prior] 'beginning-of-buffer)

They work equally well with an external keyboard, and both work
for Linux and Windows.

help-emacs-windows-bounces+kgold=watson.ibm.com@... wrote on 07/09/2009 08:53:38 AM:

> Amnon Harel wrote:
> >
> > In particular, how can I tell whether emacs for windows notices a key
> > was pressed (like xev does in linux)?
>
> Easiest way is to type: C-H K and then press the key that you are
> interested in.  On my Windows system, the page-forward and page-back
> keys appear to be dead to Emacs.

 « Return to Thread: Using thinkpad keys in Emacs for windows