[Top][All Lists]

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

Re: Problem with the RETURN key

From: Ovidiu Predescu
Subject: Re: Problem with the RETURN key
Date: Mon, 16 Dec 2002 23:15:07 -0800

On Monday, Dec 16, 2002, at 18:12 US/Pacific, Andrew Choi wrote:

Ovidiu Predescu <address@hidden> writes:

[...]  Here are the results of running (read-event):

- external keyboard:
     keypad return key: 'kp-enter'
     normal return key: 'return'
- built-in keyboard:
     return key with "function" button pressed: 'kp-enter'
     normal return key: 'return'

Then there is no problem with the C code recognizing the return key on
the Powerbook G4.  What does `C-h k RET' say?  Mine says:

  RET (translated from <return>) runs the command newline

Can you try running without a start-up file?

The result is "<return> is undefined". This happens with no startup file.

I was wrong, my solution worked in limited cases only. Replacing in
the keycode_to_xkeysym_table array the '\x0d' with 0 solved the
problem for me.

Please don't change the code arbitrarily without understanding it.  It
is there to make Emacs recognize C-return, among other things.

I just wanted to verify this is the cause of the problem, and it seems to be indeed.

Any ideas on how to proceed further?

Best regards,
Ovidiu Predescu <address@hidden>

reply via email to

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