From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Invisibility bug: `invisible' vs `display' Date: Thu, 22 Feb 2007 22:00:39 +0100 Message-ID: <85wt29di14.fsf@lola.goethe.zz> References: <87sldbtd50.fsf@wigwam.brockman.se> <87hctraqhh.fsf@stupidchicken.com> <87hctq6eyd.fsf@wigwam.brockman.se> <861wkucyxw.fsf@lola.quinscape.zz> <87ps8e9k8e.fsf@wigwam.brockman.se> <87vehu99x7.fsf@wigwam.brockman.se> <863b4yxvu3.fsf@lola.quinscape.zz> <87ps82gwdi.fsf@wigwam.brockman.se> <86mz36wbvc.fsf@lola.quinscape.zz> <87hctegtxt.fsf@wigwam.brockman.se> <86irduw0sr.fsf@lola.quinscape.zz> <87abz67wqd.fsf@wigwam.brockman.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1172178213 9871 80.91.229.12 (22 Feb 2007 21:03:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Feb 2007 21:03:33 +0000 (UTC) Cc: emacs-devel@gnu.org To: Daniel Brockman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 22 22:03:14 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HKL4p-0006HM-ON for ged-emacs-devel@m.gmane.org; Thu, 22 Feb 2007 22:02:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HKL4p-0002Hg-7v for ged-emacs-devel@m.gmane.org; Thu, 22 Feb 2007 16:02:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HKL3W-000117-PH for emacs-devel@gnu.org; Thu, 22 Feb 2007 16:00:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HKL3V-00010J-BW for emacs-devel@gnu.org; Thu, 22 Feb 2007 16:00:46 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HKL3V-00010G-1y for emacs-devel@gnu.org; Thu, 22 Feb 2007 16:00:45 -0500 Original-Received: from mail-in-03.arcor-online.net ([151.189.21.43]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HKL3U-0000nz-Ja for emacs-devel@gnu.org; Thu, 22 Feb 2007 16:00:44 -0500 Original-Received: from mail-in-12-z2.arcor-online.net (mail-in-12-z2.arcor-online.net [151.189.8.29]) by mail-in-03.arcor-online.net (Postfix) with ESMTP id E0858275E0F; Thu, 22 Feb 2007 22:00:40 +0100 (CET) Original-Received: from mail-in-03.arcor-online.net (mail-in-03.arcor-online.net [151.189.21.43]) by mail-in-12-z2.arcor-online.net (Postfix) with ESMTP id D0762279480; Thu, 22 Feb 2007 22:00:40 +0100 (CET) Original-Received: from lola.goethe.zz (dslb-084-061-038-121.pools.arcor-ip.net [84.61.38.121]) by mail-in-03.arcor-online.net (Postfix) with ESMTP id 8185F275E0F; Thu, 22 Feb 2007 22:00:40 +0100 (CET) Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id EDD1F1CE249E; Thu, 22 Feb 2007 22:00:39 +0100 (CET) In-Reply-To: <87abz67wqd.fsf@wigwam.brockman.se> (Daniel Brockman's message of "Thu\, 22 Feb 2007 21\:39\:38 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux) X-detected-kernel: Linux 2.4-2.6 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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:66645 Archived-At: Daniel Brockman writes: > David Kastrup writes: > >> Daniel Brockman writes: >> >>> How can an overlay with identical start and end points >>> display anything? >> >> Using the display property. Are you sure that you understand the >> difference between overlays and text properties? Text properties are >> bound to characters, overlays to buffer positions. > > Well, I'm obviously confused. I thought overlay properties > applied to the characters under the overlay. They apply to the region between its buffer positions. Which is usually pretty similar to "characters under the overlay". But zero-length overlays exist and work, too, and when copying text from a buffer, overlay properties are not copied as part of the text. You can even have overlays that are restricted to a single window displaying the buffer and will not have an effect on other windows showing the same buffer. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum