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

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

Re: question about compilation-error-regexp-alist


From: Kevin Rodgers
Subject: Re: question about compilation-error-regexp-alist
Date: Thu, 30 Mar 2006 09:26:27 -0700
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

wuxch2000@gmail.com wrote:
the compile.el's comment says

"Each elt has the form (REGEXP FILE [LINE COLUMN TYPE HYPERLINK
HIGHLIGHT...]).  If REGEXP matches, the FILE'th subexpression
gives the file name, and the LINE'th subexpression gives the line
number.  The COLUMN'th subexpression gives the column number on that
line."

it's easy to understand how compile.el know FILE and LINE content, but
how can compile.el know witch TYPE the message is?

The doc string also says:

"TYPE is 2 or nil for a real error or 1 for warning or 0 for info."

So if TYPE is omitted, it is nil, thus by default the message is an error.

--
Kevin Rodgers





reply via email to

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