From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: dapfy@t-online.de (Daniel Pfeiffer) Newsgroups: gmane.emacs.devel Subject: Re: Changes to emacs/lisp/progmodes/grep.el Date: Tue, 29 Jun 2004 22:08:51 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20040629220851.07104e4c@pfdabpc.inhouse.start.de> References: <87isdgnzzi.fsf@mail.jurta.org> <20040625220304.0f1fd05a@pfdabpc.inhouse.start.de> <20040627123340.5d3354cd@pfdabpc.inhouse.start.de> <20040628104013.5b4eb37e@pfdabpc.inhouse.start.de> <7494-Mon28Jun2004200058+0300-eliz@gnu.org> <20040628232216.5be7f8dd@pfdabpc.inhouse.start.de> <5567-Tue29Jun2004071049+0300-eliz@gnu.org> Reply-To: Daniel Pfeiffer NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1088543744 19443 80.91.224.253 (29 Jun 2004 21:15:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Jun 2004 21:15:44 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Jun 29 23:15:36 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BfPm3-00084x-00 for ; Tue, 29 Jun 2004 23:04:15 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BfPm3-0001Hg-00 for ; Tue, 29 Jun 2004 23:04:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BfPnj-0006oQ-2F for emacs-devel@quimby.gnus.org; Tue, 29 Jun 2004 17:05:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BfOvr-0004Gw-Gn for emacs-devel@gnu.org; Tue, 29 Jun 2004 16:10:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BfOvq-0004Fq-1R for emacs-devel@gnu.org; Tue, 29 Jun 2004 16:10:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BfOvp-0004Fg-Mi for emacs-devel@gnu.org; Tue, 29 Jun 2004 16:10:17 -0400 Original-Received: from [194.25.134.18] (helo=mailout04.sul.t-online.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BfOtK-0004x3-Db; Tue, 29 Jun 2004 16:07:42 -0400 Original-Received: from fwd05.aul.t-online.de by mailout04.sul.t-online.com with smtp id 1BfOtJ-0001DS-05; Tue, 29 Jun 2004 22:07:41 +0200 Original-Received: from pfdabpc.inhouse.start.de (XV8iI6ZvQe6Uwl5CkpwWYSI2FyW8n-ZmRF6CpccJSuDtk15WO8ixw8@[217.234.56.101]) by fwd05.sul.t-online.com with smtp id 1BfOt2-1EiMwy0; Tue, 29 Jun 2004 22:07:24 +0200 Original-To: Eli Zaretskii In-Reply-To: <5567-Tue29Jun2004071049+0300-eliz@gnu.org> X-Mailer: Sylpheed version 0.9.10claws (GTK+ 1.2.10; i686-suse-linux) X-Seen: false X-ID: XV8iI6ZvQe6Uwl5CkpwWYSI2FyW8n-ZmRF6CpccJSuDtk15WO8ixw8 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:25308 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:25308 Saluton, Moin, "Eli Zaretskii" skribis: > > And I frequently grep in various corners of various machines, on > > all of which I'd have to install this, which is already my turn off with > > GNU grep... At first sight my little script gives me more bang for the > > euro. > > Doesn't your script need Perl to be installed? Perl is by far a > larger package than ID-Utils. Sure, but Linux distros as well as commercial Unices like Solaris or Fujitsu-Siemens' Reliant Unix have it installed by default. > While ID-Utils is a bit larger than > Grep, it's not much larger; its lightning-fast response to queries and > programming language awareness more than make up for the need to > install a fairly small package. You're whetting my appetite, but we're getting off topic here. The interesting question is what to do with M-x grep for highlighting the matched string: - Is it better to delete the Escape sequences as Juri suggested and thus irreversibly change the buffer contents such that it can't be rehighlighted? - Or do we maintain save-to-file and editability, by making the Escape sequences invisible (and maybe solving the drawbacks somehow)? coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn Daniel Pfeiffer -- lerne / learn / apprends / lär dig / ucz się Esperanto: http://lernu.net/