From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Colin Walters Newsgroups: gmane.emacs.devel Subject: Re: Question about copy-region-as-kill Date: 06 Apr 2002 23:44:46 -0500 Sender: emacs-devel-admin@gnu.org Message-ID: <1018154686.1186.13.camel@space-ghost> References: <87ofh09xjq.fsf@alice.dynodns.net> <200204050602.g3562Dl18586@aztec.santafe.edu> <87bscx7rlf.fsf@alice.dynodns.net> <200204061732.g36HWSb19584@aztec.santafe.edu> <87k7rkmuk0.fsf@alice.dynodns.net> <87zo0gbfb2.fsf@emacswiki.org> <1018138376.27236.49.camel@space-ghost> <87bscwe36t.fsf@tc-1-100.kawasaki.gol.ne.jp> <874rio5ide.fsf@alice.dynodns.net> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1018155077 9727 127.0.0.1 (7 Apr 2002 04:51:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 7 Apr 2002 04:51:17 +0000 (UTC) Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16u4e5-0002Wm-00 for ; Sun, 07 Apr 2002 06:51:17 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16u4rq-00030g-00 for ; Sun, 07 Apr 2002 07:05:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16u4dt-0002Ud-00; Sat, 06 Apr 2002 23:51:05 -0500 Original-Received: from monk.debian.net ([216.185.54.61] helo=monk.verbum.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16u4d5-0002TL-00 for ; Sat, 06 Apr 2002 23:50:15 -0500 Original-Received: from space-ghost.verbum.private (freedom.cis.ohio-state.edu [164.107.60.183]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "space-ghost.verbum.org", Issuer "monk.verbum.org" (verified OK)) by monk.verbum.org (Postfix (Debian/GNU)) with ESMTP id BFD4B74000B2 for ; Sat, 6 Apr 2002 23:50:03 -0500 (EST) Original-Received: by space-ghost.verbum.private (Postfix (Debian/GNU), from userid 1000) id 528D5982A28; Sat, 6 Apr 2002 23:44:47 -0500 (EST) Original-To: emacs-devel@gnu.org In-Reply-To: <874rio5ide.fsf@alice.dynodns.net> X-Mailer: Evolution/1.0 (Preview Release) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:2438 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:2438 On Sat, 2002-04-06 at 21:53, John Wiegley wrote: > I agree. I think overlays have their place; for example they allow > specialized font properties to be used in conjunction with font-lock, > like highlighting certain terms temporarily. These overlays can then > all be deleted in one go, without having to search the text. You mean like changing the face of some text temporarily, and then just going through the buffer and deleting all the overlays to remove that face? This approach fails when you use overlays for any other purpose in the same buffer; you then can't just delete all the overlays. If we had extents, the right way to solve that problem, in my opinion, would be to add another extent with a higher priority face, and another property like 'temporary t. Then, you could search for all extents with a 'temporary property, and delete them.