next-error| Keys | Menu | |
| X | Control+X` | Tools/Next Error |
| MS | F4 | Tools/Next Error |
This command processes the next line in the *compilation* buffer. The line is expected to be in the form:
file-name:line-number:rest of message
If a line is not in this form, then it is silently skipped. Otherwise file-name is opened using the command:
open file-name category b
where b is ``Yes'' if the command was invoked from the *compilation* buffer, and the value of New Window On Open otherwise. Then the command:
goto-xline line-number
is executed in the new buffer. The line-number is expected to be an external line number. The category parameter to Open is either the root syntactic category for the editor, or the category that was passed to the next-error-as command.