unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#1201: Another overlay display bug
@ 2008-10-19  5:00 Richard Stallman
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Stallman @ 2008-10-19  5:00 UTC (permalink / raw)
  To: emacs-pretest-bug

Here's another bug that was reported a year ago
which I think should not be forgotten.

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

Would someone please fix this, then ack?

To: bug-gnu-emacs@gnu.org
From: Joe Wells <jbw@macs.hw.ac.uk>
Date: Sat, 20 Oct 2007 06:43:43 +0100
In-Reply-To: <86k5pi9wrg.fsf@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@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







^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#1201: Another overlay display bug
@ 2008-10-24  1:28 Chong Yidong
  0 siblings, 0 replies; 3+ messages in thread
From: Chong Yidong @ 2008-10-24  1:28 UTC (permalink / raw)
  To: 1201

Note: this is discussed at

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






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#1201: Another overlay display bug
@ 2008-10-24  3:25 Chong Yidong
  0 siblings, 0 replies; 3+ messages in thread
From: Chong Yidong @ 2008-10-24  3:25 UTC (permalink / raw)
  To: 1201

> 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






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-10-24  3:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-24  3:25 bug#1201: Another overlay display bug Chong Yidong
  -- strict thread matches above, loose matches on Subject: below --
2008-10-24  1:28 Chong Yidong
2008-10-19  5:00 Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).