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

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

bug#7806: 23.2; compilation-mode parsing problems


From: Andreas Schwab
Subject: bug#7806: 23.2; compilation-mode parsing problems
Date: Sat, 08 Jan 2011 14:56:29 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.91 (gnu/linux)

Dave Abrahams <address@hidden> writes:

> First, GCC has begun emitting error lines like:
>
> In file included from 
> /Users/dave/src/embarc/llvm/tools/clang/lib/AST/ASTContext.cpp:21:0:
>
> The existing pattern in compilation-error-regexp-alist-alist for these
> captures the line number as part of the file name and interprets the
> column number as the line number:

Fixed.

> The second problem is that, even after making that substitution,
> somehow compilation-mode still gets confused about the file to open.
> Despite the fact that the first subexpression is an absolute path, it
> simply offers to open "ASTContext.cpp" in the case above.  Not sure
> how to fix that part.

That happens if the file does not exist under the full name.  It does
not make sense to prompt for the full name if it needs to be found in a
different directory anyway.

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





reply via email to

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