From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: projorpheon ccf Newsgroups: gmane.emacs.help Subject: Re: How to improve the pager Date: Tue, 5 Oct 2004 09:45:35 +0200 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: Reply-To: projorpheon ccf NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1096962381 24339 80.91.229.6 (5 Oct 2004 07:46:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 5 Oct 2004 07:46:21 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 05 09:46:14 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 1CEk1W-000575-00 for ; Tue, 05 Oct 2004 09:46:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CEk88-000848-P4 for geh-help-gnu-emacs@m.gmane.org; Tue, 05 Oct 2004 03:53:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CEk7l-000840-Uq for help-gnu-emacs@gnu.org; Tue, 05 Oct 2004 03:52:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CEk7k-00083i-Qa for help-gnu-emacs@gnu.org; Tue, 05 Oct 2004 03:52:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CEk7k-00083Y-Ky for help-gnu-emacs@gnu.org; Tue, 05 Oct 2004 03:52:40 -0400 Original-Received: from [64.233.170.202] (helo=mproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CEk0u-0004QI-Iq for help-gnu-emacs@gnu.org; Tue, 05 Oct 2004 03:45:36 -0400 Original-Received: by mproxy.gmail.com with SMTP id 74so705467rnl for ; Tue, 05 Oct 2004 00:45:35 -0700 (PDT) Original-Received: by 10.38.88.38 with SMTP id l38mr77888rnb; Tue, 05 Oct 2004 00:45:35 -0700 (PDT) Original-Received: by 10.38.88.49 with HTTP; Tue, 5 Oct 2004 00:45:35 -0700 (PDT) Original-To: help-gnu-emacs@gnu.org In-Reply-To: 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: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:21060 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21060 :-( not in the right list? On Sun, 3 Oct 2004 16:35:06 +0200, projorpheon ccf wrote: > Hello, > Are there anyone who is using the pager.el which is so great a fix to ema= cs > page up/down? >=20 > 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. >=20 > ;;; pager.el --- windows-scroll commands > ;;; Version 2.0 - 97-10-06 > ;;; Copyright (C) 1992-1997 Mikael Sj=E9=B0=80in (mic@docs.uu.se) > ;;; > ;;; Author: Mikael Sj=E9=B0=80in -- 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 t= he 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. >=20 > ;;; ---------------------------------------------------------------------= - > ;;; Description: > ;;; > ;;; pager.el defines alternative commands to the Emacs builtins: scroll-d= own > ;;; and scroll-up. It also contains commands to scroll the screen one ro= w at > ;;; the time. > ;;; > ;;; The Emacs builtins for scrolling are worthless! The commands in page= r.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) w= ill > ;;; 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 >=20 > RD, > Jorpheon >