EmacsWiki: Category Search And Replace (original) (raw)

Emacs can search in the current buffer, across multiple buffers or in files.

You can also search Emacs itself: introspect documentation, commands, faces, variables,… (See SelfDocumentation). Some completion features use search.

This page is about searching and replacing text in Emacs. Look for ‘search’ in the EmacsManual for more information – that will also provide info about replacing.

Search in Buffers

Vanilla:

Additional:

Replace in Buffers

Vanilla:

Additional:

Search Across Files

You can also, of course, visit files to be searched in buffers, and then use the techniques above for SearchInBuffers.

Vanilla:

Additional:

Replace Across Files

Vanilla:

Additional:

See Also


CategoryExternalUtilities CategoryRegexp