The Mastering Emacs ebook cover art

Emacs 28 Edition is out now!

Read a Free Sample

Learn More

Full text searching in Info mode with Apropos

If you're not sure exactly what you are looking for, then help is at hand. Emacs's apropos system is a wide-ranging set of commands that wildcard searches everything Emacs knows about, from Info manuals to variables and commands.

Most Emacs hackers quickly memorize the myriad of help commands available to them in Emacs. Among them, the humble M-x apropos command, a full text regexp search command that searches all known Lisp symbols (functions, variables - you name it) and returns a list of matches.

In fact, there’s an apropos command for all occasions. They’re must-have commands if you can’t quite find what you are looking for. To find them all, why not use apropos: C-h a apropos.

Nestled among all the other apropos commands is M-x info-apropos, a full text search for Emacs’s documentation browser, info (C-h i.) It’s not limited to just your Emacs documentation either. The info-apropos command handily searches all Info manuals Emacs is aware of and presents the matches as hyperlinked entries to their respective manual pages.

It’s not a commonly needed command, but when you do need it, you’ll be glad it’s there.

Further Reading

Have you read my Reading Guide yet? It's a curated guide to most of my articles and I guarantee you'll learn something whether you're a beginner or an expert. And why not check out my book?

Subscribe to the Mastering Emacs newsletter

I write infrequently, so go on — sign up and receive an e-mail when I write new articles