GNU bug report logs - #1201
Another overlay display bug

Previous Next

Package: emacs;

Reported by: rms <at> gnu.org

Date: Sun, 19 Oct 2008 05:10:06 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1201 in the body.
You can then email your comments to 1201 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1201; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to rms <at> gnu.org:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Richard Stallman <rms <at> gnu.org>
To: emacs-pretest-bug <at> gnu.org
Subject: Another overlay display bug
Date: Sun, 19 Oct 2008 01:00:55 -0400
Here's another bug that was reported a year ago
which I think should not be forgotten.

From: Richard Stallman <rms <at> gnu.org>
Content-Type: text/plain; charset=ISO-8859-15
To: emacs-devel <at> gnu.org
Subject: Another overlay display bug
Reply-To: rms <at> gnu.org
Message-Id: <E1IjVDM-0001BJ-AH <at> fencepost.gnu.org>
Date: Mon, 10 Dec 2007 10:19:14 -0500

Would someone please fix this, then ack?

To: bug-gnu-emacs <at> gnu.org
From: Joe Wells <jbw <at> macs.hw.ac.uk>
Date: Sat, 20 Oct 2007 06:43:43 +0100
In-Reply-To: <86k5pi9wrg.fsf <at> macs.hw.ac.uk> (Joe Wells's message of "Sat\,
	20 Oct 2007 06\:32\:19 +0100")
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Subject: Re: two display bugs involving interactions between after-string
	and display properties of adjacent overlays

Joe Wells <jbw <at> macs.hw.ac.uk> writes:

> Here are two more display bugs I found while trying to improve the
> code in tex-fold.el in AUCTeX.

Here is a third such bug.

> These bugs involve interactions between after-string and display
> properties of adjacent overlays.

Ditto.

> I'm assuming this macro in my reproduction code below:
>
>   (defmacro test-in-fresh-buffer-and-window (&rest body)
>     `(progn
>        (delete-other-windows)
>        (kill-buffer (get-buffer-create "xyzzy"))
>        (let ((xyzzy-buf (get-buffer-create "xyzzy")))
>          (set-buffer xyzzy-buf)
>          (display-buffer xyzzy-buf)
>          ,@body
>          )))

Ditto.

> BUG #1:  ...

> BUG #2:  ...

BUG #3:  An overlay's after-string property is not displayed if an
immediately following overlay has the empty string as its display
property.

Reproduce with this expression:

  (test-in-fresh-buffer-and-window
   (insert "ABCD")
   (let ((o1 (make-overlay 2 3))
         (o2 (make-overlay 3 4)))
     (overlay-put o1 'after-string "1")
     (overlay-put o2 'display "")))

The above expression should display ?AB1D?.
The above expression wrongly actually displays ?ABD?.

> ======================================================================
> In GNU Emacs 22.1.1 (i686-pc-linux-gnu, GTK+ Version 2.8.20) ...

Same details as in last message.

I hope this bug report is helpful.

-- 
Joe





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1201; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #10 received at 1201 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: 1201 <at> debbugs.gnu.org
Subject: Re: Another overlay display bug
Date: Thu, 23 Oct 2008 21:28:53 -0400
Note: this is discussed at

http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg02997.html




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1201; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #15 received at 1201 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: 1201 <at> debbugs.gnu.org
Subject: Re: Another overlay display bug
Date: Thu, 23 Oct 2008 23:25:16 -0400
> Note: this is discussed at
>
> http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg02997.html

The original bug that led to the problematic checkin is here:

http://lists.gnu.org/archive/html/emacs-devel/2005-05/msg00580.html




Reply sent to Chong Yidong <cyd <at> stupidchicken.com>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to rms <at> gnu.org:
bug acknowledged by developer. Full text and rfc822 format available.

Message #20 received at 1201-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: 1201-done <at> debbugs.gnu.org
Subject: Re: Another overlay display bug
Date: Fri, 24 Oct 2008 15:01:08 -0400
I've checked in a fix.




bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Sat, 22 Nov 2008 15:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 271 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.