GNU bug report logs -
#9323
M-x compile does not work well with make -s
Previous Next
Full log
Message #20 received at 9323 <at> debbugs.gnu.org (full text, mbox):
On 19 August 2011 04:23, Stefan Monnier <monnier <at> iro.umontreal.ca> wrote:
>> 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".
>
> compile.el has ad-hoc support to try and recognize "cd ..; <foo>" and
> similar (with more dot-dots).
Thanks, so I just need to use a different compile command.
That's great, but it's not documented for users (it's mentioned in
comments in lisp.el). How about adding something to compile's
docstring along the lines of:
To launch a compilation in a directory other than that of the buffer,
prefix the compilation command with `cd ..;' or similar; compile will
parse this to set the default directory of the compile buffer.
--
http://rrt.sc3d.org
This bug report was last modified 13 years and 300 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.