emacs-devel
[Top][All Lists]
Advanced

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

Re: Why are <next> and <prior> not called <page down> and <page up>?


From: Stefan Monnier
Subject: Re: Why are <next> and <prior> not called <page down> and <page up>?
Date: Fri, 01 Sep 2006 13:00:05 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> What is needed is a translation from the internal symbol names to physical
> keyboard key names in `single-key-description'. Such a translation should of
> course be possible to turn off.

> Do you think this is a very big change? Does it disturb the transparency
> very much?

Well, the question is: how should people figure out the piece of elisp code
they should add in their .emacs in order to bind something to "page up".
A common way to do it is C-h c <page-up> and the response will currently say
"<prior>" but your suggestion would replace it with "<page-up>", so then
we'd need to make sure that this can be passed to define-key, probably via
`kbd', so we'd have to adjust kbd as well, at least.  Also until now you
could do the translation by hand rather than use `kbd' and just pass [prior]
to define-key but [page-up] won't work, ...

It's not like it can't be done, but current expectations tend to make such
a thing into a special exception, which may generate at least as much
trouble as it's intended to solve.  Then again, maybe not, I don't
actually know.  I'm just pointing out that it's not nearly as simple as
it seems.


        Stefan




reply via email to

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