unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Andrew Choi <akochoi@shaw.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Problem with the RETURN key
Date: Mon, 16 Dec 2002 19:12:09 -0700	[thread overview]
Message-ID: <m2of7l8kcm.fsf@owlbear.local> (raw)
In-Reply-To: <7D9FD7FA-1159-11D7-AB00-00039398D61E@apache.org>

Ovidiu Predescu <ovidiu@apache.org> 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?

> 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.

  parent reply	other threads:[~2002-12-17  2:12 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
2002-12-17  1:36     ` Ovidiu Predescu
2002-12-17  2:12     ` Andrew Choi [this message]
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=m2of7l8kcm.fsf@owlbear.local \
    --to=akochoi@shaw.ca \
    --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).