From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peng Dai Newsgroups: gmane.emacs.help Subject: define-key turns to go the wrong way. Date: Wed, 3 Apr 2013 18:45:43 -0700 (PDT) Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1365059337 19122 80.91.229.3 (4 Apr 2013 07:08:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Apr 2013 07:08:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 04 09:09:25 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UNeIV-0000UU-9c for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Apr 2013 09:09:23 +0200 Original-Received: from localhost ([::1]:40321 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNeI6-0000dY-DH for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Apr 2013 03:08:58 -0400 X-Received: by 10.224.207.2 with SMTP id fw2mr2294815qab.6.1365039944199; Wed, 03 Apr 2013 18:45:44 -0700 (PDT) X-Received: by 10.49.24.80 with SMTP id s16mr413138qef.35.1365039944140; Wed, 03 Apr 2013 18:45:44 -0700 (PDT) Original-Path: usenet.stanford.edu!ca1no28415736qab.0!news-out.google.com!ef9ni1849qab.0!nntp.google.com!ca1no28415733qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=180.172.181.49; posting-account=A8CJBAoAAACyFClGYf-b56zfweVW4mqY Original-NNTP-Posting-Host: 180.172.181.49 User-Agent: G2/1.0 Injection-Date: Thu, 04 Apr 2013 01:45:44 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:197706 X-Mailman-Approved-At: Thu, 04 Apr 2013 03:07:55 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:89974 Archived-At: I use ubuntu12.04(32bit,US), and emacs24.2. When I descide to have a new key "\C-[" and "\C-]" to scroll my window, so I write the following in the init.el (global-set-key (kbd "\C-]") (lambda () (interactive) (scroll-up 2))) (global-set-key (kbd "\C-[") (lambda () (interactive) (scroll-down 2))) this first is work fine. but the second didn't work. When I use the "\C-h k" to see what' wrong. It turn out to be "\C-[" was readed as "". I search the google with no result, it says it was because of the ISCAE's key value but with no soluvation give. And I find another key has the same problem,too. like: "\C-j" turn to be "" "\C-M-j" turn to be "j" Can anyone help.