bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#7069: Compilation from within emacs becomes slower and slower until


From: Stefan Monnier
Subject: bug#7069: Compilation from within emacs becomes slower and slower until Emacs is restarted
Date: Mon, 25 Apr 2011 09:28:18 -0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

>>> (add-hook 'compilation-mode-hook
>>> (lambda () (setq compilation-error-regexp-alist
>>> (cons
>>> ;; Quartus II error messages
>>> '(".*Verilog .* at \\(.+\\)(\\([0-9]+\\)): .*" 1 2)
>>> compilation-error-regexp-alist))))
> [snip]
>>> I haven't looked further into why this should be a problem.
>> 
>> I can't think of any reason why this regexp should make compilation
>> become slower (I can see why it would make it slow, but unless lines
>> become longer over time, it should keep the same slowness at the end as
>> it had at the beginning).

> He's adding an entry to compilation-error-regexp-alist every time he
> compiles,

Duh, good catch, thank you,


        Stefan





reply via email to

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