unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#8014: 24.0.50; compilation-mode does not track directories
@ 2011-02-10 17:11 Sam Steingold
  2011-02-17  2:53 ` Glenn Morris
  0 siblings, 1 reply; 4+ messages in thread
From: Sam Steingold @ 2011-02-10 17:11 UTC (permalink / raw)
  To: 8014

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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-03-14 13:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-10 17:11 bug#8014: 24.0.50; compilation-mode does not track directories Sam Steingold
2011-02-17  2:53 ` Glenn Morris
2011-03-12  4:30   ` Stefan Monnier
2011-03-14 13:39     ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).