unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Format of compilation-error-regexp-alist-alist
@ 2006-03-15 23:08 Lennart Borgman
  2006-03-15 23:55 ` Kevin Rodgers
  0 siblings, 1 reply; 3+ messages in thread
From: Lennart Borgman @ 2006-03-15 23:08 UTC (permalink / raw)


I do not understand the format of `compilation-error-regexp-alist-alist. 
I can not find in the documentation how the first element in the entries 
are used. Where is absoft, ada, aix etc used? If I want to add a new 
entry to the alist for support of a new command what should this new 
command output to match the names (absoft, ada etc)?

Am I missing something in the documentation?

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

* Re: Format of compilation-error-regexp-alist-alist
  2006-03-15 23:08 Format of compilation-error-regexp-alist-alist Lennart Borgman
@ 2006-03-15 23:55 ` Kevin Rodgers
  2006-03-16  0:11   ` Lennart Borgman
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Rodgers @ 2006-03-15 23:55 UTC (permalink / raw)


Lennart Borgman wrote:
> I do not understand the format of `compilation-error-regexp-alist-alist. 
> I can not find in the documentation how the first element in the entries 
> are used. Where is absoft, ada, aix etc used? If I want to add a new 
> entry to the alist for support of a new command what should this new 
> command output to match the names (absoft, ada etc)?
> 
> Am I missing something in the documentation?

Well, it's doc string says:

| Alist of values for `compilation-error-regexp-alist'

And if you click on the link in the *Help* buffer, that
variable's doc string says:

| Instead of an alist element, you can use a symbol, which is
| looked up in `compilation-error-regexp-alist-alist'.  You can see
| the predefined symbols and their effects in the file
| `etc/compilation.txt' (linked below if you are customizing this).

So I think a new command should have its own symbol.

-- 
Kevin Rodgers

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

* Re: Format of compilation-error-regexp-alist-alist
  2006-03-15 23:55 ` Kevin Rodgers
@ 2006-03-16  0:11   ` Lennart Borgman
  0 siblings, 0 replies; 3+ messages in thread
From: Lennart Borgman @ 2006-03-16  0:11 UTC (permalink / raw)
  Cc: emacs-devel

Kevin Rodgers wrote:
> Lennart Borgman wrote:
>> I do not understand the format of 
>> `compilation-error-regexp-alist-alist. I can not find in the 
>> documentation how the first element in the entries are used. Where is 
>> absoft, ada, aix etc used? If I want to add a new entry to the alist 
>> for support of a new command what should this new command output to 
>> match the names (absoft, ada etc)?
>>
>> Am I missing something in the documentation?
>
> Well, it's doc string says:
>
> | Alist of values for `compilation-error-regexp-alist'
>
> And if you click on the link in the *Help* buffer, that
> variable's doc string says:
>
> | Instead of an alist element, you can use a symbol, which is
> | looked up in `compilation-error-regexp-alist-alist'.  You can see
> | the predefined symbols and their effects in the file
> | `etc/compilation.txt' (linked below if you are customizing this).
>
> So I think a new command should have its own symbol.
>
Thanks for the answer. I finally understood that I could bind 
`compilation-error-regexp-alist' etc before calling (compile ...). That 
made it very simple.

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

end of thread, other threads:[~2006-03-16  0:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-15 23:08 Format of compilation-error-regexp-alist-alist Lennart Borgman
2006-03-15 23:55 ` Kevin Rodgers
2006-03-16  0:11   ` Lennart Borgman

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).