unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Neil Woods <cnw+usenet@pobox.com>
Subject: Re: emacs question
Date: Wed, 15 Dec 2004 01:18:44 +0000	[thread overview]
Message-ID: <87llc0l5or.fsf@phun.phasmic.org> (raw)
In-Reply-To: mailman.6016.1103064708.27204.help-gnu-emacs@gnu.org

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

  parent reply	other threads:[~2004-12-15  1:18 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-14 19:45 emacs question Villa, Maria (HBO)
2004-12-14 22:04 ` Rodrigo Canellas
2004-12-14 22:40   ` Harshdeep Jawanda
     [not found]   ` <mailman.6016.1103064708.27204.help-gnu-emacs@gnu.org>
2004-12-15  1:18     ` Neil Woods [this message]
2004-12-15 15:32       ` Harshdeep Jawanda
2004-12-15 16:36     ` Kevin Rodgers
2004-12-15  6:54 ` Gian Uberto Lauri
  -- strict thread matches above, loose matches on Subject: below --
2013-01-13 17:48 EMACS question Kurt Jordan
2013-01-13 19:10 ` Drew Adams
2013-01-13 19:51 ` Eli Zaretskii
     [not found] <AANLkTincb2ng8o-4T3_BRiDU6vFjpPVCqbsjUoXLYE6p@mail.gmail.com>
2010-05-20 14:27 ` emacs question Rina & Avner
2010-05-21  1:27   ` Lennart Borgman
2010-05-21 13:33   ` Tassilo Horn
     [not found]   ` <mailman.5.1274448820.9020.help-gnu-emacs@gnu.org>
2010-05-24  0:28     ` Stefan Monnier
2008-11-26 13:44 Craig Petty
2008-11-11 17:02 emacs Question Craig Petty
2008-11-11 18:47 ` Peter Dyballa
     [not found] ` <mailman.90.1226429278.26697.help-gnu-emacs@gnu.org>
2008-11-12  3:44   ` TheFlyingDutchman
     [not found] <mailman.5982.1103055549.27204.help-gnu-emacs@gnu.org>
2004-12-15 15:20 ` emacs question kgold
2004-12-15 14:41 Villa, Maria (HBO)
2004-12-15 16:00 ` Gian Uberto Lauri
     [not found] <mailman.6625.1099324620.2017.help-gnu-emacs@gnu.org>
2004-11-01 17:29 ` Kevin Rodgers
2004-11-01 15:47 Jeffrey Leitner
2004-11-01 21:36 ` Ehud Karni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87llc0l5or.fsf@phun.phasmic.org \
    --to=cnw+usenet@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).