From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: `global-set-key' doesn't work in my console Date: Mon, 7 Jan 2008 10:51:37 +0100 Message-ID: <873FC5DD-FCBF-46FD-AFA3-6B1712F203B4@Web.DE> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1199700267 21102 80.91.229.12 (7 Jan 2008 10:04:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Jan 2008 10:04:27 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Forrest Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 07 11:04:48 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 1JBoqd-000484-9m for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Jan 2008 11:04:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBoqG-000377-41 for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Jan 2008 05:04:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JBoeR-0008NB-EO for help-gnu-emacs@gnu.org; Mon, 07 Jan 2008 04:52:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JBoeO-0008M0-U4 for help-gnu-emacs@gnu.org; Mon, 07 Jan 2008 04:52:09 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBoeO-0008Ld-99 for help-gnu-emacs@gnu.org; Mon, 07 Jan 2008 04:52:08 -0500 Original-Received: from fmmailgate03.web.de ([217.72.192.234]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JBoeN-0004I9-M1 for help-gnu-emacs@gnu.org; Mon, 07 Jan 2008 04:52:07 -0500 Original-Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate03.web.de (Postfix) with ESMTP id 6045EC3267B9; Mon, 7 Jan 2008 10:51:40 +0100 (CET) Original-Received: from [195.4.204.242] (helo=[192.168.1.2]) by smtp06.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.108 #208) id 1JBodv-0003WN-00; Mon, 07 Jan 2008 10:51:39 +0100 In-Reply-To: X-Mailer: Apple Mail (2.753) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1/yAviL5eKosN5+Uu5+//rjtz+m7mNUyE1HZOM7 2nDWeM2VdVn2MF3/nM6vajHk41KtNLxCFlCt9nPLedouKBsEAu o9K6+w046cCdIUF0gs+g== X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:50548 Archived-At: Am 07.01.2008 um 09:03 schrieb Forrest: > global-set-key (kbd "C-,") > '(lambda () "scroll the page down" (interactive) (scroll-=20 > down 1))) The console and other terminal emulations can only produce "key =20 events" in the ASCII or extended ASCII range, i.e. 8 bit characters =20 (man ascii). Therefore not every time you hold down the control =20 "modifier" key and press some other key something with a meaning is =20 produced. It's like when you're scribbling on paper: not every =20 "picture" is a letter or a digit or worth an exhibition at MOMA ... =20 C-, can work X which has its own concept of events that are =20 abstracted from ASCII codes. -- Greetings Pete November, n.: The eleventh twelfth of a weariness. =96 Ambrose Bierce, "The Devil's Dictionary"