From: grossjoh@ls6.informatik.uni-dortmund.de (Kai Großjohann)
Subject: Re: How to edit compilation-error-regexp-alist in .emacs file?
Date: Mon, 23 Sep 2002 15:06:56 +0200 [thread overview]
Message-ID: <vaf8z1svor3.fsf@lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: uosph31od0k22c@corp.supernews.com
"Siegfried Heintze" <siegfried@heintze.com> writes:
> I found an example of eval-after-load in the perl module and tried to modify
> it for me.
>
> Why does this not work?
What happens when you use it and what did you expect? What does C-h
v say about the variable compilation-error-regexp-alist?
Do you really mean mode-compile.el or maybe compile.el?
> (if (fboundp 'eval-after-load)
> (eval-after-load
> "mode-compile"
> '(progn (setcar (car compilation-error-regexp-alist) (concat
> "\\(\\[Error\\] \\|\\[Fatal Error\\] \\)?" (caar
> compilation-error-regexp-alist)))
> (setcdr (car compilation-error-regexp-alist) '(3 4 7))
> (push '("^\\([-_a-zA-Z0-9]+\\.[-_a-zA-Z0-9]+\\)[ \t]*([
> \t]*\\([0-9]+\\)[ \t]*,[ \t]*\\([0-9]+\\)[ \t]*)[ \t]*:[
> \t]*\\(error\\|fatal error\\|warning\\)[ \t]+\\([^ ]+\\):" 1 2 3)
> compilation-error-regexp-alist)) ) )
Why not just add new entries? Frobbing the first entry seems a bit
strange.
kai
--
~/.signature is: umop 3p!sdn (Frank Nobis)
next prev parent reply other threads:[~2002-09-23 13:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-16 17:11 How to edit compilation-error-regexp-alist in .emacs file? Siegfried Heintze
2002-09-16 18:18 ` Syver Enstad
2002-09-16 19:52 ` Kai Großjohann
2002-09-23 2:00 ` Siegfried Heintze
2002-09-23 13:06 ` Kai Großjohann [this message]
2002-09-27 3:37 ` Siegfried Heintze
2002-09-27 11:47 ` Kai Großjohann
2002-09-27 22:55 ` Siegfried Heintze
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=vaf8z1svor3.fsf@lucy.cs.uni-dortmund.de \
--to=grossjoh@ls6.informatik.uni-dortmund.de \
/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.