all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Lee <pete_lee@swbell.net>
Subject: Re: scrolling
Date: Fri, 08 Aug 2003 04:55:57 GMT	[thread overview]
Message-ID: <uekzw928z.fsf@swbell.net> (raw)
In-Reply-To: uRDYa.89481$3o3.6183875@bgtnsc05-news.ops.worldnet.att.net

>>>> schaecsn  writes:

    schaecsn> 1) Let's assume the cursor is somewhere in the
    schaecsn> middle of the screen. How can I scroll the screen by 1
    schaecsn> line up or down?

I use the following:

(defun pete-scroll-down-one ()
  (interactive)
  (scroll-down 1))

(defun pete-scroll-up-one ()
  (interactive)
  (scroll-up 1))

(global-set-key (kbd "<f12>") 'pete-scroll-down-one)
(global-set-key (kbd "<f11>") 'pete-scroll-up-one)


    schaecsn> 2) If I'm at the bottom of the screen and I press
    schaecsn> cursor-down then the screen scrolls by several
    schaecsn> lines. Google told me to set scroll-step to 1.

    schaecsn> (setq scroll-step 1)

    schaecsn> That works several times but then the cursor is suddenly
    schaecsn> in the middle of the screen. I don't like that.

This happens to me too... go to top of large buffer and just hit C-n.
Every once in a while the cursor pops to center of buffer and
continues down.  Hopefully someone here can tell us how to fix that.

(require 'scroll-in-place)
(setq scroll-step 1)
(scroll-bar-mode -1)

  reply	other threads:[~2003-08-08  4:55 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-08  2:24 scrolling schaecsn
2003-08-08  4:55 ` Peter Lee [this message]
2003-08-08  7:01   ` scrolling schaecsn
2003-08-08  8:32     ` scrolling Ehud Karni
2003-08-08  7:34 ` scrolling upro
2003-08-08 17:15 ` scrolling Harshdeep S Jawanda
2003-08-08 18:57 ` scrolling Kai Großjohann
2003-08-08 23:01   ` scrolling schaecsn
2003-08-09  0:07     ` scrolling Johan Bockgård
2003-08-09 10:02     ` scrolling Kai Großjohann
2003-08-10 13:52       ` scrolling Peter Lee
2003-08-10 20:27         ` scrolling Kai Großjohann
2003-08-11  3:37           ` scrolling Peter Lee
2003-08-11 15:01             ` scrolling Stefan Monnier
2003-08-12 18:35             ` scrolling Kai Großjohann
2003-08-16 14:02 ` scrolling Alexander Nikolov
  -- strict thread matches above, loose matches on Subject: below --
2012-11-09 19:11 scrolling drain
2012-11-09 19:52 ` scrolling Doug Lewan
2011-04-01 13:19 scrolling Mario Lassnig
     [not found] <mailman.8812.1056799237.21513.help-gnu-emacs@gnu.org>
2003-06-29 10:46 ` Scrolling Kai Großjohann
2003-06-28 11:01 Scrolling K T Ligesh

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

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

  git send-email \
    --in-reply-to=uekzw928z.fsf@swbell.net \
    --to=pete_lee@swbell.net \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.