Mads Jensen <[EMAIL PROTECTED]> wrote on 08 Sep 2005 21:20:54 +0200:
> Hi NG,

> I am currently using the console version of EMACS for a change. There's
> something that bugs a little, ....

> One thing more, I have C-<home> C-<end> bound to beginning-of-buffer and
> end-of-buffer respectively, but when I use those keybindings, I jump to the
> beginning and end of the line.

Probably you're not "holding the control key hard enough".  And in a
console, that can be hard indeed.  If by "console", you mean the 80 x 25
screen on Linux, outside of X, then the keyboard driver isn't set up to
distinguish between C-<home> and <home> - they both produce the same
sequence of bytes, namely   ESC [ 1 ~ .   You can check this by typing
the key, and then typing C-h l (`view-lossage') to get a display of the
raw codes that Emacs saw.  The same applies to many, many other key
combinations, including arrow keys with any modifier keys.  

The solution is to enhance the keyboard layout to generate distinct codes
for distinct keys, and to tell Emacs about them.  That's what the
`function-keymap' is there for.  A complete scheme was worked out many
years ago by Kalle Niemitalo and it works very well indeed.  If you're
running Linux and you're interested, I could email you all the stuff - it
would take a few hours study and work to get it running.

[ .... ]

> Mads Jensen

-- 
Alan Mackenzie (Munich, Germany)
Email: [EMAIL PROTECTED]; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").

_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to