From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: Changes to emacs/lisp/progmodes/grep.el Date: Tue, 6 Jul 2004 13:16:07 -0500 (CDT) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200407061816.i66IG6u05312@raven.dms.auburn.edu> 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> <87oen1k4yc.fsf@mail.jurta.org> <87pt79nki2.fsf@mail.jurta.org> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1089137986 2921 80.91.224.253 (6 Jul 2004 18:19:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Jul 2004 18:19:46 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Jul 06 20:19:38 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 1BhuXZ-0008GU-00 for ; Tue, 06 Jul 2004 20:19:37 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BhuXZ-00077z-00 for ; Tue, 06 Jul 2004 20:19:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BhuZb-0002ya-3M for emacs-devel@quimby.gnus.org; Tue, 06 Jul 2004 14:21:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BhuZ5-0002nQ-4X for emacs-devel@gnu.org; Tue, 06 Jul 2004 14:21:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BhuZ3-0002mj-69 for emacs-devel@gnu.org; Tue, 06 Jul 2004 14:21:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BhuZ3-0002mS-4j for emacs-devel@gnu.org; Tue, 06 Jul 2004 14:21:09 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BhuWa-0000KT-N5 for emacs-devel@gnu.org; Tue, 06 Jul 2004 14:18:36 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id i66IIUuE021514; Tue, 6 Jul 2004 13:18:30 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.6+Sun/8.11.6) id i66IG6u05312; Tue, 6 Jul 2004 13:16:07 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: juri@jurta.org In-reply-to: <87pt79nki2.fsf@mail.jurta.org> (message from Juri Linkov on Tue, 06 Jul 2004 19:55:17 +0300) 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+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:25499 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:25499 Juri Linkov wrote: It would be quite easy to implement: for example, to create a new boolean option, e.g. `yank-as-displayed', and in `insert-for-yank-1' to handle it by deleting the text with `invisible' property and replacing the text with `display' property by the display value (though, I don't see how overlays could be handled here since they are not saved with the text in the kill-ring). Is it a right way to implement this? This could be implemented now given that it is described as "small but important fix". I believe that it would be quite confusing to the user if invisibility were treated differently depending on its internal implementation (text properties, overlays or selective display). The text probably should be put in the right form in the kill-ring, rather than tackling the problem at the time of yanking. In other words `kill-as-displayed'. Sincerely, Luc.