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

RE: Using thinkpad keys in Emacs for windows

by Amnon Harel :: Rate this Message:

Reply to Author | View in Thread

RE: [h-e-w] Using thinkpad keys in Emacs for windows

Hi Kenneth,

I apologize for not being explicit enough.
It's a Thinkpad T500, and I'm talking about the keys on both
sides of the up arrow key. They complete the 4 arrow keys
into a 2*3 pattern, and are available on most thinkpads.

Page up and Page down have a very useful and natural
use already, so I don't want to change it.

 Thanks,
 Amnon



-----Original Message-----
From: help-emacs-windows-bounces+amnon.harel=cern.ch@... on behalf of Kenneth Goldman
Sent: Thu 09-Jul-09 7:06 AM
Cc: help-emacs-windows@...
Subject: Re: [h-e-w] Using thinkpad keys in Emacs for windows

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