From: rustom <rustompmody@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: compilation errors
Date: Sat, 20 Sep 2008 07:32:19 -0700 (PDT) [thread overview]
Message-ID: <2d268671-af1d-45c4-ae06-ab14daa559db@w24g2000prd.googlegroups.com> (raw)
In-Reply-To: mailman.19549.1221830643.18990.help-gnu-emacs@gnu.org
On Sep 19, 11:46 am, "Jiri Senkyr" <jusb...@centrum.cz> wrote:
> Hello,
> I wanted my emacs to parse messages from IAR Embedded workbench compiler so I added following lines into my .emacs file:
>
> ;; To parse "IAR Embedded workbench 4.21A for Atmel AVR" messages
> ;; Load compile.el library
> (require 'compile)
> ;;Store new item "iar-avr" into compilation-error-regexp-alist variable
> (setq compilation-error-regexp-alist
> (cons 'iar-avr compilation-error-regexp-alist))
> ;; Store iar-avr regexp into compilation-error-regexp-alist-alist variable
> (setq compilation-error-regexp-alist-alist
> (cons '(iar-avr
> "^\\(?:.*\\\\\\)\\(.*\\)(\\([0-9]+\\)) : \\(?:Error\\|Warnin\\(g\\)\\)\\[Pe[0-9]+\\]:"
> 1 2 nil (3)) compilation-error-regexp-alist-alist))
>
> It works all right, but when I start customize and try to customize compilation-error-regexp-alist, it shows "mismatch". At first before i modified .emacs as shown above, I put there just "compilation-error-regexp-alist-alist" but this didn't work, emacs reported "compilation-error-regexp-alist-alist is void" after start-up. To solve this I added "(require 'compile)" line. Error message disappeared but parsing of compiler messages didn't work, so I added setting of "compilation-error-regexp-alist" to contain name of my compiler (iar-avr). This solved the problem, but issue with "customize" appeared.
>
> Parsing works, that's fine but "mismatch" message from customize bothers me. I don't want to modify compile.el (where compilation-error-regexp-alist is defined) directly, which probably would solve the problem.
>
> Could anyone help, please?
>
> Regards,
> Jiri
Instead of setq you may want to use custom-set-variable
prev parent reply other threads:[~2008-09-20 14:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200809190838.14649@centrum.cz>
[not found] ` <200809190839.22779@centrum.cz>
[not found] ` <200809190840.26189@centrum.cz>
[not found] ` <200809190841.26510@centrum.cz>
[not found] ` <200809190842.16034@centrum.cz>
[not found] ` <200809190843.18776@centrum.cz>
[not found] ` <200809190844.22984@centrum.cz>
[not found] ` <200809190845.20285@centrum.cz>
2008-09-19 6:46 ` compilation errors Jiri Senkyr
[not found] ` <mailman.19549.1221830643.18990.help-gnu-emacs@gnu.org>
2008-09-20 14:32 ` rustom [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2d268671-af1d-45c4-ae06-ab14daa559db@w24g2000prd.googlegroups.com \
--to=rustompmody@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.