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

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

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


From: Drew Adams
Subject: RE: `global-set-key' doesn't work in my console
Date: Mon, 7 Jan 2008 07:40:57 -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?

I believe the problem is that those particular keys (e.g. C-,) are not
available using a console.





reply via email to

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