help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Forrest
Subject: `global-set-key' doesn't work in my console
Date: Mon, 7 Jan 2008 16:03:12 +0800

`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.
reply via email to

[Prev in Thread] Current Thread [Next in Thread]