[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compile-goto-error Help addition
From: |
Kevin Rodgers |
Subject: |
Re: compile-goto-error Help addition |
Date: |
Tue, 29 May 2001 09:13:17 -0600 |
Dan Jacobson wrote:
>
> The *Help* info for compile-goto-error needs to mention more:
>
> |RET runs the command compile-goto-error
> | which is an interactive compiled Lisp function in `compile'.
> |(compile-goto-error &optional ARGP)
> |
> |Visit the source for the error message point is on.
>
> Visit the source file for the error message point is on and put the
> cursor on that line [and character? e.g. ":676:42:" line 676, position
> 42, does emacs have this capability? HTML tidy -e [for emacs] can make
> this type of output].
Yes. From `C-h v compilation-error-regexp-alist RET':
Alist that specifies how to match errors in compiler output.
Each elt has the form (REGEXP FILE-IDX LINE-IDX [COLUMN-IDX FILE-FORMAT...])
If REGEXP matches, the FILE-IDX'th subexpression gives the file name, and
the LINE-IDX'th subexpression gives the line number. If COLUMN-IDX is
given, the COLUMN-IDX'th subexpression gives the column number on that line.
If any FILE-FORMAT is given, each is a format string to produce a file name to
try; %s in the string is replaced by the text matching the FILE-IDX'th
subexpression.
--
Kevin Rodgers <kevinr@ihs.com> Lead Software Engineer
Information Handling Services Electronic Systems Development
15 Inverness Way East, M/S A114 GO BUFFS!
Englewood CO 80112-5776 USA 1+ (303) 397-2807[voice]/705-4258[fax]