How to adjust the path that Emacs' compile-goto-error gets from the compilation buffer?
问题 This question was migrated from Software Engineering Stack Exchange because it can be answered on Stack Overflow. Migrated 7 years ago . I am using Emacs 23 and have the following problem: I run our project's build system from within Emacs like M-x compile -> cd /foo/bar && ./build The build system now does some magic, "cd"s into some subdirectory for the build process and then gcc throws an error: ../src/somesource.cc:50 error: blablabla Now the problem is that Emacs won't find that path,