From: Ovidiu Predescu <ovidiu@apache.org>
Cc: emacs-devel@gnu.org
Subject: Re: Problem with the RETURN key
Date: Mon, 16 Dec 2002 16:50:08 -0800 [thread overview]
Message-ID: <7D9FD7FA-1159-11D7-AB00-00039398D61E@apache.org> (raw)
In-Reply-To: <m2znr5btxe.fsf@owlbear.local>
Hi Andrew,
Thanks a lot for the quick reply!
On Monday, Dec 16, 2002, at 12:17 US/Pacific, Andrew Choi wrote:
> Ovidiu Predescu <ovidiu@apache.org> 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 <steventamm@mac.com>
>
> * 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 <ovidiu@apache.org>
http://webweavertech.com/ovidiu/weblog/
next prev parent reply other threads:[~2002-12-17 0:50 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-16 19:51 Problem with the RETURN key Ovidiu Predescu
2002-12-16 20:17 ` Andrew Choi
2002-12-17 0:50 ` Ovidiu Predescu [this message]
2002-12-17 1:36 ` Ovidiu Predescu
2002-12-17 2:12 ` Andrew Choi
2002-12-17 7:15 ` Ovidiu Predescu
2002-12-17 8:48 ` Andrew Choi
2002-12-20 2:22 ` Ovidiu Predescu
[not found] <E18OFC1-0005TJ-04@monty-python.gnu.org>
2002-12-17 14:20 ` Brad Miller
2002-12-17 14:42 ` Andreas Schwab
2002-12-17 14:46 ` Brad Miller
2002-12-17 14:55 ` Andreas Schwab
2002-12-17 15:19 ` Brad Miller
2002-12-17 15:33 ` Andreas Schwab
2002-12-17 17:42 ` Brad Miller
2002-12-18 12:25 ` Ovidiu Predescu
2002-12-18 12:26 ` Ovidiu Predescu
2002-12-18 12:27 ` Ovidiu Predescu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7D9FD7FA-1159-11D7-AB00-00039398D61E@apache.org \
--to=ovidiu@apache.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).