Next error in Emacs

Useful article: Compiling and Debugging C in Emacs

if you are coming up against real syntax errors in the code, such as missing semicolons and whatnot, compile-mode lets you jump to them quickly. Rather than using goto-line and typing the line number of a suspected error, just type C-x ` in the code window. (that's a back-tick, or back-quote, which is either in the upper left of your keyboard, or to the right of the single quote.) C-x ` jumps to the next compiler error, so you can keep typing C-x ` until you get to an error you know how to fix.

Categories

About this Entry

This page contains a single entry by Mike Tsao published on July 7, 2004 10:36 AM.

Building libraries on Linux was the previous entry in this blog.

Emacs & DOS line endings is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.2-en