From unknown Fri Jun 13 10:17:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9323: Non-recursive make build systems and M-x compile 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: Thu, 18 Aug 2011 18:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 9323 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 9323@debbugs.gnu.org X-Debbugs-Original-To: bug-emacs Received: via spool by submit@debbugs.gnu.org id=B.131369276626650 (code B ref -1); Thu, 18 Aug 2011 18:40:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Aug 2011 18:39:26 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qu7Uw-0006vh-Jp for submit@debbugs.gnu.org; Thu, 18 Aug 2011 14:39:25 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qu7Us-0006vY-6a for submit@debbugs.gnu.org; Thu, 18 Aug 2011 14:39:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qu7Su-0003Uh-Ue for submit@debbugs.gnu.org; Thu, 18 Aug 2011 14:37:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:40519) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qu7Su-0003Ud-TA for submit@debbugs.gnu.org; Thu, 18 Aug 2011 14:37:16 -0400 Received: from eggs.gnu.org ([140.186.70.92]:58565) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qu7St-0000W1-OZ for bug-gnu-emacs@gnu.org; Thu, 18 Aug 2011 14:37:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qu7St-0003UJ-0e for bug-gnu-emacs@gnu.org; Thu, 18 Aug 2011 14:37:15 -0400 Received: from fencepost.gnu.org ([140.186.70.10]:37433) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qu7Ss-0003UF-VL for bug-gnu-emacs@gnu.org; Thu, 18 Aug 2011 14:37:14 -0400 Received: from eggs.gnu.org ([140.186.70.92]:47633) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1Qu7Ss-0002XM-Ks for bug-emacs@gnu.org; Thu, 18 Aug 2011 14:37:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qu7Sr-0003Tr-As for bug-emacs@gnu.org; Thu, 18 Aug 2011 14:37:14 -0400 Received: from exprod7og125.obsmtp.com ([64.18.2.28]:55371) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Qu7Sr-0003Td-1U for bug-emacs@gnu.org; Thu, 18 Aug 2011 14:37:13 -0400 Received: from mail-pz0-f42.google.com ([209.85.210.42]) (using TLSv1) by exprod7ob125.postini.com ([64.18.6.12]) with SMTP ID DSNKTk1b1uJY0ImQaBqMxrRgMC8RzvAT92tV@postini.com; Thu, 18 Aug 2011 11:37:12 PDT Received: by pzk37 with SMTP id 37so4041251pzk.29 for ; Thu, 18 Aug 2011 11:37:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.143.76.10 with SMTP id d10mr536933wfl.332.1313692630348; Thu, 18 Aug 2011 11:37:10 -0700 (PDT) Received: by 10.143.99.9 with HTTP; Thu, 18 Aug 2011 11:37:10 -0700 (PDT) Date: Thu, 18 Aug 2011 19:37:10 +0100 Message-ID: From: Reuben Thomas Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.1 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) 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" =E2=86=92 "done after".) --=20 http://rrt.sc3d.org From unknown Fri Jun 13 10:17:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9323: Non-recursive make build systems and M-x compile Resent-From: Andreas Schwab Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Aug 2011 21:51:02 +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: To: Reuben Thomas Cc: 9323@debbugs.gnu.org Received: via spool by 9323-submit@debbugs.gnu.org id=B9323.131370420811287 (code B ref 9323); Thu, 18 Aug 2011 21:51:02 +0000 Received: (at 9323) by debbugs.gnu.org; 18 Aug 2011 21:50:08 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QuATY-0002w0-D6 for submit@debbugs.gnu.org; Thu, 18 Aug 2011 17:50:08 -0400 Received: from mail-out.m-online.net ([212.18.0.9]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QuATW-0002vs-57 for 9323@debbugs.gnu.org; Thu, 18 Aug 2011 17:50:07 -0400 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id F194D1C1D9E2; Thu, 18 Aug 2011 23:48:03 +0200 (CEST) X-Auth-Info: 360rOdr8XvL6c+Ro4BB1rm5b26h2VaPxdRbSr0SdizM= Received: from linux.local (ppp-88-217-109-224.dynamic.mnet-online.de [88.217.109.224]) by mail.mnet-online.de (Postfix) with ESMTPA id E02021C00054; Thu, 18 Aug 2011 23:48:03 +0200 (CEST) Received: by linux.local (Postfix, from userid 501) id 7AAAA14EB28; Thu, 18 Aug 2011 23:48:05 +0200 (CEST) From: Andreas Schwab References: X-Yow: Where do your SOCKS go when you lose them in th' WASHER? Date: Thu, 18 Aug 2011 23:48:04 +0200 In-Reply-To: (Reuben Thomas's message of "Thu, 18 Aug 2011 19:37:10 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Reuben Thomas writes: > 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". make -C should output "Entering directory" lines which are parsed by Emacs. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From unknown Fri Jun 13 10:17:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9323: Non-recursive make build systems and M-x compile 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: Thu, 18 Aug 2011 22:46:02 +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: To: Andreas Schwab Cc: 9323@debbugs.gnu.org Received: via spool by 9323-submit@debbugs.gnu.org id=B9323.131370751316036 (code B ref 9323); Thu, 18 Aug 2011 22:46:02 +0000 Received: (at 9323) by debbugs.gnu.org; 18 Aug 2011 22:45:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QuBKr-0004Aa-Bc for submit@debbugs.gnu.org; Thu, 18 Aug 2011 18:45:13 -0400 Received: from exprod7og120.obsmtp.com ([64.18.2.18]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QuBKn-0004AR-SU for 9323@debbugs.gnu.org; Thu, 18 Aug 2011 18:45:11 -0400 Received: from mail-pz0-f49.google.com ([209.85.210.49]) (using TLSv1) by exprod7ob120.postini.com ([64.18.6.12]) with SMTP ID DSNKTk2Ve4nAhE66qwy2u7w/0YPtDo3nQ/9D@postini.com; Thu, 18 Aug 2011 15:43:08 PDT Received: by mail-pz0-f49.google.com with SMTP id 6so4946661pzk.8 for <9323@debbugs.gnu.org>; Thu, 18 Aug 2011 15:43:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.143.76.10 with SMTP id d10mr646311wfl.332.1313707387086; Thu, 18 Aug 2011 15:43:07 -0700 (PDT) Received: by 10.143.99.9 with HTTP; Thu, 18 Aug 2011 15:43:07 -0700 (PDT) In-Reply-To: References: Date: Thu, 18 Aug 2011 23:43:07 +0100 Message-ID: From: Reuben Thomas Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) On 18 August 2011 22:48, Andreas Schwab wrote: > Reuben Thomas writes: > >> 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". > > make -C should output "Entering directory" lines which are parsed by > Emacs. It does; sorry I wasn't clear. The problem is that the links start: src/foo.c, but the directory for the compilation is src, so in following the link, Emacs tries to find src/src/foo.c, and fails. -- http://rrt.sc3d.org From unknown Fri Jun 13 10:17:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9323: Non-recursive make build systems and M-x compile In-Reply-To: Resent-From: grischka 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 01:32:02 +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: To: rrt@sc3d.org Cc: 9323@debbugs.gnu.org X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.131371749130379 (code B ref -1); Fri, 19 Aug 2011 01:32:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Aug 2011 01:31:31 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QuDvm-0007tw-Qg for submit@debbugs.gnu.org; Thu, 18 Aug 2011 21:31:31 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QuDvk-0007tp-P5 for submit@debbugs.gnu.org; Thu, 18 Aug 2011 21:31:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QuDtk-0007Gf-El for submit@debbugs.gnu.org; Thu, 18 Aug 2011 21:29:26 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:49410) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuDtk-0007Gb-DJ for submit@debbugs.gnu.org; Thu, 18 Aug 2011 21:29:24 -0400 Received: from eggs.gnu.org ([140.186.70.92]:55922) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuDtj-00070z-Ci for bug-gnu-emacs@gnu.org; Thu, 18 Aug 2011 21:29:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QuDti-0007G5-59 for bug-gnu-emacs@gnu.org; Thu, 18 Aug 2011 21:29:23 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]:42297) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QuDth-0007Fn-Pd for bug-gnu-emacs@gnu.org; Thu, 18 Aug 2011 21:29:22 -0400 Received: (qmail invoked by alias); 19 Aug 2011 01:29:18 -0000 Received: from unknown (EHLO [10.131.15.20]) [89.204.155.20] by mail.gmx.net (mp005) with SMTP; 19 Aug 2011 03:29:18 +0200 X-Authenticated: #18588216 X-Provags-ID: V01U2FsdGVkX18R0GoZpSkRHIEvKDvjbUlJZPkUxkLVdveXo8weON Qt8+TSMYlNDwGU Message-ID: <4E4DBC52.2020909@gmx.de> Date: Fri, 19 Aug 2011 03:28:50 +0200 From: grischka User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 References: CAOnWdogEPHNmFfCWtZ2_xOc9mYwKqXUq0pQ4qtF9MDQ1b6N73w@mail.gmail.com Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.9 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) Reuben Thomas wrote: > 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. eproject does a cd to the project root before it runs commands: http://www.emacswiki.org/emacs-en/eproject --- grischka From unknown Fri Jun 13 10:17:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9323: Non-recursive make build systems and M-x compile Resent-From: Stefan Monnier 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 03:26: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: To: Reuben Thomas Cc: 9323@debbugs.gnu.org Received: via spool by 9323-submit@debbugs.gnu.org id=B9323.131372435510865 (code B ref 9323); Fri, 19 Aug 2011 03:26:01 +0000 Received: (at 9323) by debbugs.gnu.org; 19 Aug 2011 03:25:55 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QuFiV-0002pB-8l for submit@debbugs.gnu.org; Thu, 18 Aug 2011 23:25:55 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QuFiT-0002p3-0S for 9323@debbugs.gnu.org; Thu, 18 Aug 2011 23:25:53 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAI/WTU5Ld+HZ/2dsb2JhbABCp3d4gUABAQQBViMFCwsOJhIUGA0kiAS4DYZIBJ9vhDU X-IronPort-AV: E=Sophos;i="4.68,249,1312171200"; d="scan'208";a="131879963" Received: from 75-119-225-217.dsl.teksavvy.com (HELO ceviche.home) ([75.119.225.217]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 18 Aug 2011 23:23:49 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 0274866329; Thu, 18 Aug 2011 23:23:47 -0400 (EDT) From: Stefan Monnier Message-ID: References: Date: Thu, 18 Aug 2011 23:23:46 -0400 In-Reply-To: (Reuben Thomas's message of "Thu, 18 Aug 2011 19:37:10 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) > 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 ..; " and similar (with more dot-dots). Stefan From unknown Fri Jun 13 10:17:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9323: Non-recursive make build systems and M-x compile 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 12:20:02 +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: To: Stefan Monnier Cc: 9323@debbugs.gnu.org Received: via spool by 9323-submit@debbugs.gnu.org id=B9323.131375636128255 (code B ref 9323); Fri, 19 Aug 2011 12:20:02 +0000 Received: (at 9323) by debbugs.gnu.org; 19 Aug 2011 12:19:21 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QuO2h-0007Le-V1 for submit@debbugs.gnu.org; Fri, 19 Aug 2011 08:19:20 -0400 Received: from exprod7og104.obsmtp.com ([64.18.2.161]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QuO2f-0007LV-0u for 9323@debbugs.gnu.org; Fri, 19 Aug 2011 08:19:18 -0400 Received: from mail-pz0-f43.google.com ([209.85.210.43]) (using TLSv1) by exprod7ob104.postini.com ([64.18.6.12]) with SMTP ID DSNKTk5URoqN0qvs9gCedT0JvzOUUpwLEGg8@postini.com; Fri, 19 Aug 2011 05:17:12 PDT Received: by pzk1 with SMTP id 1so5076435pzk.2 for <9323@debbugs.gnu.org>; Fri, 19 Aug 2011 05:17:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.140.3 with SMTP id n3mr983554wfd.218.1313756230057; Fri, 19 Aug 2011 05:17:10 -0700 (PDT) Received: by 10.143.99.9 with HTTP; Fri, 19 Aug 2011 05:17:10 -0700 (PDT) In-Reply-To: References: Date: Fri, 19 Aug 2011 13:17:10 +0100 Message-ID: From: Reuben Thomas Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) On 19 August 2011 04:23, Stefan Monnier 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 ..; " 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 From unknown Fri Jun 13 10:17:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9323: Non-recursive make build systems and M-x compile Resent-From: Andreas Schwab 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 13:44:02 +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: To: Reuben Thomas Cc: 9323@debbugs.gnu.org, Stefan Monnier Received: via spool by 9323-submit@debbugs.gnu.org id=B9323.13137614013606 (code B ref 9323); Fri, 19 Aug 2011 13:44:02 +0000 Received: (at 9323) by debbugs.gnu.org; 19 Aug 2011 13:43:21 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QuPM0-0000w7-Nu for submit@debbugs.gnu.org; Fri, 19 Aug 2011 09:43:21 -0400 Received: from mail-out.m-online.net ([212.18.0.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QuPLx-0000vy-Kt for 9323@debbugs.gnu.org; Fri, 19 Aug 2011 09:43:18 -0400 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 45A6B188B5B6; Fri, 19 Aug 2011 15:41:10 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id 543741C00132; Fri, 19 Aug 2011 15:41:10 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id IWmDOQiHWCVC; Fri, 19 Aug 2011 15:41:09 +0200 (CEST) Received: from hase.home (ppp-88-217-103-7.dynamic.mnet-online.de [88.217.103.7]) by mail.mnet-online.de (Postfix) with ESMTP; Fri, 19 Aug 2011 15:41:09 +0200 (CEST) From: Andreas Schwab References: X-Yow: All this time I've been VIEWING a RUSSIAN MIDGET SODOMIZE a HOUSECAT! Date: Fri, 19 Aug 2011 15:41:08 +0200 In-Reply-To: (Reuben Thomas's message of "Fri, 19 Aug 2011 13:17:10 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) 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. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From unknown Fri Jun 13 10:17:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9323: Non-recursive make build systems and M-x compile 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: To: Andreas Schwab Cc: 9323@debbugs.gnu.org, Stefan Monnier Received: via spool by 9323-submit@debbugs.gnu.org id=B9323.131377465619659 (code B ref 9323); Fri, 19 Aug 2011 17:25:01 +0000 Received: (at 9323) by debbugs.gnu.org; 19 Aug 2011 17:24:16 +0000 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 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 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 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) MIME-Version: 1.0 Received: by 10.142.133.14 with SMTP id g14mr385368wfd.389.1313774526690; Fri, 19 Aug 2011 10:22:06 -0700 (PDT) Received: by 10.143.99.9 with HTTP; Fri, 19 Aug 2011 10:22:06 -0700 (PDT) In-Reply-To: References: Date: Fri, 19 Aug 2011 18:22:06 +0100 Message-ID: From: Reuben Thomas Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) 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 From unknown Fri Jun 13 10:17:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9323: Non-recursive make build systems and M-x compile Resent-From: Andreas Schwab 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 19:50:02 +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: To: Reuben Thomas Cc: 9323@debbugs.gnu.org, Stefan Monnier Received: via spool by 9323-submit@debbugs.gnu.org id=B9323.131378334425644 (code B ref 9323); Fri, 19 Aug 2011 19:50:02 +0000 Received: (at 9323) by debbugs.gnu.org; 19 Aug 2011 19:49:04 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QuV3w-0006fY-3d for submit@debbugs.gnu.org; Fri, 19 Aug 2011 15:49:04 -0400 Received: from mail-out.m-online.net ([212.18.0.9]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QuV3s-0006f8-OR for 9323@debbugs.gnu.org; Fri, 19 Aug 2011 15:49:02 -0400 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id A69441C1DA16; Fri, 19 Aug 2011 21:46:53 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id 7B5C21C0013F; Fri, 19 Aug 2011 21:46:53 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id ZGrdEy3Sop5I; Fri, 19 Aug 2011 21:46:53 +0200 (CEST) Received: from igel.home (ppp-88-217-103-7.dynamic.mnet-online.de [88.217.103.7]) by mail.mnet-online.de (Postfix) with ESMTP; Fri, 19 Aug 2011 21:46:52 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id 7283DCA293; Fri, 19 Aug 2011 21:46:52 +0200 (CEST) From: Andreas Schwab References: X-Yow: How do you explain Wayne Newton's POWER over millions? It's th' MOUSTACHE... Have you ever noticed th' way it radiates SINCERITY, HONESTY & WARMTH? It's a MOUSTACHE you want to take HOME and introduce to NANCY SINATRA! Date: Fri, 19 Aug 2011 21:46:52 +0200 In-Reply-To: (Reuben Thomas's message of "Fri, 19 Aug 2011 18:22:06 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Reuben Thomas writes: > 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, Yes, it does. The directory is displayed by the entering message. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From unknown Fri Jun 13 10:17:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9323: Non-recursive make build systems and M-x compile 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 19:59:02 +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: To: Andreas Schwab Cc: 9323@debbugs.gnu.org, Stefan Monnier Received: via spool by 9323-submit@debbugs.gnu.org id=B9323.131378388626395 (code B ref 9323); Fri, 19 Aug 2011 19:59:02 +0000 Received: (at 9323) by debbugs.gnu.org; 19 Aug 2011 19:58:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QuVCf-0006rf-EF for submit@debbugs.gnu.org; Fri, 19 Aug 2011 15:58:05 -0400 Received: from exprod7og104.obsmtp.com ([64.18.2.161]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QuVCd-0006rX-4a for 9323@debbugs.gnu.org; Fri, 19 Aug 2011 15:58:04 -0400 Received: from mail-pz0-f41.google.com ([209.85.210.41]) (using TLSv1) by exprod7ob104.postini.com ([64.18.6.12]) with SMTP ID DSNKTk6/y//N16rWpw0DzQhWy1wAPnROrKB7@postini.com; Fri, 19 Aug 2011 12:55:56 PDT Received: by pzk4 with SMTP id 4so7516651pzk.28 for <9323@debbugs.gnu.org>; Fri, 19 Aug 2011 12:55:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.216.20 with SMTP id o20mr50241wfg.446.1313783755033; Fri, 19 Aug 2011 12:55:55 -0700 (PDT) Received: by 10.143.99.9 with HTTP; Fri, 19 Aug 2011 12:55:55 -0700 (PDT) In-Reply-To: References: Date: Fri, 19 Aug 2011 20:55:55 +0100 Message-ID: From: Reuben Thomas Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) On 19 August 2011 20:46, Andreas Schwab wrote: > Reuben Thomas writes: > >> 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, > > Yes, it does. =A0The directory is displayed by the entering > message. I'm sorry things are still unclear. I will now demonstrate step by step exactly the difference I am talking about: Running a recent build of emacs master branch from bazaar (emacs -Q): I visit ~/Software/zile-stable/src/main.c I do M-x compile I edit the command so that it reads: make -C .. -k and then run it. At the top of the compile buffer the following is shown: -*- mode: compilation; default-directory: "~/Software/zile-stable/src/" -*- Note that it has set default-directory to the directory of main.c, not its parent. Later, there is a warning: src/astr.c:67:12: warning: assignment discards qualifiers from pointer target type If I press enter over this warning, Emacs cannot open the target file, and prompts me with: Find this error in (default src/astr.c): ... Now I make clean (in a terminal) and try again, M-x compile, and this time I edit the command to: cd ..; make -k Now the compile buffer's first line reads: -*- mode: compilation; default-directory: "~/Software/zile-stable/" -*- Note that default-directory has been correctly set. The same warning as above is displayed in the buffer, and if I hit Enter over it, Emacs visits the file referred to without a prompt. Note that in compile.el there is no mention of make's -C option, whereas there are a couple of mentions of parsing out cd commands at the start of the compile command. --=20 http://rrt.sc3d.org From unknown Fri Jun 13 10:17:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9323: Non-recursive make build systems and M-x compile Resent-From: Andreas Schwab 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 23:33: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: To: Reuben Thomas Cc: 9323@debbugs.gnu.org, Stefan Monnier Received: via spool by 9323-submit@debbugs.gnu.org id=B9323.131379677118408 (code B ref 9323); Fri, 19 Aug 2011 23:33:01 +0000 Received: (at 9323) by debbugs.gnu.org; 19 Aug 2011 23:32:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QuYYV-0004mq-AD for submit@debbugs.gnu.org; Fri, 19 Aug 2011 19:32:51 -0400 Received: from mail-out.m-online.net ([212.18.0.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QuYYS-0004mj-Uf for 9323@debbugs.gnu.org; Fri, 19 Aug 2011 19:32:50 -0400 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id A3D05188B580; Sat, 20 Aug 2011 01:30:40 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id C48451C00043; Sat, 20 Aug 2011 01:30:40 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id RatQZGiFyqZE; Sat, 20 Aug 2011 01:30:39 +0200 (CEST) Received: from igel.home (ppp-88-217-103-7.dynamic.mnet-online.de [88.217.103.7]) by mail.mnet-online.de (Postfix) with ESMTP; Sat, 20 Aug 2011 01:30:39 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id 2B8DECA293; Sat, 20 Aug 2011 01:30:39 +0200 (CEST) From: Andreas Schwab References: X-Yow: Talking Pinhead Blues: Oh, I LOST my ``HELLO KITTY'' DOLL and I get BAD reception on channel TWENTY-SIX!! Th'HOSTESS FACTORY is closin' down and I just heard ZASU PITTS has been DEAD for YEARS.. (sniff) My PLATFORM SHOE collection was CHEWED up by th'dog, ALEXANDER HAIG won't let me take a SHOWER 'til Easter.. (snurf) So I went to the kitchen, but WALNUT PANELING whup me upside mah HAID!! (on no, no, no.. Heh, heh) Date: Sat, 20 Aug 2011 01:30:38 +0200 In-Reply-To: (Reuben Thomas's message of "Fri, 19 Aug 2011 20:55:55 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Reuben Thomas writes: > Note that it has set default-directory to the directory of main.c, not > its parent. It doesn't matter. Emacs will see the directory in the entering message and adjust: make: Entering directory `/home/rrt/Software/zile-stable' Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From unknown Fri Jun 13 10:17:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9323: Non-recursive make build systems and M-x compile 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: Sat, 20 Aug 2011 05:24:02 +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: To: Andreas Schwab Cc: 9323@debbugs.gnu.org, Stefan Monnier Received: via spool by 9323-submit@debbugs.gnu.org id=B9323.131381779110442 (code B ref 9323); Sat, 20 Aug 2011 05:24:02 +0000 Received: (at 9323) by debbugs.gnu.org; 20 Aug 2011 05:23:11 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Que1W-0002iI-9n for submit@debbugs.gnu.org; Sat, 20 Aug 2011 01:23:11 -0400 Received: from exprod7og113.obsmtp.com ([64.18.2.179]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1Que1T-0002iA-UM for 9323@debbugs.gnu.org; Sat, 20 Aug 2011 01:23:08 -0400 Received: from mail-pz0-f43.google.com ([209.85.210.43]) (using TLSv1) by exprod7ob113.postini.com ([64.18.6.12]) with SMTP ID DSNKTk9EOp12O+e1ZIotJ5hIG/64roYloFTm@postini.com; Fri, 19 Aug 2011 22:20:59 PDT Received: by pzk1 with SMTP id 1so8458856pzk.30 for <9323@debbugs.gnu.org>; Fri, 19 Aug 2011 22:20:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.143.93.4 with SMTP id v4mr106344wfl.389.1313817657762; Fri, 19 Aug 2011 22:20:57 -0700 (PDT) Received: by 10.143.99.9 with HTTP; Fri, 19 Aug 2011 22:20:57 -0700 (PDT) In-Reply-To: References: Date: Sat, 20 Aug 2011 06:20:57 +0100 Message-ID: From: Reuben Thomas Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) On 20 August 2011 00:30, Andreas Schwab wrote: > Reuben Thomas writes: > >> Note that it has set default-directory to the directory of main.c, not >> its parent. > > It doesn't matter. =A0Emacs will see the directory in the entering > message and adjust: > > make: Entering directory `/home/rrt/Software/zile-stable' I used -s as an argument to make (I am sorry, I see I didn't mention this), and in this case make does not produce those messages. Hence, "cd ..; make -k -s" works, but "make -C .. -k -s" doesn't. So, it still seems worth documenting Emacs's ability to work around this problem by parsing "cd ..". --=20 http://rrt.sc3d.org From unknown Fri Jun 13 10:17:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9323: Non-recursive make build systems and M-x compile Resent-From: Andreas Schwab Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Aug 2011 13:00:03 +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: To: Reuben Thomas Cc: 9323@debbugs.gnu.org, Stefan Monnier Received: via spool by 9323-submit@debbugs.gnu.org id=B9323.131384518229024 (code B ref 9323); Sat, 20 Aug 2011 13:00:03 +0000 Received: (at 9323) by debbugs.gnu.org; 20 Aug 2011 12:59:42 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qul9I-0007Y4-RE for submit@debbugs.gnu.org; Sat, 20 Aug 2011 08:59:42 -0400 Received: from mail-out.m-online.net ([212.18.0.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qul9C-0007Xs-RL for 9323@debbugs.gnu.org; Sat, 20 Aug 2011 08:59:37 -0400 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 9D04D188B59A; Sat, 20 Aug 2011 14:57:22 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id 6DE711C00125; Sat, 20 Aug 2011 14:57:22 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id z8TCMq8Z7BN2; Sat, 20 Aug 2011 14:57:22 +0200 (CEST) Received: from igel.home (ppp-88-217-114-218.dynamic.mnet-online.de [88.217.114.218]) by mail.mnet-online.de (Postfix) with ESMTP; Sat, 20 Aug 2011 14:57:21 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id 18060CA293; Sat, 20 Aug 2011 14:57:20 +0200 (CEST) From: Andreas Schwab References: X-Yow: World War Three can be averted by adherence to a strictly enforced dress code! Date: Sat, 20 Aug 2011 14:57:20 +0200 In-Reply-To: (Reuben Thomas's message of "Sat, 20 Aug 2011 06:20:57 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Emacs should perhaps put MAKEFLAGS=w in the environment. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 20 22:22:19 2011 Received: (at control) by debbugs.gnu.org; 21 Aug 2011 02:22:19 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Quxg2-0002Yu-L1 for submit@debbugs.gnu.org; Sat, 20 Aug 2011 22:22:19 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Quxg0-0002Yl-1D for control@debbugs.gnu.org; Sat, 20 Aug 2011 22:22:16 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Quxdq-0000bf-Ao for control@debbugs.gnu.org; Sat, 20 Aug 2011 22:20:02 -0400 Date: Sat, 20 Aug 2011 22:20:02 -0400 Message-Id: Subject: control message for bug 9323 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) retitle 9323 M-x compile does not work well with make -s severity 9323 minor