From: Mike Mattie <codermattie@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: help-gnu-emacs Digest, Vol 62, Issue 20
Date: Tue, 8 Jan 2008 00:48:44 -0800 [thread overview]
Message-ID: <20080108004844.2fe4c7fa@reforged> (raw)
In-Reply-To: <e4d2b03e0801072338k4513efabye19241a7571ed8cf@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1527 bytes --]
On Tue, 8 Jan 2008 15:38:08 +0800
Forrest <forrest.yu@gmail.com> wrote:
> > > global-set-key (kbd "C-,")
> > > '(lambda () "scroll the page down" (interactive) (scroll-
> > > down 1)))
try a space like this:
(kbd "C-c ,")
If that fixes it try using a function I previously posted that eliminates the errors
from the process of defining keys.
(defun insert-key-notation ()
"inject a complete \(kbd \"sequence\"\) with key notation for a key sequence given by prompt"
(interactive)
(insert "(kbd \"")
(insert (format-kbd-macro (read-key-sequence "Key? " nil t)))
(insert "\")"))
it will define the kbd sexp for you after it prompts you for the key sequence.
> > The console and other terminal emulations can only produce "key
> > events" in the ASCII or extended ASCII range, i.e. 8 bit characters
> > (man ascii). Therefore not every time you hold down the control
> > "modifier" key and press some other key something with a meaning is
> > produced. It's like when you're scribbling on paper: not every
> > "picture" is a letter or a digit or worth an exhibition at MOMA ...
> > C-, can work X which has its own concept of events that are
> > abstracted from ASCII codes.
>
> C-x C-c work well in console, so i guess there must be something
> wrong with my key-binding settings. and also, emacs was designed in
> ages when X was not popular, it's unreasonable that custom
> key-binding doesn't work
>
> i'm a newbie, could you give me any detailed clue to solve it?
>
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 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
next prev parent reply other threads:[~2008-01-08 8:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <47825bda.0d67260a.098f.05adSMTPIN_ADDED@mx.google.com>
2008-01-08 7:38 ` help-gnu-emacs Digest, Vol 62, Issue 20 Forrest
2008-01-08 7:53 ` Lennart Borgman (gmail)
2008-01-08 8:27 ` Forrest
2008-01-08 8:48 ` Mike Mattie [this message]
2008-01-08 9:31 ` Nick Roberts
2008-01-08 8:13 ` Forrest
[not found] ` <mailman.5881.1199780028.18990.help-gnu-emacs@gnu.org>
2008-01-08 12:28 ` Andreas Eder
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=20080108004844.2fe4c7fa@reforged \
--to=codermattie@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.