all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "Forrest" <forrest.yu@gmail.com>, <help-gnu-emacs@gnu.org>
Subject: RE: `global-set-key' doesn't work in my console
Date: Mon, 7 Jan 2008 07:40:57 -0800	[thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICCEIDECAA.drew.adams@oracle.com> (raw)
In-Reply-To: <e4d2b03e0801070003k5066bef9r5ce7ece8f9e49bd@mail.gmail.com>

> `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.

  parent reply	other threads:[~2008-01-07 15:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-07  8:03 `global-set-key' doesn't work in my console Forrest
2008-01-07  9:51 ` Peter Dyballa
2008-01-07 15:40 ` Drew Adams [this message]
  -- 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=DNEMKBNJBGPAOPIJOOICCEIDECAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    --cc=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.