From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reuben Thomas Newsgroups: gmane.emacs.bugs Subject: bug#9323: Non-recursive make build systems and M-x compile Date: Fri, 19 Aug 2011 18:22:06 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1313774588 6953 80.91.229.12 (19 Aug 2011 17:23:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 19 Aug 2011 17:23:08 +0000 (UTC) Cc: 9323@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 19 19:23:04 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QuSmb-0002gH-5G for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Aug 2011 19:23:01 +0200 Original-Received: from localhost ([::1]:43844 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuSma-00087Y-Md for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Aug 2011 13:23:00 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:49044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuSmX-00087F-RB for bug-gnu-emacs@gnu.org; Fri, 19 Aug 2011 13:22:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QuSmW-0006nq-AC for bug-gnu-emacs@gnu.org; Fri, 19 Aug 2011 13:22:57 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48439) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuSmW-0006ni-7J for bug-gnu-emacs@gnu.org; Fri, 19 Aug 2011 13:22:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QuSoX-00057y-M6; Fri, 19 Aug 2011 13:25:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Reuben Thomas Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Aug 2011 17:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9323 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9323-submit@debbugs.gnu.org id=B9323.131377465619659 (code B ref 9323); Fri, 19 Aug 2011 17:25:01 +0000 Original-Received: (at 9323) by debbugs.gnu.org; 19 Aug 2011 17:24:16 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QuSnn-000572-Hl for submit@debbugs.gnu.org; Fri, 19 Aug 2011 13:24:15 -0400 Original-Received: from exprod7og127.obsmtp.com ([64.18.2.210]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QuSnl-00056u-N4 for 9323@debbugs.gnu.org; Fri, 19 Aug 2011 13:24:14 -0400 Original-Received: from mail-pz0-f47.google.com ([209.85.210.47]) (using TLSv1) by exprod7ob127.postini.com ([64.18.6.12]) with SMTP ID DSNKTk6bvr1oy3316D3AKRMIYeRRvB0he3Mi@postini.com; Fri, 19 Aug 2011 10:22:07 PDT Original-Received: by mail-pz0-f47.google.com with SMTP id 2so5093221pzk.20 for <9323@debbugs.gnu.org>; Fri, 19 Aug 2011 10:22:06 -0700 (PDT) Original-Received: by 10.142.133.14 with SMTP id g14mr385368wfd.389.1313774526690; Fri, 19 Aug 2011 10:22:06 -0700 (PDT) Original-Received: by 10.143.99.9 with HTTP; Fri, 19 Aug 2011 10:22:06 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 19 Aug 2011 13:25:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:50160 Archived-At: On 19 August 2011 14:41, Andreas Schwab wrote: > Reuben Thomas writes: > >> 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. > > ??? That's exactly what "make -C ..." accomplishes. That's right, but compile.el does not parse the directory out of a "make -C .." command, leading to the problem I described above where the paths listed in error & warning messages in the compile buffer are not correct relative to the path of the compile buffer itself. On the other hand, compile.el does understand the format "cd ..; make", allowing it to set the path of the compile buffer correctly. -- http://rrt.sc3d.org