Advanced Editing Topics

The basic emacs commands are sufficient for many editing tasks, but the serious user quickly finds the need for more power. This section presents some of the more advanced emacs capabilities.

Undoing Changes

An editing session begins when you read a file into an emacs buffer. At that point the buffer content matches the file exactly. As you insert text and give editing commands, the buffer content becomes more and more different from the file. If you are satisfied with the changes, you write the altered buffer back out to the file and end the session.

A window's Mode Line has an indicator immediately to the left of emacs: that shows the modification state of the buffer in the window. Its three states are –– (not modified), ...

Get A Practical Guide to Red Hat® Linux® 8 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.