From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Neil Woods Newsgroups: gmane.emacs.help Subject: Re: emacs question Date: Wed, 15 Dec 2004 01:18:44 +0000 Organization: TINO Message-ID: <87llc0l5or.fsf@phun.phasmic.org> References: <200412142004.56178.r.canellas@terra.com.br> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1103074795 3312 80.91.229.6 (15 Dec 2004 01:39:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Dec 2004 01:39:55 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 15 02:39:50 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CeO8r-00060N-00 for ; Wed, 15 Dec 2004 02:39:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CeOJ2-0001NC-Dd for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Dec 2004 20:50:20 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!newsmi-eu.news.garr.it!NewsITBone-GARR!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 36 Original-X-Trace: individual.net S3WC5Vd0E5jOw1RzVBcjUQROfGemlsTXhtAEpyJ1wbGCsqfnoK X-Orig-Path: phun.phasmic.org!news X-Linux-Reg-User: 5664 User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:mcCAp7Le7ZI2ODKSod5Yq8M2x5Y= Original-Xref: shelby.stanford.edu gnu.emacs.help:127325 Original-To: help-gnu-emacs@gnu.org 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: main.gmane.org gmane.emacs.help:22760 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:22760 On Tue, Dec 14 2004, Harshdeep Jawanda wrote: > Now that this topic has been brought up, it reminds to ask for a > solution to a problem I've been facing for a while. > > I have the following entries in my .emacs file: > > (global-set-key [C-down] '"\C-u1\C-v") > (global-set-key [C-up] '"\C-u1\M-v") > > These key combinations are meant to scroll the buffer up or down when > I press the up-arrow or down-arrow, respectively, while holding the > Ctrl key (C-l is not good enough at times). Why not use the actual function names themselves? I have this in my ~/.emacs: ;; Make control+pageup/down scroll the other buffer (global-set-key [C-next] 'scroll-other-window) (global-set-key [C-prior] 'scroll-other-window-down) which seems more natural to me. > This works perfectly when I am using Emacs directly on computer I am > sitting at (Win XP, Win 2K and Debian Linux; would it be correct to > say "working at the console"?). > > But when I am using emacs over an SSH connection (using putty; > connecting from home/office computer to university computers), this > doesn't work. > > Any ideas why? Possibly the above may fix this. -- Neil