From rgm@gnu.org Wed Aug 27 13:27:26 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-13.3 required=4.0 tests=AWL,BAYES_00,HAS_PACKAGE, RCVD_IN_DNSWL_MED,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at quiet) by emacsbugs.donarmstrong.com; 27 Aug 2008 20:27:26 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7RKRMW4013182 for ; Wed, 27 Aug 2008 13:27:24 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KYRaT-0007iH-3O; Wed, 27 Aug 2008 16:25:53 -0400 From: Glenn Morris To: quiet Subject: before-string property has no effect if display property is empty X-Spook: George W. Bush AK-47 CBNRC industrial intelligence quiche X-Ran: v@k`|.P|0RxgG7W8".,rtWM~/_%"6oZ<_H9t=R"F&9NUSQMh8xM];SbM~q!2laQH\90r(f X-Hue: black X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 27 Aug 2008 16:25:53 -0400 Message-ID: <9nfxoqfbn2.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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. From rgm@gnu.org Wed Aug 27 13:52:12 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-8.9 required=4.0 tests=AWL,BAYES_00,GMAIL, MISSING_SUBJECT,NOSUBJECT,RCVD_IN_DNSWL_MED,VALID_BTS_CONTROL, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 27 Aug 2008 20:52:12 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7RKq9ws021433 for ; Wed, 27 Aug 2008 13:52:10 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KYRyR-0001Ph-He; Wed, 27 Aug 2008 16:50:39 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18613.48671.404541.104061@fencepost.gnu.org> Date: Wed, 27 Aug 2008 16:50:39 -0400 From: Glenn Morris To: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: red X-Ran: '-y+i0@K"QT)iIm'mK6t&X+M5XM'vh/Z%cZ:^'uuQs07LlpVM/sh<`t/v.6,r)`KO9y X-Debbugs-No-Ack: yes submitter 800 Dan Nicolaescu submitter 801 Richard Stallman submitter 802 Joe Wells submitter 803 Mark A. Hershberger submitter 804 Leo submitter 805 filerz-emacs submitter 806 Drew Adams submitter 807 djh submitter 808 Nick Roberts From cyd@stupidchicken.com Fri Jun 26 21:25:21 2009 Received: (at 802-done) by emacsbugs.donarmstrong.com; 27 Jun 2009 04:25:22 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pantheon-po31.its.yale.edu (pantheon-po31.its.yale.edu [130.132.50.82]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5R4PGUB012532 for <802-done@emacsbugs.donarmstrong.com>; Fri, 26 Jun 2009 21:25:18 -0700 Received: from furry (WHITAKER-TWO-FOURTEEN.MIT.EDU [18.56.5.214]) (authenticated bits=0) by pantheon-po31.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n5R4PBfO022550 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <802-done@emacsbugs.donarmstrong.com>; Sat, 27 Jun 2009 00:25:11 -0400 Received: by furry (Postfix, from userid 1000) id 6025DC09B; Sat, 27 Jun 2009 00:25:08 -0400 (EDT) From: Chong Yidong To: 802-done@debbugs.gnu.org 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) > 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). From unknown Sat Aug 16 10:44:32 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Fri, 07 Aug 2009 14:24:10 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator