From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.bugs Subject: bug#8014: 24.0.50; compilation-mode does not track directories Date: Thu, 10 Feb 2011 12:11:14 -0500 Message-ID: Reply-To: sds@gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1297370093 8178 80.91.229.12 (10 Feb 2011 20:34:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 10 Feb 2011 20:34:53 +0000 (UTC) To: 8014@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 10 21:34:48 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PndDx-0007Bf-UF for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Feb 2011 21:34:46 +0100 Original-Received: from localhost ([127.0.0.1]:39618 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PndDx-0004bM-G1 for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Feb 2011 15:34:45 -0500 Original-Received: from [140.186.70.92] (port=38128 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PnaRC-0005rX-DR for bug-gnu-emacs@gnu.org; Thu, 10 Feb 2011 12:36:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PnaRB-000420-4f for bug-gnu-emacs@gnu.org; Thu, 10 Feb 2011 12:36:14 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58734) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PnaRA-00041t-Uz for bug-gnu-emacs@gnu.org; Thu, 10 Feb 2011 12:36:13 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PnZv4-0002XT-Em; Thu, 10 Feb 2011 12:03:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Sam Steingold Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Feb 2011 17:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8014 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.12973573709739 (code B ref -1); Thu, 10 Feb 2011 17:03:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Feb 2011 17:02:50 +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 1PnZus-0002X1-1B for submit@debbugs.gnu.org; Thu, 10 Feb 2011 12:02:50 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PnZuq-0002Wp-6E for submit@debbugs.gnu.org; Thu, 10 Feb 2011 12:02:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pna3J-0003th-UC for submit@debbugs.gnu.org; Thu, 10 Feb 2011 12:11:35 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:56693) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pna3J-0003td-Rf for submit@debbugs.gnu.org; Thu, 10 Feb 2011 12:11:33 -0500 Original-Received: from [140.186.70.92] (port=55442 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pna3C-0000rp-59 for bug-gnu-emacs@gnu.org; Thu, 10 Feb 2011 12:11:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pna3B-0003rZ-4U for bug-gnu-emacs@gnu.org; Thu, 10 Feb 2011 12:11:26 -0500 Original-Received: from mail-qy0-f176.google.com ([209.85.216.176]:33503) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pna35-0003pY-QM; Thu, 10 Feb 2011 12:11:19 -0500 Original-Received: by qyk10 with SMTP id 10so1276908qyk.0 for ; Thu, 10 Feb 2011 09:11:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:from:to:subject:user-agent :mail-copies-to:return-receipt-to:reply-to:x-attribution :x-disclaimer:date:message-id:mime-version:content-type; bh=Yrsc0UV5R+X2W7BPz/UCCejORo8jGH2Np6fXuYBm21Q=; b=mFaMXph51qH+UjWJ1Qzaklu1F1Mk3rDGzKYLpgRFJoFw0qeZ4ARp+nZdbDAHg0qMsb 2d/Rf2eA6qZCIH+I3rsf9ZCjGEDQT+7gT2+PUnMp7nyAqX3Kmry1ksVf6s9EAES+f36e DUlDmkivGOeN62EB6AC4fYxpJ7vCfDWq5Co5s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:subject:user-agent:mail-copies-to:return-receipt-to :reply-to:x-attribution:x-disclaimer:date:message-id:mime-version :content-type; b=VxZYmDinckuPIolStCCaQZWJgfTgwYgUE0RQuYqGQLYz/9Pji2yf3pmxlXjRMkW2v8 LXqznQAIRaJEnASHCJkSESYESb6+kR2Bt9I2zpRjquyl6Bsn3dGRsQFTKvwBdduZb1hU 8z9NmnWD8wxoVyH7WGSSSpFaxRPr6nZ15bfIg= Original-Received: by 10.224.10.208 with SMTP id q16mr18020289qaq.65.1297357877474; Thu, 10 Feb 2011 09:11:17 -0800 (PST) Original-Received: from tbox.m2.algo (rrcs-24-103-48-205.nyc.biz.rr.com [24.103.48.205]) by mx.google.com with ESMTPS id q12sm129150qcu.42.2011.02.10.09.11.15 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 10 Feb 2011 09:11:16 -0800 (PST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.216.176 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 10 Feb 2011 12:03:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:44026 Archived-At: In GNU Emacs 24.0.50.2 (x86_64-unknown-linux-gnu, X toolkit) of 2011-02-09 on tbox Windowing system distributor `Colin Harrison', version 11.0.60900031 configured using `configure '--with-x-toolkit=lucid'' I have a buffer with this text: ====================================================== make: Entering directory `/home/sds/code/core' make[1]: Entering directory `/home/sds/code/core/tests' make[1]: Leaving directory `/home/sds/code/core/tests' make: Leaving directory `/home/sds/code/core' make: Entering directory `/home/sds/code/m2' make[1]: Entering directory `/home/sds/code/core' make[1]: Leaving directory `/home/sds/code/core' make[1]: Entering directory `/home/sds/code/m2/defs' make[1]: Leaving directory `/home/sds/code/m2/defs' meng/book.h:170: warning: unused parameter 'do_print' meng/book.h:170: warning: unused parameter 'do_print' ../../m2/commit/shmem_buffer.h:41: warning: comparison between signed and unsigned integer expressions ../../m2/commit/shmem_buffer.h:62: warning: comparison between signed and unsigned integer expressions srserver.cpp:369: warning: unused variable 'conn' srserver.cpp:366: warning: unused parameter 'listen_at' srserver.cpp:382: warning: unused parameter 'success' ../../m2/commit/merger.h:83: warning: control reaches end of non-void function ====================================================== I do M-x compilation-mode RET and see very pretty fontifications which give me some false hope. When I click on the full paths in the "make...directory" lines, I get the correct dired buffers. This is good. Alas, clicking on the warnings does not work: I am asked which file I want to visit. This is no good. Emacs can figure out the full pathname perfectly fine by parsing the "make...directory" lines. Specifically, the last "Entering" line which is not matched with a "Leaving" line points to "code/m2", so the first file "meng/book.h" should be found in code/core/meng/book.h - and, lo and behold, it is there! -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.3 (Final) http://openvotingconsortium.org http://iris.org.il http://jihadwatch.org http://mideasttruth.com http://camera.org I'd give my right arm to be ambidextrous.