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: Thu, 19 Dec 2002 18:22:29 -0800

Hi Andrew,

On Tuesday, Dec 17, 2002, at 00:48 US/Pacific, Andrew Choi wrote:

Ovidiu Predescu <address@hidden> writes:

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

Any ideas on how to proceed further?

Please read the node `Translating Input' in the Elisp manual.

What is the value of `function-key-map'?  Mine says:

(keymap (M-return . [-134217715]) (return . [13]) (kp-equal . [61]) (kp-divide . [47]) (kp-decimal . [46]) (kp-subtract . [45]) (kp-separator . [44]) (kp-add . [43]) (kp-multiply . [42]) (kp-enter . [13]) (kp-tab . [9]) ...)

Note the entry for `return'.  If it is not there, you can say something
like

  (define-key function-key-map [return] [13])

but this really shouldn't be necessary.

The value of function-key-map is

(keymap (kp-equal . [61]) (kp-divide . [47]) (kp-decimal . [46]) (kp-subtract . [45]) (kp-separator . [44]) (kp-add . [43]) (kp-multiply . [42]) (kp-enter . [13]) (kp-tab . [9]) (kp-space . [32]) (kp-9 . [57]) ...)

Adding the define-key does solve the problem, everything starts working normally.

Are you sure you have a correct installation?

I have a system which I upgraded from 10.1 to 10.2, then 10.2.1 and 10.2.2 with all the successive patches from Apple.

Is the problem really specific to the Powerbook G4?

I don't know. The only MacOS X machine I have is this laptop, everything else are Linux boxes.

Thanks for the tips!

Best regards,
Ovidiu




reply via email to

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