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 16:13:39 +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="===============1935690792==" X-Trace: ger.gmane.org 1199780049 21899 80.91.229.12 (8 Jan 2008 08:14:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Jan 2008 08:14:09 +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:14:27 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 1JC9bO-0002gd-8L for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Jan 2008 09:14:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JC9b1-00009b-2I for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Jan 2008 03:14:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JC9ak-00007R-7U for help-gnu-emacs@gnu.org; Tue, 08 Jan 2008 03:13:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JC9ai-00005G-Nz for help-gnu-emacs@gnu.org; Tue, 08 Jan 2008 03:13:45 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JC9ai-00004y-Hq for help-gnu-emacs@gnu.org; Tue, 08 Jan 2008 03:13:44 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JC9ah-0003Q5-VL for help-gnu-emacs@gnu.org; Tue, 08 Jan 2008 03:13:44 -0500 Original-Received: from fk-out-0910.google.com ([209.85.128.188]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JC9ag-0003Am-5u for help-gnu-emacs@gnu.org; Tue, 08 Jan 2008 03:13:42 -0500 Original-Received: by fk-out-0910.google.com with SMTP id 26so9762102fkx.10 for ; Tue, 08 Jan 2008 00:13:40 -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=z9hTTC3j3dgj97X7CHYfVYf5UxHpbvxb27JMdSpjbVg=; b=PadlRAaowJ4+KwFd1r4m5U+5baB0PRTxWg5i8LBskT+1TLWCsRCRN4V+tBpEJPn1qhklel7kRA51opvPAxbFO1LrBvDWI/h4IeW54tKDpsVQzAekVlg5ZnOTbNm8xIZf8kZsmWY5LD95TJbo3jAX1NEXHVcAJBnua95DGDBddw4= 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=wqYYmkqN/plIrsz6a7i1ill/fSLDNFf2ORP0bjtF6RnH7Zi7FCcFJ1UkoTlS5iv1YuFXNhAxEKV2bnxs0mi1UbfurcS7K7EPOf/MZWQVrjCNgUW7kQklj2ZBq+XGBOwAobY9xrPEuu3hR+1NtbIZA5fT5FY5KCnmgLAZbFukvAg= Original-Received: by 10.78.160.2 with SMTP id i2mr193037hue.53.1199780019931; Tue, 08 Jan 2008 00:13:39 -0800 (PST) Original-Received: by 10.78.134.3 with HTTP; Tue, 8 Jan 2008 00:13:39 -0800 (PST) In-Reply-To: <47825bda.0d67260a.098f.05adSMTPIN_ADDED@mx.google.com> X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:50582 Archived-At: --===============1935690792== Content-Type: multipart/alternative; boundary="----=_Part_49163_21969907.1199780019927" ------=_Part_49163_21969907.1199780019927 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline > > `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. ah, yes, i tried C-j & C-k and it works, many thanks! but why? why is it forbidden to use C-, in console? -- Stupid is as stupid does. ------=_Part_49163_21969907.1199780019927 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline  
> > `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.

ah, yes, i tried C-j & C-k and it works, many thanks!

but why? why is it forbidden to use C-, in console?

--
Stupid is as stupid does. ------=_Part_49163_21969907.1199780019927-- --===============1935690792== 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 --===============1935690792==--