emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: flymake mode freezes emacs


From: Ralf Schmitt
Subject: Re: flymake mode freezes emacs
Date: Thu, 09 Aug 2007 07:28:33 +0200
User-agent: Icedove 1.5.0.12 (X11/20070731)

Richard Stallman wrote:
    " *\\(\\[javac\\]\\)? *

That might be an infinite loop when there are spaces
but there is no [javac].  Please try replacing it with

    " *\\(\\[javac\\] *\\)?


It does fix the bug.

Regards,
- Ralf
# HG changeset patch
# User address@hidden
# Date 1186637047 -7200
# Node ID 33682a5d9e1ef9777ed53941178c8cd90b37be9f
# Parent  27407a272822df6df04dc8a5c1ae4249e8ddf807
fix

diff -r 27407a272822 -r 33682a5d9e1e flymake.el
--- a/flymake.el        Thu Aug 09 07:22:17 2007 +0200
+++ b/flymake.el        Thu Aug 09 07:24:07 2007 +0200
@@ -918,7 +918,7 @@ Convert it to flymake internal format."
      ("\\(.*\\) at \\([^ \n]+\\) line \\([0-9]+\\)[,.\n]" 2 3 nil 1)
      ;; LaTeX warnings (fileless) ("\\(LaTeX \\(Warning\\|Error\\): .*\\) on 
input line \\([0-9]+\\)" 20 3 nil 1)
      ;; ant/javac
-     (" *\\(\\[javac\\]\\)? *\\(\\([a-zA-Z]:\\)?[^:(\t\n]+\\)\:\\([0-9]+\\)\:[ 
\t\n]*\\(.+\\)"
+     (" *\\(\\[javac\\] *\\)?\\(\\([a-zA-Z]:\\)?[^:(\t\n]+\\)\:\\([0-9]+\\)\:[ 
\t\n]*\\(.+\\)"
       2 4 nil 5))
    ;; compilation-error-regexp-alist)
    (flymake-reformat-err-line-patterns-from-compile-el 
compilation-error-regexp-alist-alist))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]