Sams Teach Yourself Emacs in 24 Hours

ContentsIndex

Appendix A: Installing Functions and Packages from the CD

Previous HourNext Chapter

Sections in this Hour:

 

pager.el

The pager package is described in Hour 4, "Basic Editing." It is a convenient way to scroll the display. You find it in Mikael Sjoumldin's /opt/share/emacs-lisp/ users/mikael/pager.el.directory.

It contains two groups of functions:

To install it, place the package in your lisp directory, and insert the following lines into your .emacs file:


(require 'pager) 
(global-set-key [(control v)]      'pager-page-down) (global-set-key  
[(next)]           'pager-page-down) (global-set-key [(meta v)]       
   'pager-page-up) (global-set-key [(prior)]          'pager-page-up) 
 (global-set-key [(meta up)]    'pager-row-up) (global-set-key  
[(meta kp-8)]  'pager-row-up) (global-set-key [(meta down)]  'pager- 
row-down) (global-set-key [(meta kp-2)]  'pager-row-down) </pre> 

Sams Teach Yourself Emacs in 24 Hours

ContentsIndex

Appendix A: Installing Functions and Packages from the CD

Previous HourNext Chapter

Sections in this Hour: