Sams Teach Yourself Emacs in 24 Hours |
|||||||||||||||||
Appendix A: Installing Functions and Packages from the CD |
Previous HourNext Chapter |
||||||||||||||||
|
This package is a frontend to grep, and includes functions to recursively search for text in files that are in a whole directory structure. The package is described in Hour 8. You can also find it in Kevin Rodger's /opt/share/emacs-lisp/users/kevinr/igrep.el directory on the CD.
To use this package, insert the following lines to your .emacs file.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; the igrep package ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (autoload (function igrep) "igrep" "*Run ´grep´ PROGRAM to match EXPRESSION in FILES..." t) (autoload (function igrep-find) "igrep" "*Run ´grep´ via ´find´..." t) (autoload (function dired-do-igrep) "igrep" "*Run ´grep´ on the marked (or next prefix ARG) files." t) (autoload (function dired-do-igrep-find) "igrep" "*Run ´grep´ via ´find´ on the marked (or next prefix ARG) directories." t) (autoload (function grep) "igrep" "*Run ´grep´ PROGRAM to match EXPRESSION in FILES..." t) (autoload (function egrep) "igrep" "*Run ´egrep´..." t) (autoload (function fgrep) "igrep" "*Run ´fgrep´..." t) (autoload (function agrep) "igrep" "*Run ´agrep´..." t) (autoload (function grep-find) "igrep" "*Run ´grep´ via ´find´..." t) (autoload (function egrep-find) "igrep" "*Run ´egrep´ via ´find´..." t) (autoload (function fgrep-find) "igrep" "*Run ´fgrep´ via ´find´..." t) (autoload (function agrep-find) "igrep" "*Run ´agrep´ via ´find´..." t) (autoload (function dired-do-grep) "igrep" "*Run ´grep´ on the marked (or next prefix ARG) files." t) (autoload (function dired-do-grep-find) "igrep" "*Run ´grep´ via ´find´ on the marked (or next prefix ARG) directories." t)
If you use GNU Emacs version 19, you also need to install the package cust-stub.el.
Sams Teach Yourself Emacs in 24 Hours |
|||||||||||||||||
Appendix A: Installing Functions and Packages from the CD |
Previous HourNext Chapter |
||||||||||||||||
|
© Copyright Macmillan USA. All rights reserved.