all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Siegfried Heintze" <siegfried@heintze.com>
Subject: Re: How to edit compilation-error-regexp-alist in .emacs file?
Date: Sun, 22 Sep 2002 19:00:30 -0700	[thread overview]
Message-ID: <uosph31od0k22c@corp.supernews.com> (raw)
In-Reply-To: vafn0qhd84n.fsf@lucy.cs.uni-dortmund.de

I found an example of eval-after-load in the perl module and tried to modify
it for me.

Why does this not work?
(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))  )  )

  reply	other threads:[~2002-09-23  2:00 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 [this message]
2002-09-23 13:06     ` Kai Großjohann
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=uosph31od0k22c@corp.supernews.com \
    --to=siegfried@heintze.com \
    /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.