From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Harshdeep S Jawanda Newsgroups: gmane.emacs.help Subject: Re: Trying to global-set-key Date: Tue, 03 Jun 2003 15:18:03 -0600 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3EDD108B.2070308@cs.unm.edu> References: <3EDCEEB9.9020803@cs.unm.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1054675270 5175 80.91.224.249 (3 Jun 2003 21:21:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 3 Jun 2003 21:21:10 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 03 23:21:09 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19NJCp-0001IR-00 for ; Tue, 03 Jun 2003 23:20:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19NJEB-0001Hw-Ur for gnu-help-gnu-emacs@m.gmane.org; Tue, 03 Jun 2003 17:21:55 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19NJDn-00018W-4T for help-gnu-emacs@gnu.org; Tue, 03 Jun 2003 17:21:31 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19NJ7t-0006j6-MA for help-gnu-emacs@gnu.org; Tue, 03 Jun 2003 17:15:26 -0400 Original-Received: from mail.cs.unm.edu ([64.106.20.33] helo=jah.cs.unm.edu) by monty-python.gnu.org with esmtp (Exim 4.20) id 19NJ6H-0006Ba-Qf for help-gnu-emacs@gnu.org; Tue, 03 Jun 2003 17:13:46 -0400 Original-Received: from [129.24.116.53] (helo=cs.unm.edu) by jah.cs.unm.edu with asmtp (Exim 3.36 #2) id 19NJ6G-0005oV-00 for help-gnu-emacs@gnu.org; Tue, 03 Jun 2003 15:13:44 -0600 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en Original-To: help-gnu-emacs@gnu.org In-Reply-To: <3EDCEEB9.9020803@cs.unm.edu> X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10562 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10562 If I write this as (global-set-key "\C-cd" '"\C-u1\C-v"), then it works. Why doesn't it work with the down arrow key? Harshdeep S Jawanda wrote: > I want to global-set-key C-u 1 C-v (scroll-up) to C-down in my .emacs > file. How do I do that? > > As a starting point I tried: (global-set-key [C-down] 'scroll-up), but > that doesn't seem to do even a simple scroll-up. When I do C-h a for > scroll-up, the keybinding shows up, but it doesn't seem to work. > > Thanks. -- Harshdeep S Jawanda