Questions tagged [compilation-mode]

Compilation mode turns each error message in the buffer into a hyperlink; you can move point to it and type RET, or click on it with the mouse (see Mouse References), to visit the locus of the error message in a separate window.

Filter by
Sorted by
Tagged with
3
votes
2answers
129 views

How to query-replace across all hits in a compilation-mode buffer

How can I run a query-replace on the all the files pointed to by an arbitrary compilation-mode buffer? I think to be usable this would need to be resumable from point in the compilation-mode buffer. ...
3
votes
1answer
705 views

Set variables based on path without using directory-local variables

I want to set variables, in particular, compile-command and tabbing related variables based on the path of the file I'm editing. In my .vimrc I use the following to do this. autocmd BufRead,...
16
votes
3answers
4k views

Changing the compilation mode current directory automatically?

Currently, my compilation command is as follow: cd ~/somedir && ./somescript.sh This prevents emacs from finding the file in which an error happens (and opening it). Of course I can run M-x ...
8
votes
1answer
195 views

How can I detect compilation-mode is waiting for input

This often trips me up when building Linux kernels. I'll kick of a compile and after a while I realise it's not completed. What's usually happened is because the default config has changed it's ...