From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Forrest Newsgroups: gmane.emacs.help Subject: Re: help-gnu-emacs Digest, Vol 62, Issue 20 Date: Tue, 8 Jan 2008 15:38:08 +0800 Message-ID: References: <47825bda.0d67260a.098f.05adSMTPIN_ADDED@mx.google.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1137376919==" X-Trace: ger.gmane.org 1199777918 15695 80.91.229.12 (8 Jan 2008 07:38:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Jan 2008 07:38:38 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 08 08:38:58 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JC932-0002OW-Oe for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Jan 2008 08:38:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JC92f-0000f1-KU for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Jan 2008 02:38:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JC92L-0000ba-KY for help-gnu-emacs@gnu.org; Tue, 08 Jan 2008 02:38:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JC92I-0000aa-Sp for help-gnu-emacs@gnu.org; Tue, 08 Jan 2008 02:38:12 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JC92I-0000aO-Jx for help-gnu-emacs@gnu.org; Tue, 08 Jan 2008 02:38:10 -0500 Original-Received: from fk-out-0910.google.com ([209.85.128.184]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JC92H-0007X4-MB for help-gnu-emacs@gnu.org; Tue, 08 Jan 2008 02:38:10 -0500 Original-Received: by fk-out-0910.google.com with SMTP id 26so9746775fkx.10 for ; Mon, 07 Jan 2008 23:38:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=eUHUitOJsTAQq/lN4/2wtOzYjcS2FbPRcwNao/E1/L8=; b=WJbHysOBYbYFzYnioo9db8JMRqAKBNgFRqh5P0PZ85CXU6/dAyK/Q1/WXToeDnxm9q6Rw5hx0dorrSRpKUWpzqE7/hCKFcqpLHscgHPg9Sh2EJEcLbkMTLwxZnHrIqOZozW8mUe+JJijBvLCulsL7AmR0KPnzoxqte+jYMZ6xaw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=qZm6k67t9JBuxA1KNUSG/kCZZyy5KLokL+XMKT3Q8Z763L81MV6wU3PLbSAhAiLJlFuGN+zTmw7nzmLcvVROsGvqWsuME69MZ3toIxeveqnO4PnzcFlhTdLQudJ6AeWpRfgfK5W6lC6qeU1AaiZ6M/qv7/ViyJz1/bLYzz0f99o= Original-Received: by 10.78.21.7 with SMTP id 7mr1689500huu.5.1199777888232; Mon, 07 Jan 2008 23:38:08 -0800 (PST) Original-Received: by 10.78.134.3 with HTTP; Mon, 7 Jan 2008 23:38:08 -0800 (PST) In-Reply-To: <47825bda.0d67260a.098f.05adSMTPIN_ADDED@mx.google.com> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:50580 Archived-At: --===============1137376919== Content-Type: multipart/alternative; boundary="----=_Part_49100_5434405.1199777888228" ------=_Part_49100_5434405.1199777888228 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline > > global-set-key (kbd "C-,") > > '(lambda () "scroll the page down" (interactive) (scroll- > > down 1))) > > 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? -- Stupid is as stupid does. ------=_Part_49100_5434405.1199777888228 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
> > global-set-key (kbd "C-,")
> > '(lambda () "scroll the page down" (interactive) (scroll-
> > down 1)))
>
> 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?

--
Stupid is as stupid does. ------=_Part_49100_5434405.1199777888228-- --===============1137376919== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ help-gnu-emacs mailing list help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --===============1137376919==--