How to edit the *compilation* buffer in Emacs

When I compile in emacs, it opens a new buffer called compilation, and displays the errors. Sometimes the errors are long and hard to read, so I'd like to be able to edit the text (mostly be choosing my own line breaks at pertinent points). Is there a way to do this and continue using the buffer to jump to the next error (and keep the buffer's default highlighting)?

I can copy-paste the whole thing into another buffer, but that's a lot of overhead, and gets tedious as I try to find where the next error is in the pasted version.

Answers


You can use the toggle-read-only command by typing C-xC-q.

Then change to fundamental mode with M-xfundamental-modeRET

After editing, you can go into compilation-minor-mode with M-xcompilation-minor-modeRET and switch back and forth as needed.


Need Your Help

Extjs 4 grid filtering

plugins extjs filter grid

this is exactly what I am looking for http://www.developerextensions.com/index.php/extjs-filter-row but I could not find a version which would work well with extjs 4

Widget binding with Gridster and Knockout

javascript jquery knockout.js gridster

I am new to Javascript and trying to use Gridster with Knockout. I have a database with items, and I use knockout foreach to bind them to a UL. The UL is styled with the Gridster library. Everyt...