From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: garbage prevents copy from *grep* buffer Date: Sat, 23 Oct 2004 02:45:45 +0300 Organization: JURTA Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <871xfqti7d.fsf@jurta.org> References: <16761.34420.224255.307022@farnswood.snap.net.nz> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1098490116 32535 80.91.229.6 (23 Oct 2004 00:08:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 23 Oct 2004 00:08:36 +0000 (UTC) Cc: bob@rattlesnake.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 23 02:08:18 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CL9SE-0008De-00 for ; Sat, 23 Oct 2004 02:08:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CL9Zk-0008OT-Ml for ged-emacs-devel@m.gmane.org; Fri, 22 Oct 2004 20:16:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CL9ZT-0008LY-3v for emacs-devel@gnu.org; Fri, 22 Oct 2004 20:15:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CL9ZR-0008Ka-V8 for emacs-devel@gnu.org; Fri, 22 Oct 2004 20:15:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CL9ZR-0008KR-Rl for emacs-devel@gnu.org; Fri, 22 Oct 2004 20:15:45 -0400 Original-Received: from [66.33.205.9] (helo=spatula.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CL9Rc-00023y-Pu for emacs-devel@gnu.org; Fri, 22 Oct 2004 20:07:40 -0400 Original-Received: from mail.jurta.org (80-235-37-219-dsl.mus.estpak.ee [80.235.37.219]) by spatula.dreamhost.com (Postfix) with ESMTP id 9411817D020; Fri, 22 Oct 2004 17:07:37 -0700 (PDT) Original-To: Nick Roberts In-Reply-To: <16761.34420.224255.307022@farnswood.snap.net.nz> (Nick Roberts's message of "Sat, 23 Oct 2004 11:15:16 +1300") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:28762 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28762 > > When I run `M-x grep' to discover a URL in an HTML file, I see this: > > > > rattlesnake-home-page.html:140:
  • > > > > rather than: > > > > rattlesnake-home-page.html:140:
  • > > > > I cannot copy and paste > > > > http://www.goldenhillfarm.com > > > > to either Emacs W3 mode or Mozilla to fetch the specified page. > > Similar anomalies occur when you cut and paste titles or nodes in info (this > doesn't happen in 21.2). Perhaps this isn't a very common task but I should > think that, as a general rule, when you cut and paste you get what you see. Implementing a new option `kill-as-displayed' might help to make the behavior of killing/yanking of invisible text more natural. However, there are other problems with invisible grep markers like isearch failing to find a string with invisible markers inside. Since no one likes invisible grep markers, they should be deleted from the grep buffer even at the cost of losing the ability to restore their highlighting after saving and reloading the grep buffer, or even after modifying the lines with grep matches. [There were a few problems with deleting grep markers with font-lock machinery. I will take care of that.] -- Juri Linkov http://www.jurta.org/emacs/