GNU bug report logs -
#9323
M-x compile does not work well with make -s
Previous Next
Full log
View this message in rfc822 format
With a non-recursive make-based build system, how do I make M-x
compile work nicely?
If I just run M-x compile when visiting a source file under src/ it
doesn't work, as src/ contains no Makefile.
If I change the build command to make -C .., then Emacs gives errors
in the compile buffer pointing to files like "src/foo.c", but can't
follow those links, I presume because it considers the current dir for
the build to be "src".
Looking through compile.el it seems I ought to be able to set
compile-directory conveniently somehow; I imagine that I wouldn't want
to change the default-directory for my source buffers, though.
(BTW, typo in compile.el: "fone after" → "done after".)
--
http://rrt.sc3d.org
This bug report was last modified 13 years and 301 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.