all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Subject: Re: How to edit compilation-error-regexp-alist in .emacs file?
Date: Fri, 27 Sep 2002 13:47:30 +0200	[thread overview]
Message-ID: <vafk7l7zmb1.fsf@lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: up7kk96tv2u879@corp.supernews.com

"Siegfried Heintze" <siegfried@heintze.com> writes:

> Well the setcdr and setcar are kinda ugly but they work. I agree, it would
> be more readable to just push new values on. I'll change that in the future.

OK.

> Anyway, to recognize the error messages produced by the apache xerces-j I
> have to open my .emacs file, double click on the progn statement (shown in
> the fragment of code I initially posted in this thread), paste it into the
> alt-shift-: minibuffer and execute it. Then I can use c-x` to jump to the
> errors. Can I automate this process of altering the variable
> compilation-error-regexp-alist?

Yes.

> I saw the code in the perl module so I just pasted it into my .emacs and it
> is not producing any error messages but it is not working either. My code in
> the progn statement seems to work as long as it is not executed directly in
> my .emacs file (which apparently tries to execute before the
> compilation-error-regexp-alist variable has been created).

Yes.

> I don't want to use the require statement because that would require
> compile-mode be loaded at that time and I would like to defer that,
> especially if I never use it.

Well, if you have the choice of making Emacs startup slower by 0.5
secs or of having something that does not work, what do you want to
choose :-)

> If I try to execute in my .emacs file, it complains that there is no such
> variable compilation-error-regexp-alist.

When compilation-error-regexp-alist is defined, look which file it
comes from, with C-h v.  I think it's compile, not mode-compile.
Then specify the right filename in eval-after-load.

kai
-- 
~/.signature is: umop ap!sdn    (Frank Nobis)

  reply	other threads:[~2002-09-27 11:47 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
2002-09-27  3:37       ` Siegfried Heintze
2002-09-27 11:47         ` Kai Großjohann [this message]
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=vafk7l7zmb1.fsf@lucy.cs.uni-dortmund.de \
    --to=kai.grossjohann@cs.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.