all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Forrest <forrest.yu@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: `global-set-key' doesn't work in my console
Date: Mon, 7 Jan 2008 16:03:12 +0800	[thread overview]
Message-ID: <e4d2b03e0801070003k5066bef9r5ce7ece8f9e49bd@mail.gmail.com> (raw)


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

`global-set-key' doesn't work in my console.

i have definitions below in my ~/.emacs:

global-set-key (kbd "C-,")
        '(lambda () "scroll the page down" (interactive) (scroll-down 1)))

(defun up-slightly () (interactive) (scroll-up 1))
(global-set-key [(control .)]          'up-slightly)

then i went to console, launched emacs, opened a file, i can use the
"default" key-bindings like C-x C-c, but when i press C-, or C-. , nothing
happened, they work well in X window, how can i get it work in console?

Thanks a lot!
Forrest

%%
GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.8.20)
Debian Etch
%%

-- 
Stupid is as stupid does.

[-- Attachment #1.2: Type: text/html, Size: 880 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

             reply	other threads:[~2008-01-07  8:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-07  8:03 Forrest [this message]
2008-01-07  9:51 ` `global-set-key' doesn't work in my console Peter Dyballa
2008-01-07 15:40 ` Drew Adams
  -- strict thread matches above, loose matches on Subject: below --
2008-01-08 16:32 Forrest
2008-01-08 19:31 ` Peter Dyballa
2008-01-09  9:48   ` Forrest
2008-01-10 12:51     ` Peter Dyballa
2008-01-10 16:37       ` Forrest Y. Yu

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=e4d2b03e0801070003k5066bef9r5ce7ece8f9e49bd@mail.gmail.com \
    --to=forrest.yu@gmail.com \
    --cc=help-gnu-emacs@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 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.