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:51:54 +0100 Message-ID: <85irdtdfnp.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> <85wt29di14.fsf@lola.goethe.zz> <873b4x99ac.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 1172181141 28396 80.91.229.12 (22 Feb 2007 21:52:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Feb 2007 21:52:21 +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:52:15 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 1HKLrK-0002Gb-IK for ged-emacs-devel@m.gmane.org; Thu, 22 Feb 2007 22:52:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HKLrK-0007DO-3u for ged-emacs-devel@m.gmane.org; Thu, 22 Feb 2007 16:52:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HKLr7-0007Cr-Hx for emacs-devel@gnu.org; Thu, 22 Feb 2007 16:52:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HKLr5-0007CE-1D for emacs-devel@gnu.org; Thu, 22 Feb 2007 16:52:01 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HKLr4-0007CB-Qo for emacs-devel@gnu.org; Thu, 22 Feb 2007 16:51:58 -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 1HKLr4-0008Sh-8R for emacs-devel@gnu.org; Thu, 22 Feb 2007 16:51:58 -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 9E61127605E; Thu, 22 Feb 2007 22:51:56 +0100 (CET) Original-Received: from mail-in-01.arcor-online.net (mail-in-01.arcor-online.net [151.189.21.41]) by mail-in-12-z2.arcor-online.net (Postfix) with ESMTP id 8425627947D; Thu, 22 Feb 2007 22:51:56 +0100 (CET) Original-Received: from lola.goethe.zz (dslb-084-061-038-121.pools.arcor-ip.net [84.61.38.121]) by mail-in-01.arcor-online.net (Postfix) with ESMTP id 467A2106AAC; Thu, 22 Feb 2007 22:51:56 +0100 (CET) Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 014501D171CB; Thu, 22 Feb 2007 22:51:54 +0100 (CET) In-Reply-To: <873b4x99ac.fsf@wigwam.brockman.se> (Daniel Brockman's message of "Thu\, 22 Feb 2007 22\:23\:07 +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:66647 Archived-At: Daniel Brockman writes: > David Kastrup writes: > >> 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. > > I can't get zero-length overlays to display anything using > the `display' property. Here's what I'm doing: > > (overlay-put (make-overlay (point) (point)) 'display "foo") Hm. Weird. It works using before-string and after-string, though. Looking at preview-latex, it actually moves stuff from 'display to 'before-string in the zero-length case. This can probably can well be considered a bug, but it is a bug that has been around for eternities, so we are not going to win much applause trying to fix it before the release. Afterwards, however, should be a good time to tackle this inconsistency along with the others. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum