From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#895: slow processing of process output Date: Wed, 06 Jul 2011 15:15:42 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1309982545 1124 80.91.229.12 (6 Jul 2011 20:02:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 6 Jul 2011 20:02:25 +0000 (UTC) Cc: 895@debbugs.gnu.org To: Lars Magne Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 06 22:02:21 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QeYIe-0003nS-Ps for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Jul 2011 22:02:20 +0200 Original-Received: from localhost ([::1]:41185 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeYId-0002nD-LB for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Jul 2011 16:02:19 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:58375) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeXau-0006i5-IU for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2011 15:17:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QeXap-0006PB-CX for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2011 15:17:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58722) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeXap-0006P0-0f for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2011 15:17:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QeXao-00037d-22; Wed, 06 Jul 2011 15:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Jul 2011 19:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 895 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 895-submit@debbugs.gnu.org id=B895.130997976711903 (code B ref 895); Wed, 06 Jul 2011 19:17:02 +0000 Original-Received: (at 895) by debbugs.gnu.org; 6 Jul 2011 19:16:07 +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 1QeXZu-00035w-Qc for submit@debbugs.gnu.org; Wed, 06 Jul 2011 15:16:07 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QeXZs-00035K-0m for 895@debbugs.gnu.org; Wed, 06 Jul 2011 15:16:05 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAJKzFE5FxIV4/2dsb2JhbABTqAd4iHrDT4Y3BJ5rhC8 X-IronPort-AV: E=Sophos;i="4.65,488,1304308800"; d="scan'208";a="120708357" Original-Received: from 69-196-133-120.dsl.teksavvy.com (HELO ceviche.home) ([69.196.133.120]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 06 Jul 2011 15:15:58 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id CD158660D9; Wed, 6 Jul 2011 15:15:42 -0400 (EDT) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Wed, 06 Jul 2011 17:57:35 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 06 Jul 2011 15:17:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:48115 Archived-At: > I wonder whether (in the long term) it would make more sense to have the > `M-x grep' command be less... shell-script-ey. There are other commands that do that that (e.g. rgrep). I like grep specifically because the Emacs wrapper is shallow which lets me do anything I fancy so long as the output has the expected format. > That is, if we instead prompted for the regexp we wanted to match > explicitly, then we could highlight it ourselves instead of relying on > grep to do it. Actually doing this reliably can be tricky because of slight divergence in the syntax and features of regular expressions accepted by Emacs and by the various greps out there. > Ok, here's one other possibility off the top of my head: What about if > Emacs parsed the command line? :-) You go boy! Stefan