narrow-search-forward - Search for a string in the forward direction
narrow-search-backward - Search for a string in the backward direction
n narrow-search-forward "string" (C-c s)
n narrow-search-backward "string" (C-c r)
narrow-search-forward searches for a string from the current cursor position to the end of the file and will open up and search through narrow(2m) regions to search for the string. This differs from the search-forward(2) command that does not search through narrow regions.
The string is typed on the bottom line of the screen, and terminated with the <ESC> key. Special characters can be typed in by preceding them with a ^Q. A single ^Q indicates a null string. On successive searches, hitting <ESC> alone causes the last search string to be reused.
The numeric argument n is interpreted as follows:-
n > 0
n < 0
narrow-search-backward searches backwards in the file. In all other ways it is like narrow-search-forward.
The command returns a status of FALSE if the string could not be located (or nth string where n occurrences are requested). If the string is found within the given search criteria the return status is TRUE.
Copyright (c) 1998-2006 JASSPA
Last Modified: 2004/03/11
Generated On: 2006/10/07