VC Mode Indicators

VC grabs a bit of the mode line for each buffer visiting a registered file and tries to use it to keep you informed of the version control state of that file. You’ll notice that when a buffer is visiting a version-controlled file, the mode tags part (in parentheses) contains the name of your version control system and a revision number for the file.

When those two parts are separated by a dash, the file is not yet checked out; when they’re separated by a colon, the file has been checked out, and the revision number is the one the file had when you checked it out.

If you don’t see these indicators, the file isn’t registered yet.

Get Learning GNU Emacs, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.