bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#802: marked as done (before-string property has no effect if display


From: Emacs bug Tracking System
Subject: bug#802: marked as done (before-string property has no effect if display property is empty)
Date: Sat, 27 Jun 2009 04:30:04 +0000

Your message dated Sat, 27 Jun 2009 00:25:08 -0400
with message-id <address@hidden>
and subject line Re: before-string property has no effect if display property 
is empty
has caused the Emacs bug report #802,
regarding before-string property has no effect if display property is empty
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact address@hidden
immediately.)


-- 
802: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=802
Emacs Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: before-string property has no effect if display property is empty Date: Wed, 27 Aug 2008 16:25:53 -0400 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
Package: emacs
Version: 22.1
Severity: minor

(Filing a report for an old item from FOR-RELEASE.)

http://lists.gnu.org/archive/html/bug-gnu-emacs/2007-09/msg00094.html
http://lists.gnu.org/archive/html/emacs-devel/2007-09/msg01816.html

Summary:
    
    The documentation leads me to believe that the before-string and
    display properties of an overlay should be orthogonal.  However, the
    before-string is not displayed if the display property is the empty
    string.
    
    Reproduce by evaluating this code:
    
      (let ((buf (get-buffer-create "foo")))
        (with-current-buffer buf
          (display-buffer buf)
          (erase-buffer)
          (dolist (o (overlays-in (point-min) (point-max)))
            (delete-overlay o))
          (insert "ABC")
          (let ((o (make-overlay 2 3))
                (s (make-string 3 ?X)))
            (overlay-put o 'display "")
            (overlay-put o 'before-string s))))
    
    You will see the 'foo' window pop up and in the window you will see
    'AC'.  I expected that instead 'AXXXC' would be shown.



--- End Message ---
--- Begin Message --- Subject: Re: before-string property has no effect if display property is empty Date: Sat, 27 Jun 2009 00:25:08 -0400
> The documentation leads me to believe that the before-string and
> display properties of an overlay should be orthogonal.  However, the
> before-string is not displayed if the display property is the empty
> string.

>   (let ((buf (get-buffer-create "foo")))
>     (with-current-buffer buf
>       (display-buffer buf)
>       (erase-buffer)
>       (dolist (o (overlays-in (point-min) (point-max)))
>         (delete-overlay o))
>       (insert "ABC")
>       (let ((o (make-overlay 2 3))
>             (s (make-string 3 ?X)))
>         (overlay-put o 'display "")
>         (overlay-put o 'before-string s))))

> You will see the 'foo' window pop up and in the window you will see
> 'AC'.  I expected that instead 'AXXXC' would be shown.

This bug is already fixed in current CVS (and in the Emacs 23.1 branch).

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]