====== Using cc65 with Emacs ====== When developing with Emacs, it is often convenient to use the ''M-x compile'' command to invoke ''make'' from within Emacs. One benefit of invoking the compiler this way is that Emacs is able to parse the list of errors output by the compiler, and provide you with the ability to jump to the location of the errors in the source code. In order for this to work with [[cc65]] and [[ca65]], Emacs needs to be taught how to parse the error messages. To do so, add the following snippet to your ''.emacs'' file: (require 'compile) ; ** cc65 and ca65 errors ** (pushnew '("^\\([^ \n(]+\\)(\\([0-9]+\\)): \\(?:Error\\|Warnin\\(g\\)\\):" 1 2 nil (3)) compilation-error-regexp-alist) With this in place, you will be able to use the ''M-g M-n'' (next-error) and ''M-g M-p'' (previous-error) keys to visit the source code for each error.