all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Compile Error Regex Problems
@ 2007-12-02 18:31 gamename
  0 siblings, 0 replies; only message in thread
From: gamename @ 2007-12-02 18:31 UTC (permalink / raw
  To: help-gnu-emacs

Hi Guys,

Got a strange problem with a regex for compile mode.  On the initial
compile it doesn't work (i.e. doesn't highlight lines), but on the
*re*compile, it works fine (lines are highlighted).

Here is the code in my .emacs:

(require 'compile)

(setq compilation-search-path
      '("./"
        "../../"))

(add-to-list 'compilation-error-regexp-alist
             '("^ +[0-9]+\. \\([^ :]+\\):\\([0-9]+\\) +" 1 2))

(defun fdeunit (command)
 "fdeunit test run"
 (interactive (list (read-file-name "FDEUnit (with args): "
                                    (buffer-file-name))))
 (compile-internal (concat "fdeunit  " command)
                   "finished" "FDEUnit Test" nil grep-regexp-alist))

Any ideas?
-T

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-12-02 18:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-02 18:31 Compile Error Regex Problems gamename

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.