From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#5599: 23.1; compilation error regexp "watcom" slow on long lines Date: Sat, 20 Feb 2010 08:54:39 -0500 Message-ID: <87vddsypuo.fsf@stupidchicken.com> References: <87pr42qlil.fsf@blah.blah> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1266675826 20073 80.91.229.12 (20 Feb 2010 14:23:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 20 Feb 2010 14:23:46 +0000 (UTC) Cc: 5599@debbugs.gnu.org To: Kevin Ryde Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 20 15:23:43 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NiqFC-0007fq-Rv for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Feb 2010 15:23:43 +0100 Original-Received: from localhost ([127.0.0.1]:43764 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NiqFC-0003z9-8N for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Feb 2010 09:23:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NiqEc-0003jr-G5 for bug-gnu-emacs@gnu.org; Sat, 20 Feb 2010 09:23:06 -0500 Original-Received: from [140.186.70.92] (port=52690 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NiqEb-0003jY-MK for bug-gnu-emacs@gnu.org; Sat, 20 Feb 2010 09:23:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NiqEa-0003I6-NC for bug-gnu-emacs@gnu.org; Sat, 20 Feb 2010 09:23:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43184) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NiqEa-0003I0-LD for bug-gnu-emacs@gnu.org; Sat, 20 Feb 2010 09:23:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NipnS-0003mn-CH; Sat, 20 Feb 2010 08:55:02 -0500 X-Loop: bug-gnu-emacs@gnu.org In-Reply-To: <87pr42qlil.fsf@blah.blah> Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Feb 2010 13:55:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5599 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5599-submit@debbugs.gnu.org id=B5599.126667409014525 (code B ref 5599); Sat, 20 Feb 2010 13:55:02 +0000 Original-Received: (at 5599) by debbugs.gnu.org; 20 Feb 2010 13:54:50 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NipnG-0003mE-EW for submit@debbugs.gnu.org; Sat, 20 Feb 2010 08:54:50 -0500 Original-Received: from pantheon-po33.its.yale.edu ([130.132.50.94]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NipnC-0003m4-GE for 5599@debbugs.gnu.org; Sat, 20 Feb 2010 08:54:48 -0500 Original-Received: from furry (adsl-99-96-75-7.dsl.wlfrct.sbcglobal.net [99.96.75.7]) (authenticated bits=0) by pantheon-po33.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o1KDseqE008083 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 20 Feb 2010 08:54:41 -0500 Original-Received: by furry (Postfix, from userid 1000) id 74F4FC05D; Sat, 20 Feb 2010 08:54:39 -0500 (EST) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 20 Feb 2010 08:55:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:35213 Archived-At: > If a compilation-mode buffer has a very long line, the `watcom' error > regexp pattern is very slow at not matching. For example the foo.el > below takes my old pc about 20 seconds to match nothing. > > I suppose the optional drive letter part of the pattern makes it > backtrack to every character. I wonder if it could anchor to the start > of the line to restrict that. Yes, I think that's fine. I've checked in your patch, with a small modification to allow whitespace in front of the drive letter part.