The key C-s allows you to enter some string to search in the current buffer. By default, it wraps the search and starts again from the top, if you invoke it one too many times.
On comp.emacs newsgroup, this thread outlines how one can turn it off. Useful, if it is the kind of behaviour you want. Speaking for myself, I wouldn't change the behaviour as it makes more sense to have wrapped search as the default. Saves a few keystrokes and rare is the time one would need this feature of NOT wrapping the search.
On comp.emacs newsgroup, this thread outlines how one can turn it off. Useful, if it is the kind of behaviour you want. Speaking for myself, I wouldn't change the behaviour as it makes more sense to have wrapped search as the default. Saves a few keystrokes and rare is the time one would need this feature of NOT wrapping the search.
No comments:
Post a Comment