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: Fri, 2 Jul 2004 00:20:28 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20040702002028.3258cbc4@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> <20040629220851.07104e4c@pfdabpc.inhouse.start.de> <7137-Tue29Jun2004231955+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 1088713250 18520 80.91.224.253 (1 Jul 2004 20:20:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 1 Jul 2004 20:20:50 +0000 (UTC) Cc: Juri Linkov , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Jul 01 22:20:42 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 1Bg830-0002Lb-00 for ; Thu, 01 Jul 2004 22:20:42 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bg82z-0006mv-00 for ; Thu, 01 Jul 2004 22:20:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bg84m-0004wS-BE for emacs-devel@quimby.gnus.org; Thu, 01 Jul 2004 16:22:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Bg84j-0004wN-Uj for emacs-devel@gnu.org; Thu, 01 Jul 2004 16:22:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Bg84i-0004wB-5K for emacs-devel@gnu.org; Thu, 01 Jul 2004 16:22:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bg84i-0004w8-0i for emacs-devel@gnu.org; Thu, 01 Jul 2004 16:22:28 -0400 Original-Received: from [194.25.134.81] (helo=mailout03.sul.t-online.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bg82p-0003I0-80; Thu, 01 Jul 2004 16:20:31 -0400 Original-Received: from fwd06.aul.t-online.de by mailout03.sul.t-online.com with smtp id 1Bg82n-0005HC-00; Thu, 01 Jul 2004 22:20:29 +0200 Original-Received: from pfdabpc.inhouse.start.de (r9GsicZS8eidNXUUOgC4+mG7m3zoR6n9Rt9JgFbf+4s5UL4vWpxgwM@[217.234.30.108]) by fwd06.sul.t-online.com with smtp id 1Bg82X-2K8vUO0; Thu, 1 Jul 2004 22:20:13 +0200 Original-To: Eli Zaretskii In-Reply-To: <7137-Tue29Jun2004231955+0300-eliz@gnu.org> X-Mailer: Sylpheed version 0.9.10claws (GTK+ 1.2.10; i686-suse-linux) X-Seen: false X-ID: r9GsicZS8eidNXUUOgC4+mG7m3zoR6n9Rt9JgFbf+4s5UL4vWpxgwM 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:25361 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:25361 Saluton, "Eli Zaretskii" skribis: > > Date: Tue, 29 Jun 2004 22:08:51 +0200 > > From: dapfy@t-online.de (Daniel Pfeiffer) > > - 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)? > > I missed that part of the discussion, but why not use something like > ansi-color.el to _display_ the highlighted substrings as if they were > on a text-mode terminal? It is not immediately clear to me how to hook that into font-lock or specifically grep.el. But it would seem to also delete the Escape sequences, which was my criticism of Juri's code. Is there no way of making text invisible, such that it doesn't get in the way when searching of copy/pasting it? 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/