unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: key binding doesn't work under consle mode
Date: Tue, 28 Mar 2006 11:21:39 -0700	[thread overview]
Message-ID: <e0busu$eb2$1@sea.gmane.org> (raw)
In-Reply-To: <12b893740603270617w68dbbf82q7eab7ed9dff9d3c6@mail.gmail.com>

kid kid wrote:
>    I have problem using Emacs. I use some key binding defined in my
> dot emacs file:
> 
> (global-set-key "\C-h" 'delete-backward-char)
> (define-key global-map "\M-h" 'backward-kill-word)
> (define-key global-map [C-return] 'set-mark-command)
> 
> It works perfectly in emacs, but when I run "emacs -nw",
>  I can type C-h to backword delete a char, type M-h to
>  backward kill a word, but I can't use C-return to set mark.
>  However, I use M-x describe-function <return> set-mark-command,
> it says "It is bound to C-@, <C-return>, C-SPC.". But when I
> type C-return, it just start a new line. I tried in the rxvt terminal
> simulator or in real console(use Alt+Ctrl+F1), it doesn't work.

I suspect rxvt and the console send the same key for RET and C-RET.
You can confirm that with `C-h k RET' then `C-h l' and `C-h k C-RET'
then `C-h l'.

-- 
Kevin Rodgers

  reply	other threads:[~2006-03-28 18:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-27 14:17 key binding doesn't work under consle mode kid kid
2006-03-28 18:21 ` Kevin Rodgers [this message]
     [not found] <mailman.33.1143487345.2481.help-gnu-emacs@gnu.org>
2006-03-29  5:25 ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2006-03-29 10:31 kid kid

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='e0busu$eb2$1@sea.gmane.org' \
    --to=ihs_4664@yahoo.com \
    /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.
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).