bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#8014: 24.0.50; compilation-mode does not track directories


From: Sam Steingold
Subject: bug#8014: 24.0.50; compilation-mode does not track directories
Date: Thu, 10 Feb 2011 12:11:14 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]