all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#802: marked as done (before-string property has no effect if display property is empty)
       [not found] ` <9nfxoqfbn2.fsf@fencepost.gnu.org>
@ 2009-06-27  4:30   ` Emacs bug Tracking System
  0 siblings, 0 replies; only message in thread
From: Emacs bug Tracking System @ 2009-06-27  4:30 UTC (permalink / raw)
  To: Chong Yidong

[-- Attachment #1: Type: text/plain, Size: 919 bytes --]


Your message dated Sat, 27 Jun 2009 00:25:08 -0400
with message-id <87d48qb8wr.fsf@stupidchicken.com>
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 owner@emacsbugs.donarmstrong.com
immediately.)


-- 
802: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=802
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 2379 bytes --]

From: Glenn Morris <rgm@gnu.org>
To: quiet <quiet@emacsbugs.donarmstrong.com>
Subject: before-string property has no effect if display property is empty
Date: Wed, 27 Aug 2008 16:25:53 -0400
Message-ID: <9nfxoqfbn2.fsf@fencepost.gnu.org>

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.



[-- Attachment #3: Type: message/rfc822, Size: 2261 bytes --]

From: Chong Yidong <cyd@stupidchicken.com>
To: 802-done@emacsbugs.donarmstrong.com
Subject: Re: before-string property has no effect if display property is empty
Date: Sat, 27 Jun 2009 00:25:08 -0400
Message-ID: <87d48qb8wr.fsf@stupidchicken.com>

> 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).

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-06-27  4:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <87d48qb8wr.fsf@stupidchicken.com>
     [not found] ` <9nfxoqfbn2.fsf@fencepost.gnu.org>
2009-06-27  4:30   ` bug#802: marked as done (before-string property has no effect if display property is empty) Emacs bug Tracking System

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.