Trailing-Edge - PDP-10 Archives - mit_emacs_170_teco_1220 - info/
There are no other files named in the archive.
-*- TEXT -*-
Documentation for the PAGE library

File:  PAGE,  Node:  TOP, Up:  (EMACS)

The PAGE library is meant to improve the handling of Pages as
discrete, often independant units.  It functions by setting the
virtual buffer bounds to the "current" page and displaying its page
number in the mode line.

The library contains the following commands:

^R Goto next page -- C-M-] -- goes to the next (arg'th) page.  If not
	in page mode already, just sets bounds to current page.

^R Goto Previous page -- C-M-[ -- calls ^R Goto Next Page with a
	negative argument.

^R Insert Pagemark -- C-X P -- Inserts a page mark, leaving you
	on the second of the two pages thus created.  Negative arg
	leaves you at the end of the first.

^R Join Next Page -- C-X J -- Joins this page with the following page.
	With negative arg, joins with previous page.

^R Go to Page -- M-G -- Goes to arg'th page.  With no argument goes
	to next page.  With negative argument, goes to previous page.

MM Print File Directory -- Prints a directory of the file.  Prints 
out the first non-blank line on each page, preceded by its page number.

MM Make File Directory -- Inserts a directory of the file at the
beginning (of current page, if bounds are narrowed.)  Prints out the
first non-blank line on each page, preceded by its page number.  If
given an argument, puts Q$Comment Start$ at the start of each line and
Q$Comment End$ at the end.

Incremental search and Reverse I-Search are redifined to widen bounds
first and narrow them again afterwards (if narrowed to begin with).

Whenever the bounds are set by Goto Next Page (and all the others call
that one), the page number is put in the mode line via & Set Mode Line

A pagemark is defined as <cr><lf>^L.  if you set Q$PAGE Flush Crlf$
to 1, a pagemark will be <crlf>^L<crlf>, which will have the effect of
flushing the crlf from the beginning of the page.  This is absolutely
necessary for EMACS library source files.

To use the PAGE library, just do MM Load Library$PAGE and the commands
will be put on the characters given above.  If you want them on different
characters, define a macro to do it, and put it in Q$&
The file is accessible as AI:EMACS;PAGE :EJ and sources are