unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* C-m gives RET
@ 2007-02-26 15:35 Florian Kaufmann
  2007-02-26 15:47 ` Matthew Flaschen
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Florian Kaufmann @ 2007-02-26 15:35 UTC (permalink / raw)
  To: help-gnu-emacs

Hello

(describe-key-briefly) on C-m tells me "RET runs the command newline".
How can I tell Emacs that I want C-m to be C-m and not RET? Same thing
for C-i and TAB.

I found keyboard-translate, but as expected
(keyboard-translate ?\C-m ?\C-m)
doesn't help.

I just downloaded GNU Emacs binary for windows. I have a US-
International keyboard.
(version) returns "GNU Emacs 22.0.94.1 (i386-mingw-nt5.1.2600) of
2007-02-25 on LENNART-69DE564 (patched)". I didn't had this problem
when I was using XEmacs for windows.

Flo

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: C-m gives RET
  2007-02-26 15:35 C-m gives RET Florian Kaufmann
@ 2007-02-26 15:47 ` Matthew Flaschen
       [not found] ` <mailman.117.1172504851.7795.help-gnu-emacs@gnu.org>
  2007-02-26 19:52 ` Piet van Oostrum
  2 siblings, 0 replies; 6+ messages in thread
From: Matthew Flaschen @ 2007-02-26 15:47 UTC (permalink / raw)
  To: emacs


[-- Attachment #1.1: Type: text/plain, Size: 270 bytes --]

Florian Kaufmann wrote:
> Hello
> 
> (describe-key-briefly) on C-m tells me "RET runs the command newline".
> How can I tell Emacs that I want C-m to be C-m and not RET? Same thing
> for C-i and TAB.

I think that's lower-level than emacs.

Matthew Flaschen


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: C-m gives RET
       [not found] ` <mailman.117.1172504851.7795.help-gnu-emacs@gnu.org>
@ 2007-02-26 16:28   ` Florian Kaufmann
  2007-02-26 18:34     ` Xavier Maillard
       [not found]     ` <mailman.125.1172515035.7795.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 6+ messages in thread
From: Florian Kaufmann @ 2007-02-26 16:28 UTC (permalink / raw)
  To: help-gnu-emacs

On Feb 26, 4:47 pm, Matthew Flaschen <matthew.flasc...@gatech.edu>
wrote:
> Florian Kaufmann wrote:
> > Hello
>
> > (describe-key-briefly) on C-m tells me "RET runs the command newline".
> > How can I tell Emacs that I want C-m to be C-m and not RET? Same thing
> > for C-i and TAB.
>
> I think that's lower-level than emacs.
>
> Matthew Flaschen
>
>  signature.asc
> 1KDownload

But then why did it work in XEmacs? And in all the other applications?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: C-m gives RET
  2007-02-26 16:28   ` Florian Kaufmann
@ 2007-02-26 18:34     ` Xavier Maillard
       [not found]     ` <mailman.125.1172515035.7795.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 6+ messages in thread
From: Xavier Maillard @ 2007-02-26 18:34 UTC (permalink / raw)
  To: Florian Kaufmann; +Cc: help-gnu-emacs

Florian Kaufmann <sensorflo@gmail.com> wrote:

> But then why did it work in XEmacs? And in all the other applications?

Could it be a question of TERM definition/usage ?
I am not an expert at all when it comes to ASCII or escape
sequences :)

Xavier

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: C-m gives RET
  2007-02-26 15:35 C-m gives RET Florian Kaufmann
  2007-02-26 15:47 ` Matthew Flaschen
       [not found] ` <mailman.117.1172504851.7795.help-gnu-emacs@gnu.org>
@ 2007-02-26 19:52 ` Piet van Oostrum
  2 siblings, 0 replies; 6+ messages in thread
From: Piet van Oostrum @ 2007-02-26 19:52 UTC (permalink / raw)
  To: help-gnu-emacs

>>>>> "Florian Kaufmann" <sensorflo@gmail.com> (FK) wrote:

>FK> Hello
>FK> (describe-key-briefly) on C-m tells me "RET runs the command newline".
>FK> How can I tell Emacs that I want C-m to be C-m and not RET? Same thing
>FK> for C-i and TAB.

I think RET and TAB are Emacs' names for C-m and C-I. Try C-h k with as
input C-m and Return, and C-I and Tab, respectively. 
RET runs the command newline vs.
RET (translated from <return>) runs the command newline
-- 
Piet van Oostrum <piet@cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4]
Private email: piet@vanoostrum.org

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: C-m gives RET
       [not found]     ` <mailman.125.1172515035.7795.help-gnu-emacs@gnu.org>
@ 2007-02-26 21:25       ` Henrik Jegbjerg Hansen
  0 siblings, 0 replies; 6+ messages in thread
From: Henrik Jegbjerg Hansen @ 2007-02-26 21:25 UTC (permalink / raw)
  To: help-gnu-emacs

Xavier Maillard <zedek@gnu.org> writes:

>> But then why did it work in XEmacs? And in all the other applications?
>
> Could it be a question of TERM definition/usage ?
> I am not an expert at all when it comes to ASCII or escape
> sequences :)

I think so.  For xterm, one can use xterm-extras.el at
http://www.dur.ac.uk/p.j.heslin/Software/Emacs/.  The author also gives
a .Xresources file, showing how to make xterm send the right escape
codes.


-- 
Henrik Jegbjerg Hansen

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-02-26 21:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-26 15:35 C-m gives RET Florian Kaufmann
2007-02-26 15:47 ` Matthew Flaschen
     [not found] ` <mailman.117.1172504851.7795.help-gnu-emacs@gnu.org>
2007-02-26 16:28   ` Florian Kaufmann
2007-02-26 18:34     ` Xavier Maillard
     [not found]     ` <mailman.125.1172515035.7795.help-gnu-emacs@gnu.org>
2007-02-26 21:25       ` Henrik Jegbjerg Hansen
2007-02-26 19:52 ` Piet van Oostrum

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