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

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

How to improve the pager


From: projorpheon ccf
Subject: How to improve the pager
Date: Sun, 3 Oct 2004 16:35:06 +0200

Hello,
Are there anyone who is using the pager.el which is so great a fix to emacs 
page up/down?

But one defect is that:
if you scrolled down to the last page of the text and expected the
cursor to go to the end of the file, pager just don't respond as there
is not enough lines to scroll down one whole page?
Any idea to modify the pager.el to make it work as normal emacs behavior? 
Thanks.

;;; pager.el --- windows-scroll commands
;;; Version 2.0 - 97-10-06
;;; Copyright (C) 1992-1997 Mikael Sj鰀in (mic@docs.uu.se)
;;;
;;; Author: Mikael Sj鰀in  --  mic@docs.uu.se
;;;
;;; This file is NOT part of GNU Emacs.
;;; You may however redistribute it and/or modify it under the terms of the GNU
;;; General Public License as published by the Free Software Foundation; either
;;; version 2, or (at your option) any later version.
;;;
;;; pager.el is distributed in the hope that it will be useful,
;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.

;;; ----------------------------------------------------------------------
;;; Description:
;;;
;;; pager.el defines alternative commands to the Emacs builtins: scroll-down
;;; and scroll-up.  It also contains commands to scroll the screen one row at
;;; the time.
;;;
;;; The Emacs builtins for scrolling are worthless!  The commands in pager.el
;;; works the way the builtins should have done from the beginning.  For
;;; instance, doing a pg-up followed by a pg-down (when using pager.el) will
;;; return point to the original place.  
;;;
;;; This file has been tested under Emacs 19.34 and 20.2 but I belive it should
;;; work on most Emacs versions and Emacs derivatives.
;;;
;;; This file can be obtained from http://www.docs.uu.se/~mic/emacs.html

RD,
Jorpheon




reply via email to

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