emacs-devel
[Top][All Lists]
Advanced

[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 16:50:08 -0800

Hi Andrew,

Thanks a lot for the quick reply!

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

Ovidiu Predescu <address@hidden> writes:

With the latest CVS I get a really weird problem on MacOS X. The
return key does not seem to work anymore on my TiBook 800MHz. The only
way I can make it to work is if I press the Function key on the
keyboard. When I hook up a USB keyboard to the laptop, the return key
on this is still not functional, but the return key on the keypad
works just fine.  [...]

I don't have access to a TiBook so I cannot check this.  Please check
whether RET is recognized at all by Emacs.  I.e., what does

  (read-event)

evaluate to when you hit the return key?  The most recent change to key
handle I can think of is the following.

This is indeed interesting. 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'

'kp-enter' is bound to 'newline', but 'return' is bound to nothing, which is why it doesn't work. To alleviate the problem I defined:

(global-set-key [return] 'newline)

in my .emacs. But it would be good to have this work with the stock Emacs.

2002-10-04  Steven Tamm  <address@hidden>

        * macterm.c (keycode_to_xkeysym_table): Change return to be
        treated like an X keysym.

But it was done quite a while ago.  But you should probably start
looking there.

Up until very recently I've been using CVS sources extracted from on September 27. This problem started affecting me only in the past few days.

Regards,
--
Ovidiu Predescu <address@hidden>
http://webweavertech.com/ovidiu/weblog/




reply via email to

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