help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs question


From: Neil Woods
Subject: Re: emacs question
Date: Wed, 15 Dec 2004 01:18:44 +0000
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux)

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]