From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Mattie Newsgroups: gmane.emacs.help Subject: Re: help-gnu-emacs Digest, Vol 62, Issue 20 Date: Tue, 8 Jan 2008 00:48:44 -0800 Message-ID: <20080108004844.2fe4c7fa@reforged> References: <47825bda.0d67260a.098f.05adSMTPIN_ADDED@mx.google.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0442847705==" X-Trace: ger.gmane.org 1199782374 28322 80.91.229.12 (8 Jan 2008 08:52:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Jan 2008 08:52:54 +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 09:53:16 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 1JCACx-0003h4-0F for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Jan 2008 09:53:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCACZ-0001Ks-UQ for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Jan 2008 03:52:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JCACA-0001KH-3S for help-gnu-emacs@gnu.org; Tue, 08 Jan 2008 03:52:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JCAC8-0001Jo-Ho for help-gnu-emacs@gnu.org; Tue, 08 Jan 2008 03:52:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCAC8-0001Jh-AL for help-gnu-emacs@gnu.org; Tue, 08 Jan 2008 03:52:24 -0500 Original-Received: from wa-out-1112.google.com ([209.85.146.179]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JCAC7-0005nD-T6 for help-gnu-emacs@gnu.org; Tue, 08 Jan 2008 03:52:24 -0500 Original-Received: by wa-out-1112.google.com with SMTP id k34so13111777wah.10 for ; Tue, 08 Jan 2008 00:52:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; bh=Hkym0zoKUseQMSYTRYSmOksdljY/jmYqMx0nOUqY5DQ=; b=NggXxpoYVtyNV+53aRQfIHfU5Jqtfgmt5y2JBZDp8sMSaSa1xj38EgE8nUQ4tp5P7T/Nx8iVReMLIWG1+ZguL5DSCm+F+pTUup2P6ETN+UI5HMGfg6igH7+K7bKkJxzI4ntKJZ4ZldriSq1356a6x2B0lRiOGjXo9pY+2/d+SzI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=NXo5xJPXBH+HJPZ5yku+CRo0Wn6tTXWpRYQU3r1nmWMPE/RMKvrTJks7OPKM99bEiAiylzLImzkMTjRuFF1j/r5XjKUSwWT8T19alRCRMzBdngXubM1oXsKXVSqCOGFkfwNRhdd6EzdZE0dkrwaOmiY5u4AlY0MeL1rzrmuyF7E= Original-Received: by 10.114.77.1 with SMTP id z1mr561514waa.56.1199782341061; Tue, 08 Jan 2008 00:52:21 -0800 (PST) Original-Received: from reforged ( [71.217.198.62]) by mx.google.com with ESMTPS id m10sm7834589waf.21.2008.01.08.00.52.14 (version=SSLv3 cipher=OTHER); Tue, 08 Jan 2008 00:52:14 -0800 (PST) In-Reply-To: X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.1; i686-pc-linux-gnu) 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:50584 Archived-At: --===============0442847705== Content-Type: multipart/signed; boundary="Sig_/=nyh+UPMcXcmpvFzDuM3QJb"; protocol="application/pgp-signature"; micalg=PGP-SHA1 --Sig_/=nyh+UPMcXcmpvFzDuM3QJb Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 8 Jan 2008 15:38:08 +0800 Forrest 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 t= he errors from the process of defining keys. (defun insert-key-notation () "inject a complete \(kbd \"sequence\"\) with key notation for a key seque= nce 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 sequen= ce. > > 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. >=20 > 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 >=20 > i'm a newbie, could you give me any detailed clue to solve it? >=20 --Sig_/=nyh+UPMcXcmpvFzDuM3QJb Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHgzjsdfRchrkBInkRAvMSAKDGlrH471jM+Sut6VsT7Ug6nTb9RACfRWPX eQOmchTflP4P2KKXgAyFMYY= =qIwL -----END PGP SIGNATURE----- --Sig_/=nyh+UPMcXcmpvFzDuM3QJb-- --===============0442847705== 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 --===============0442847705==--