all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "kid kid" <pluskid.zju@gmail.com>
Subject: key binding doesn't work under consle mode
Date: Mon, 27 Mar 2006 22:17:23 +0800	[thread overview]
Message-ID: <12b893740603270617w68dbbf82q7eab7ed9dff9d3c6@mail.gmail.com> (raw)

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

And I have another problem: when in real console(I mean switched
by typing Alt+Ctrl+F1~6), I can't use Alt key. When I want to type
M-x help, I must type ESC, then release it, then type x, then help.
Why doesn't the Alt key working in real console? Is it the fault of
wrongly configured emacs or the console?

                     Thank you!
                   pluskid

             reply	other threads:[~2006-03-27 14:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-27 14:17 kid kid [this message]
2006-03-28 18:21 ` key binding doesn't work under consle mode Kevin Rodgers
     [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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=12b893740603270617w68dbbf82q7eab7ed9dff9d3c6@mail.gmail.com \
    --to=pluskid.zju@gmail.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.